emacs -nw keypad
Andy Koppe
andy.koppe@gmail.com
Wed May 27 18:44:00 GMT 2009
> As I understand the emacs documentation, the setting TERM=xterm should cause
> emacs to load term/xterm.el. In that file I find lines like
>
> (define-key map "\eOq" [kp-1])
> (define-key map "\eOr" [kp-2])
>
> This looks like the place where emacs should learn to interpret the keypad
> keys.
xterm doesn't send those keycodes in its default configuration with
"PC-style Function Keys". Instead, with NumLock off, the numpad keys
send the same codes as the equivalent keys on the small cursor and
editing pads, so e.g. 1 (End) sends ^[OF.
See here for details:
http://invisible-island.net/xterm/ctlseqs/ctlseqs.html#PC-Style%20Function%20Keys
Andy
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list