Gentoo Archives: gentoo-user

From: Klaus Ethgen <Klaus+gentoo@××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Home/End Insert a ~ Instead of Moving Cursor
Date: Tue, 22 May 2018 06:53:39
Message-Id: 20180522065327.GE21256@ikki.ethgen.ch
In Reply to: Re: [gentoo-user] Home/End Insert a ~ Instead of Moving Cursor by Klaus Ethgen
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA512
3
4 That hint pointed me to what seems to be the issue.
5
6 It seems for me that neither /etc/inputrc nor ~/.inputrc are used on
7 gentoo.
8
9 Gentoo already has the relevant mappings in /etc/inputrc but it seems to
10 be not set. On debian (to have something to compare) the questionary
11 mappings are not set in /etc/inputrc but are set and working.
12
13 And I double checked:
14 key[Delete]='^[[3~'
15 key[End]='^[[F'
16 key[Home]='^[[H'
17
18 and in inputrc:
19 $if mode=emacs
20 ...
21 "\e[H": beginning-of-line
22 "\e[F": end-of-line
23 $endif
24
25 So, finding out why the inputrc's are not read should fix the problem.
26
27 Regards
28 Klaus
29 - --
30 Klaus Ethgen http://www.ethgen.ch/
31 pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus@××××××.ch>
32 Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
33 -----BEGIN PGP SIGNATURE-----
34 Comment: Charset: ISO-8859-1
35
36 iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlsDvmAACgkQpnwKsYAZ
37 9qw3gwv7BRcfsZ8r4IfzJKy0IMs2exWq4O8X0PflWnGgMtJ1+/O6d9NbmSgKlO+Q
38 BnKjQpdGz+wc2Wi4c+7DiVPcuWbRAPkhlBp9xpxc0ECqwwTZ38JxvKec+MyuoMjf
39 UVnTNqelKCg93lZu9Txnt3SrDOZDOLpl/scT5f0lgSXec+aHekQC08lJV+THz2lB
40 He+Rb6+9knVfL71PNgvKWNk2XTGXjFNG+I4EvZeFskc5cBF07GbAMTSo9w3JWP1c
41 vyF87QfmV4b1WbK33PDNM3H5XAR2hjuiy6r4OAhdMiNGO3ZiaAppvGwI0pEkyWI6
42 UNEh2NsvNYXsqZeUZN8GQcu08HdeYqcoGVsec6U7z0MsRQaaqtsQC1zyPSUYfVO0
43 cRQcL099Z0Gv1b5LGHzVn1x7po5OplwsyfzXtPTJcGHo7dnDM2889ko1JHM0/UX3
44 06K736vxLbnaWve5aA31JvTA50/+c4QE1qoS/FDD7cdHMxj+YdOMTiLNl3QRBJll
45 rHUJNf14
46 =0oNe
47 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-user] Home/End Insert a ~ Instead of Moving Cursor Klaus Ethgen <Klaus+gentoo@××××××.de>