Quote:> I'm using NCR/AT&T MP/RAS on a 486-based PC, and I'm currently into my
> first customizing spree ;-) I'd really like to redefine the emacs/gmacs
> set of command-line editing keys, but I can't seem to find anything
> refering to this in the FM or the manpages. Is it at all possible, og did
> I just miss something?
These work to some extent on ksh with set -o emacs:
alias __A=`echo "\020"` # up arrow = ^p = back a command
alias __B=`echo "\016"` # down arrow = ^n = down a command
alias __C=`echo "\006"` # right arrow = ^f = forward a character
alias __D=`echo "\002"` # left arrow = ^b = back a character
alias __H=`echo "\001"` # home = ^a = start of line
alias __P=`echo "\004"` # delete = ^d = delete character forward
alias __Y=`echo "\005"` # end = ^e = end of line
I use these under aixterm, xterm and AT386 (virtual terminal of ISC).
The arrow keys all work but the others don't work in all cases.
Does anyone have a similar hack for vi mode?
--
Pete Forman
Western Geophysical