Hello,
I have a small annoying problem with gnome-terminal (and others btw)
under sxce b94
I want to map HOME, END and DELETE keys to do what I want, ie like ^a,
^e, and delete current char.
I managed to get what I wanted with the delete key adding a line in my
.bashrc that says :
bind '"\e[3~":delete-char'
But HOME and END key (supposed to work with) :
bind '"\e[1~":beginning-of-line'
bind '"\e[4~":end-of-line'
Furthermore, trying to catch the keycodes with read fails, it's like the
key would not even send anything ? (it gives the expected result with
DELETE though)
And, no, it's not my keyboard, the keys work correctly in some other
apps, let's say firefox for example or gedit !
Any clue would be appreciated, I'm tired of googling for this !
Otherwise I guess I will have to use ^a and ^e agin, but it seems wrong
that HOME and END keys should be useless in term...
TIA
Bruno
_______________________________________________
opensolaris-discuss mailing list
[email protected]