Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!ucsd!ucbvax!rosalyn.dms.cdc.COM!hewey!bnm From: hewey!bnm@rosalyn.dms.cdc.COM (Brad Miller) Newsgroups: comp.sys.sgi Subject: GNU emacs key remapping Message-ID: <9008081633.AA05589@rosalyn> Date: 8 Aug 90 16:33:07 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 20 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@shamash.cdc.com thanks. -- |------------------------------------------------------------| | Brad Miller bmiller@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 | |------------------------------------------------------------|