Re: [man ksh] missing keystroke for delete-char-forward

2015-03-25 Thread Jérémie Courrèges-Anglas
A diff has been committed (-current) to bind Delete (ESC[3~) to
delete-char-forward.

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE



Re: [man ksh] missing keystroke for delete-char-forward

2015-03-24 Thread Jason McIntyre
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



Re: [man ksh] missing keystroke for delete-char-forward

2015-03-24 Thread Antonio Feitosa
Look my dotfiles at https://github.com/teebsd/dotfiles

Check the .kshrc_keys file.

2015-03-24 18:26 GMT-03:00 Jason McIntyre j...@kerhand.co.uk:
 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




-- 
Antonio Feitosa (http://twitter.com/teebsd)
#DevOps believer in Prototype Driven Development, #Security
Consultant, #OpenBSD addicted, #ARM hobbyst and #Blues #Musician. #P2P
is the real #cloudcomputing.
Rio de Janeiro, Brazil ·
Github: https://github.com/TeeBSD
Blog: http://teebsd.github.io/



[man ksh] missing keystroke for delete-char-forward

2015-03-24 Thread damien

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 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