On Wed, Jun 06, 2018 at 12:20:50AM +0200, Alexander Hall wrote:
> This adds a "clear-screen" editing command to the emacs editing mode.
> This is the same name as bash and zsh uses, and then I stopped looking.
> 
> The default binding of 'redraw' remains for ^L, for now anyway, so
> you'll need to run
>   $ bind ^L=clear-screen"
> when testing.
> 
> $CLEARSTR can be set to an arbitrary character sequence for clearing the 
> screen, should ^[[H^[[J not fit the bill. For example,
>   $ CLEARSTR=$(clear) 

I don't see the point of the environment variable, for a string
standard since 1974 or 1979, I don't remember. Or is this to make the
command do something else?

Reply via email to