Path: utzoo!utgpu!watmath!uunet!mcsun!hp4nl!mhres!jv From: jv@mh.nl (Johan Vromans) Newsgroups: gnu.emacs Subject: Re: VT100 keypad codes on Gnu Emacs Message-ID: Date: 8 Oct 89 00:19:01 GMT References: <8910061359.AA13718@sn1987a.compass.com> Sender: jv@mhres.mh.nl Distribution: gnu Organization: Multihouse Gouda, the Netherlands Lines: 24 In-reply-to: compass!worley@EDDIE.MIT.EDU's message of 6 Oct 89 13:59:32 GMT In article <8910061359.AA13718@sn1987a.compass.com> compass!worley@EDDIE.MIT.EDU (Dale Worley) writes: So it seems that the software binding does work, but not the mapping of the keypad key `.' to the above escape sequence. Most likely, the VT100 is not being sent the escape sequence that turns on "alternate keypad mode", i.e., makes keypad keys send ESC , rather than digits, etc. I have found out that the Emacs X11 code handling the keyboard is a bit broken at some places. The numeric keypad is not supported, nor are most of the other VT2xx/VT3xx function keys. I have posted a patch to x11term.c some time ago, to have it handle the LK201 keyboard (all keys the send their VT300 control sequence). I'm not saying this is the only solution, but it works fine.I can send it if you like. Johan -- -- Johan Vromans jv@mh.nl via internet backbones Multihouse Automatisering bv uucp: ..!{uunet,hp4nl}!mh.nl!jv Doesburgweg 7, 2803 PL Gouda, The Netherlands phone/fax: +31 1820 62944/62500 ------------------------ "Arms are made for hugging" -------------------------