Re: Use of DEL, HOME, END keys on i386

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paolo Aglialoro
Date: Thursday, November 11, 2010 - 11:22 am

Actually I've been carefully through ksh man, and if I try to use prefix-2
more than once it just applies to the last entry, e.g.:

bind '^[[3'=prefix-2
bind '^[[3~'=delete-char-forward

and here Del works OK, but if I add:

bind '^[[7'=prefix-2
bind '^[[7~'=beginning-of-line

then Home works but Del does not anymore, and this does not even consider
End; as well, trying with:

bind '^[['=prefix-2
bind '^[[3~'=delete-char-forward
bind '^[[7~'=beginning-of-line
bind '^[[8~'=end-of-line

yields a flawlessly working Del, plus a working Home and End which, each
time pressed, add a nasty tilde at cursor.
All this testing was made in CLI only



On Thu, Nov 11, 2010 at 6:50 PM, Ted Unangst <ted.unangst@gmail.com> wrote:

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Use of DEL, HOME, END keys on i386, Paolo Aglialoro, (Mon Nov 8, 7:15 pm)
Re: Use of DEL, HOME, END keys on i386, Ted Unangst, (Mon Nov 8, 8:10 pm)
Re: Use of DEL, HOME, END keys on i386, Paolo Aglialoro, (Wed Nov 10, 5:29 pm)
Re: Use of DEL, HOME, END keys on i386, Ted Unangst, (Wed Nov 10, 8:10 pm)
Re: Use of DEL, HOME, END keys on i386, Paolo Aglialoro, (Thu Nov 11, 4:52 am)
Re: Use of DEL, HOME, END keys on i386, Ted Unangst, (Thu Nov 11, 10:50 am)
Re: Use of DEL, HOME, END keys on i386, Paolo Aglialoro, (Thu Nov 11, 11:22 am)
Re: Use of DEL, HOME, END keys on i386, Hugo Villeneuve, (Thu Nov 11, 4:15 pm)
Re: Use of DEL, HOME, END keys on i386, Paolo Aglialoro, (Fri Nov 12, 6:31 pm)