GNU emacs key remapping

Brad Miller hewey!bnm at rosalyn.dms.cdc.COM
Thu Aug 9 02:33:07 AEST 1990


I am trying to figure out how to remap the arrow keys so that I
can use them with GNU emacs in a wsh window.  The problem seems
to be that the sequence for up arrow is \e[A however when I try
to use  (define-key global-map "\e[A" 'previous-line) all I get
is Key sequence ^[[A uses invalid prefix characters.  This seems
like it should work, and the arrow keys do work on the version
compiled with the X flags on, but I need to get this so it will
work in a wsh window.  Any help is greatly appreciated.

Please reply to bmiller at shamash.cdc.com  thanks.

-- 
|------------------------------------------------------------|
| Brad Miller                       bmiller at shamash.cdc.com  |
| Advanced Systems Group            phone: (612) 553-4473    |
| Empros Systems International      fax:   (612) 553-4018    |
| 2300 Berkshire Lane N.                                     |
| Plymouth, MN  55441                                        |
| A Division of Control Data Corporation                     |
|------------------------------------------------------------|



More information about the Comp.sys.sgi mailing list