Re: How to clear the screen correctly in ksh

2019-07-04 Thread Максим
Hello, Thanks for the hint, it really works out of the box on 6.5 I did not notice it because I use vi mode in ksh which does not seem to know about this key combination. In man ksh there is no option for the vi mode. --  Maksim Rodin 04.07.2019, 12:59, "Stuart Henderson" : > On 2019-07-04, Макс

Re: How to clear the screen correctly in ksh

2019-07-04 Thread Alexis
Joseph Mayer writes: As far as I am aware, since about 6 months ksh clears the screen on ctrl+L by default, no bind is needed anymore? You're right; it's specifically stated in the Changelog for 6.5: https://www.openbsd.org/plus65.html which apparently i didn't read closely enough. :-/

Re: How to clear the screen correctly in ksh

2019-07-04 Thread Stuart Henderson
On 2019-07-04, Максим wrote: > Hello > In bash I can press Ctrl-l to clear the screen. > In ksh this key combination does not work. I can clear the screen only > using the command "clear". > > How can I do this using hotkeys in ksh? > And how to do this when in vi mode? > > I tried a workaround by

Re: How to clear the screen correctly in ksh

2019-07-04 Thread Joseph Mayer
‐‐‐ Original Message ‐‐‐ On Thursday, 4 July 2019 16:39, Alexis wrote: > Максим a23s4a2...@yandex.ru writes: > > In bash I can press Ctrl-l to clear the screen. > > In ksh this key combination does not work. I can clear the > > screen only > > using the command "clear". > > How can I do

Re: How to clear the screen correctly in ksh

2019-07-04 Thread Alexis
Максим writes: In bash I can press Ctrl-l to clear the screen. In ksh this key combination does not work. I can clear the screen only using the command "clear". How can I do this using hotkeys in ksh? i have this in my .kshrc: bind -m '^L=^Uclear^J^Y' Alexis.

How to clear the screen correctly in ksh

2019-07-04 Thread Максим
Hello In bash I can press Ctrl-l to clear the screen. In ksh this key combination does not work. I can clear the screen only using the command "clear". How can I do this using hotkeys in ksh? And how to do this when in vi mode? I tried a workaround by assigning the key combination to Ctrl-l to cw