On Tue, Mar 24, 2015 at 06:29:50PM +0100, dam...@thiriet.web4me.fr wrote:
> Hello,
> 
> 
> man ksh lacks keystroke for delete-char-forward.
> Here is a diff I made with current man page
> (the dirty way: copied man page from the web, since
> I am using -release)
> 
> --- man_ksh   Tue Mar 24 13:11:50 2015
> +++ man_ksh_corrige   Tue Mar 24 18:06:05 2015
> @@ -1916,7 +1916,7 @@
>     delete-char-backward: [n] ERASE, ^?, ^H
>            Deletes n characters before the cursor.
> 
> -   delete-char-forward: [n]
> +   delete-char-forward: [n] ^D
>            Deletes n characters after the cursor.
> 
>     delete-word-backward: [n] ERASE, ^[^?, ^[^H, ^[h
> 

i've asked around, since i didn;t understand this either. it seems that
delete-char-forward is not bound by default. ^D is bound to
eot-or-delete, which correctly describes the behaviour (eot on empty
line, otherwise behave like delete-char-forward).

jmc

> I hope this is the good way to proceed, this is my first diff ever.
> Please note that there may be other keystrokes than ^D I am not
> aware of (delete-char-backword is bound to three keystrokes).
> 
> 
> Damien Thiriet

Reply via email to