[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Modified keypad keys
From: |
Juri Linkov |
Subject: |
Re: Modified keypad keys |
Date: |
Fri, 05 Oct 2012 19:43:03 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (x86_64-pc-linux-gnu) |
> From tgetstr(3):
>
> Only the first two characters of the id parameter of tgetflag, tgetnum
> and tgetstr are compared in lookups.
As I see in src/term.c, it uses two characters when calls `tgetstr',
but when I tried this patch:
=== modified file 'src/term.c'
--- src/term.c 2012-09-23 08:44:20 +0000
+++ src/term.c 2012-10-05 16:35:42 +0000
@@ -1275,6 +1275,8 @@ (at your option) any later version.
{"k8", "f8"},
{"k9", "f9"},
+ {"kF", "S-down"}, /*shifted down-arrow key*/
+ {"kR", "S-up"}, /*shifted up-arrow key*/
{"&0", "S-cancel"}, /*shifted cancel key*/
{"&9", "S-begin"}, /*shifted begin key*/
{"*0", "S-find"}, /*shifted find key*/
it doesn't seem to help. `S-up' still displays "<select> is undefined".