alex@Elm.XAIT.Xerox.COM (Alexis Layton) (04/05/91)
Forgive this query if it is frequently asked, or even recently asked. I've only gotten into the habit of reading comp.emacs recently. When running GNU Emacs (18.57 at present) under X11, the file /usr/local/emacs/lisp/term/x-win.el[c] is loaded at startup. However, this does not really interact with the generic keyboard binding keymap provided by the 'keypad package. What is the preferred way to get keyboard-specific function-key bindings? Currently when you hit a funtion key you get backward-paragraph followed by NNNz, indicating that the key is sending ^[[NNNz. (We're running X11R4 on a variety of Sun platforms.) What I want is a way to tell Emacs that users are running under X11 on a particular type of keyboard. I want to be able to build the equivalent of the term/vt100.el file for the sun4 keyboard, for example. This mapping would indirect through the 'keypad package and bind with individual users function key bindings, which have already been established for non-X environments. (P.S. I'm not entirely sanguine about the fact that one-character binding codes are used in the keypad package -- for one thing the set is rather small; as some keyboards have shifted & other modified function keys. I'd rather have standardized legend symbols (e.g. 'key-up-arrow), but it's implemented as a keymap now, so what can you do?) Any thoughts? Alexis Layton alex@XAIT.Xerox.COM