Joahnn Gile a écrit :
Hello,
I'm trying to bind ctrl+cursor left/right to Esc+b/f to jump one word forward
and backwards with the keybind function from
www.kornshell.com/examples/keybind, but unfortunately I can't get it to work.
The terminal is an xterm and the escape sequence for ctrl+cursor right is ^[[0;5C so I tried "keybind
$'\E[0;5C' '\Ef'" but that just prints ";5C" as before. If I just bind cursor right to Esc+f
with "keybind $'\E[C' $'\Ef'" it works.
How can I get this to work?
you may try to extend the following code to handle more prefix (^[[0;) :
(google cyrille lefevre emacs completion ksh93)
http://groups.google.com/group/fr.comp.os.unix/msg/b64235c3f662d20a
Regards,
Cyrille Lefevre
--
mailto:[email protected]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users