Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucsd!usc!bloom-beacon!eru!luth!sunic!mcsun!unido!gmdzi!wittig
From: wittig@gmdzi.UUCP (Georg Wittig)
Newsgroups: comp.windows.x
Subject: vt100 keypad codes on xemacs
Message-ID: <1304@gmdzi.UUCP>
Date: 3 Oct 89 11:30:29 GMT
Organization: GMD - German National Research Laboratory for Computer Science
Lines: 25


Gnu Emacs 18.53 and X11R3:

The keypad key `.' on a vt100 keyboard emits the escape sequence ``ESC O n''
(3 hex. characters). In the non-X11 emacs (`-nw' switch) this code is bound to
`delete-char'.

In xemacs however, this doesn't work. $TERMCAP is set to vt100. Even loading of
`term/vt100.el' and of `keypad.el' doesn't help.

Interestingly, typing `Cntl-Q' and then the keypad key `.' inserts a `.' into
the buffer. The function `delete-char' is executed if I enter the escape
sequence `ESC O n' (3 key strokes) "on foot".

So it seems that the software binding does work, but not the mapping of the
keypad key `.' to the above escape sequence.

What am I missing?

Thanks in advance,
-- 
Georg Wittig   GMD-Z1.BI   P.O. Box 1240   D-5205 St. Augustin 1 (West Germany)
email: wittig@gmdzi.uucp   phone: (+49 2241) 14-2294
-------------------------------------------------------------------------------
"Freedom's just another word for nothing left to lose" (Kris Kristofferson)