I'm new to KSH, have to use it at my job. Version is:
sh (AT&T Research) 93u+ 2012-08-01
on RHEL. I previously used tcsh and used its bindkey facility to give me some good command-line manipulation shortcuts. I found the code for a "keybind" function in KSH, and used that to make home, end, and delete work the way I want:
keybind $'\eOH' $'\001' keybind $'\eOF' $'\005' keybind $'\e[F' $'\005' keybind $'\e[3~' $'\004'
I'm actally not sure why I have two that correspond to "End" but I do. In any case, the tricky part is that I want ctrl+left/right arrow to skip a word, instead of using M-f or M-b. When I try to get the code for ctrl-left arrow, it shows:
but I can't seem to get this to work in the keybind command. It seems almost like a compound keystroke due to the semicolon. I also haven't seen this question asked before so any help would be appreciated.