GNU bug report logs -
#16645
24.3; in xterm, keypad = is translated to M-o x
Previous Next
Reported by: Vincent Lefevre <vincent <at> vinc17.net>
Date: Tue, 4 Feb 2014 23:59:01 UTC
Severity: normal
Tags: moreinfo
Found in version 24.3
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 16645 <at> debbugs.gnu.org (full text, mbox):
On 2014-02-05 00:58:14 +0100, Vincent Lefevre wrote:
> With "emacs -Q -nw" in xterm, the keypad = key (keysym 0xffbd, KP_Equal)
> is translated to M-o x instead of the = character.
According to "tack", the keypad "=" gives:
^[OX Unknown
instead of
= Unknown
Then, I don't know yet whether this is intentional or this is a bug
in xterm. And why the different case for "o" and "x" (uppercase in
tack, lowercase in Emacs)?
In any case, I can see nothing about kp-equal in the xterm.el file.
About the keypad, just:
(define-key map "\eOj" [kp-multiply])
(define-key map "\eOk" [kp-add])
(define-key map "\eOl" [kp-separator])
(define-key map "\eOm" [kp-subtract])
(define-key map "\eOo" [kp-divide])
(define-key map "\eOp" [kp-0])
(define-key map "\eOq" [kp-1])
(define-key map "\eOr" [kp-2])
(define-key map "\eOs" [kp-3])
(define-key map "\eOt" [kp-4])
(define-key map "\eOu" [kp-5])
(define-key map "\eOv" [kp-6])
(define-key map "\eOw" [kp-7])
(define-key map "\eOx" [kp-8])
(define-key map "\eOy" [kp-9])
--
Vincent Lefèvre <vincent <at> vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
This bug report was last modified 3 years and 336 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.