On Tue, Apr 03, 2018 at 01:45:13PM -0400, Tinker wrote:
> Hi,
> 
> First, thank you very much for 6.3!
> 
> 
> I looked around for advise for how to make ctrl+L get bash's behavior
> of first clearing the screen and then redrawing the current command
> prompt including content that has been typed.
> 
> "bind -m '^L'=clear'^J'" is a partial solution to this problem as it
> will have that effect but only if the command line is empty.
> 
> If the command line is not empty then instead the text "clear" will be
> typed into it, and an enter key press will be emulated.
> 
> Is there any way to give ksh the clear+redraw behavior also when typing
> started, so same independent of whether typing started or not i.e. just
> like in bash?
Try this one: bind -m '^L'=^Uclear'^J^Y'

Reply via email to