Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Annoying mapping of some keys Damo Brisbane <dhatchett2@×××××.com>