Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!think!husc6!bacchus!rlk From: rlk@athena.mit.edu (Robert L. Krawitz) Newsgroups: comp.emacs Subject: Re: GNU EMacs and X -- keypad Message-ID: <346@bacchus.MIT.EDU> Date: Tue, 17-Mar-87 13:57:16 EST Article-I.D.: bacchus.346 Posted: Tue Mar 17 13:57:16 1987 Date-Received: Thu, 19-Mar-87 00:40:15 EST Sender: daemon@bacchus.MIT.EDU Reply-To: rlk@athena.MIT.EDU Organization: MIT Project Athena Lines: 19 In article <1209@decuac.DEC.COM> avolio@decuac.DEC.COM (Frederick M. Avolio) writes: ] ]I am running verison 18.37 of GNU Emacs on a system with X. ]Everything works great with one exception. I would like GNU Emacs to ]understand the keypad when being run in a window. Now, I know that if ]I start GNU Emacs without having it use another window everything is ]fine (thinks it is a vt100 I guess?). But independant of "xterm" it ]does not accept input from the keypad. (Although if I type the escape ]sequences directly the functions bound to them work.) The reason that the keypad works in xterm(1) is because xterm specially maps it. The default mapping doesn't map these keys. To fix: you need to set up a .Xkeymap file with the right things. Once you have a .Xkeymap file (you can even copy the default keymap and run keycomp on it), you can use the functions x-rebind-key and x-rebind-keys to rebind specific keys. Robert^Z