[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modified keypad keys

From: Andreas Schwab
Subject: Re: Modified keypad keys
Date: Fri, 05 Oct 2012 01:26:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Juri Linkov <address@hidden> writes:

> But one key `S-up' fails and displays in the echo area:
>   <select> is undefined
> `C-q S-up' inserts to the buffer "^[[1;2A" and there exist
> a keybinding for this sequence in lisp/term/xterm.el:
>     (define-key map "\e[1;2A" [S-up])
> I don't understand why it has no effect.

ELISP> (lookup-key input-decode-map "\e[1;2A")

$ infocmp xterm | grep '1;2A'
        kpp=\E[5~, kri=\E[1;2A, kslt=\E[4~, mc0=\E[i, mc4=\E[4i,

I think that's a tgetstr bug, it returns the sequence for the S-up key
when looking for the kU capability (the termcap name for kri is actually


Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]