Gentoo Archives: gentoo-user

From: Damo Brisbane <dhatchett2@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Annoying mapping of some keys
Date: Mon, 21 May 2018 23:39:09
Message-Id: CAE5cDqMb09XXyEcHLJBNt3WccoKVW3Kz=ci=sXiTzVONzftAtw@mail.gmail.com
In Reply to: [gentoo-user] Annoying mapping of some keys by Klaus Ethgen
1 Under X, xmodmap <https://wiki.archlinux.org/index.php/Xmodmap> perhaps?
2
3 On Sun, May 20, 2018 at 6:17 PM, Klaus Ethgen <Klaus+gentoo@××××××.de>
4 wrote:
5
6 > -----BEGIN PGP SIGNED MESSAGE-----
7 > Hash: SHA512
8 >
9 > Hi,
10 >
11 > I have an annoying problem on gentoo that I work around currently by
12 > using zkbd from zsh.
13 >
14 > Some keys on Gentoo, on xterm, console and via ssh from remote host, map
15 > to wrong keycodes. Namely and most important, that are the keys for
16 > begin, end and delete. They insert a tilde char instead of doing the
17 > expected cursor movement.
18 >
19 > A correct table would show as following:
20 > key[F1]='^[OP'
21 > key[F2]='^[OQ'
22 > key[F3]='^[OR'
23 > key[F4]='^[OS'
24 > key[F5]='^[[15~'
25 > key[F6]='^[[17~'
26 > key[F7]='^[[18~'
27 > key[F8]='^[[19~'
28 > key[F9]='^[[20~'
29 > key[F10]='^[[21~'
30 > key[F11]='^[[23~'
31 > key[F12]='^[[24~'
32 > key[Backspace]='^?'
33 > key[Insert]='^[[2~'
34 > key[Home]='^[[H'
35 > key[PageUp]='^[[5~'
36 > key[Delete]='^[[3~'
37 > key[End]='^[[F'
38 > key[PageDown]='^[[6~'
39 > key[Up]='^[[A'
40 > key[Left]='^[[D'
41 > key[Down]='^[[B'
42 > key[Right]='^[[C'
43 > key[Menu]=''''
44 >
45 > Is there any way to fix that system wide in Gentoo?
46 >
47 > Regards
48 > Klaus
49 > - --
50 > Klaus Ethgen http://www.ethgen.ch/
51 > pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus@××××××.ch>
52 > Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
53 > -----BEGIN PGP SIGNATURE-----
54 > Comment: Charset: ISO-8859-1
55 >
56 > iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlsBLy8ACgkQpnwKsYAZ
57 > 9qx9QQwAw/8vCYNcjBJS4+Q6FcSAXg/Kx25DtcET7Q+GngwWJMafex0+ySD1p+za
58 > O5zUo1auePNuziFL6U6+f3m+/z/uHonIoUZ3Fqk1I/0xzD3QUmUDouzv/RwhD5N8
59 > W5+wivRFF+UJ2nMSa+NG1APEi3W63iXc5zPuwddyqT2UgYTmwG3fzse25qc6QtZM
60 > Heu31opWcCUMqBYYushL3yD18bYfUiav1boF0DYewOkpBTgQkzZl1WyDBvSd5pVz
61 > tPle+v2dj8IbqHgT2ALOuvCOiH0troqb6b/SmV7lNapVgMCYoDhSFnPkhJ2k000g
62 > ni+h8bQ5LNSq5eUI2hpafQoi5bQc3yzUCqz4IJ+2ZCNvjiHuL466XkXeel6BzKPV
63 > 6w19aWbG8vvhJYQFmx+6PrysSNj4lhIegWp6e9os3/2gg07+TlIjR98erlGe/Llq
64 > uHTNbIsQaUf53uA7pGRIKp/DKmdKpUk5+BO1q1jFjbHwvcIhkUs4asGJV7e026CY
65 > eGiiZbFL
66 > =U8fE
67 > -----END PGP SIGNATURE-----
68 >
69 >

Replies

Subject Author
Re: [gentoo-user] Annoying mapping of some keys Andrew Udvare <audvare@×××××.com>
[gentoo-user] Re: Annoying mapping of some keys Ian Zimmerman <itz@××××××××××××.org>
Re: [gentoo-user] Annoying mapping of some keys Klaus Ethgen <Klaus+gentoo@××××××.de>