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

2010-11-12 Thread Paolo Aglialoro
Thanks Hugo, looks like I've hit the ceiling... :))) So I'll just keep Del and go Crtl for the rest. Thanks anyway. Ciao Paolo On Fri, Nov 12, 2010 at 12:15 AM, Hugo Villeneuve harpa...@jwales.eintr.net wrote: On Thu, Nov 11, 2010 at 07:22:09PM +0100, Paolo Aglialoro wrote: Actually I've

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

2010-11-11 Thread Paolo Aglialoro
Your precious input suggested me an idea and I decided to check with the old xmodmap which kinda bindings I might have for those keys.I don't exactly know if xmodmap output might be valid for CLI as well, but here's what I got by running xmodmap - Home --- ^[OH End --- ^[OF Now I tried to bind

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

2010-11-11 Thread Ted Unangst
On Thu, Nov 11, 2010 at 6:52 AM, Paolo Aglialoro paol...@gmail.com wrote: The immediate try with bind '^[[7~'=beginning-of-line led to an effectively working Home, adding a tilde every keypress. So I decided to copy your way for Del and to define ^[[7 as a prefix with bind '^[[7'=prefix-1 as

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

2010-11-11 Thread Paolo Aglialoro
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

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

2010-11-11 Thread Hugo Villeneuve
On Thu, Nov 11, 2010 at 07:22:09PM +0100, Paolo Aglialoro wrote: 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:

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

2010-11-10 Thread Paolo Aglialoro
Hello Ted, thanks, first of all. Del key is now working marvellously :) (btw, is this hack valid cross platform?) Instead Home and End are still stuck... buy, maybe, this could be due to the fact that where I'm experimenting is a laptop (dell latitude L400) and I'm getting respectively Home with

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

2010-11-10 Thread Ted Unangst
On Wed, Nov 10, 2010 at 7:29 PM, Paolo Aglialoro paol...@gmail.com wrote: thanks, first of all. Del key is now working marvellously :) (btw, is this hack valid cross platform?) Instead Home and End are still stuck... buy, maybe, this could be due to the fact that where I'm experimenting is a

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

2010-11-08 Thread Ted Unangst
On Mon, Nov 8, 2010 at 9:15 PM, Paolo Aglialoro paol...@gmail.com wrote: It's been a long period I'd been wishing to use Del, Home and End keys of my keyboard on CLI instad of crtl-D, ctrl-A, ctrl-E. I got this problem only in the shell, as in appz (like nano for instance) everything works