* [gentoo-user] Home/End Insert a ~ Instead of Moving Cursor
@ 2018-05-22 2:23 R0b0t1
2018-05-22 3:12 ` [gentoo-user] " Ian Zimmerman
2018-05-22 6:07 ` [gentoo-user] " Klaus Ethgen
0 siblings, 2 replies; 7+ messages in thread
From: R0b0t1 @ 2018-05-22 2:23 UTC (permalink / raw
To: gentoo-user
How do I fix this? I found
https://wiki.archlinux.org/index.php/Home_and_End_keys_not_working,
but the provided /etc/inputrc settings are on all systems. Connections
are made via ssh (network) and screen (serial). The issue seems to
only appear in nested sessions on the ssh connection and on the serial
connection.
The issue may be screen. If it is, what different thing do I do?
Cheers,
R0b0t1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: Home/End Insert a ~ Instead of Moving Cursor
2018-05-22 2:23 [gentoo-user] Home/End Insert a ~ Instead of Moving Cursor R0b0t1
@ 2018-05-22 3:12 ` Ian Zimmerman
2018-05-22 4:54 ` R0b0t1
2018-05-22 6:07 ` [gentoo-user] " Klaus Ethgen
1 sibling, 1 reply; 7+ messages in thread
From: Ian Zimmerman @ 2018-05-22 3:12 UTC (permalink / raw
To: gentoo-user
On 2018-05-21 21:23, R0b0t1 wrote:
> The issue may be screen. If it is, what different thing do I do?
tmux seems to be all the rage these days.
--
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Re: Home/End Insert a ~ Instead of Moving Cursor
2018-05-22 3:12 ` [gentoo-user] " Ian Zimmerman
@ 2018-05-22 4:54 ` R0b0t1
0 siblings, 0 replies; 7+ messages in thread
From: R0b0t1 @ 2018-05-22 4:54 UTC (permalink / raw
To: gentoo-user
On Mon, May 21, 2018 at 10:12 PM, Ian Zimmerman <itz@very.loosely.org> wrote:
> On 2018-05-21 21:23, R0b0t1 wrote:
>
>> The issue may be screen. If it is, what different thing do I do?
>
> tmux seems to be all the rage these days.
>
It does have vim bindings. That is nice. In any case, issue persists
with a bare ssh session to an Ubuntu host, but inputrc has the right
things in it.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Home/End Insert a ~ Instead of Moving Cursor
2018-05-22 2:23 [gentoo-user] Home/End Insert a ~ Instead of Moving Cursor R0b0t1
2018-05-22 3:12 ` [gentoo-user] " Ian Zimmerman
@ 2018-05-22 6:07 ` Klaus Ethgen
2018-05-22 6:53 ` Klaus Ethgen
1 sibling, 1 reply; 7+ messages in thread
From: Klaus Ethgen @ 2018-05-22 6:07 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi,
Am Di den 22. Mai 2018 um 3:23 schrieb R0b0t1:
> How do I fix this? I found
> https://wiki.archlinux.org/index.php/Home_and_End_keys_not_working,
As mentioned above in <20180520081757.GC23714@ikki.ethgen.ch> ff., that
is a generic issue with missing termcap mappings for 3 key sequences
(delete-char, beginning-of-line and end-of-line)
Regards
Klaus
- --
Klaus Ethgen http://www.ethgen.ch/
pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1
iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlsDs7IACgkQpnwKsYAZ
9qxNzAv/VKDxda3dijk+beHrWOBTdenyskUyy7TojOWEiYlNVLhdEGO84cC3j5rs
47QVqCqRCAb5ual/78HX2GeLFS5NrI4kqC0Lgtts/7anY3KK28PEOIYfMTmf7ubp
3zPiBrBf6xwPfWfYkPpgOFx0QF3YilDjSmnyKihOb6VDllCE9pof0vICZY2vR4qG
ZZDQZ/jg7M4T81MkvRNvmYSPyDNKqQXuDbpelbAx17yDAyroh7WpjYsmTdWr8Goe
JJ/XnkACUP7q3P45bBvlBPinryYQKGg0Fk8P0OM5KUKpyFcq09NDIalSzSOV1qHf
rAGAUUqI8L2+kcZivDdnIMwVBlfVIz8sr+r2s/9lJPml9GKqIGBUqPW5yG3OWAlb
ZdyL/libbsVC/0dA7wJqQvoQaWZHcaVslSuzeVBvC3o0ihYyxkMq3yvmlwn28XKs
mVaVJ39Go15dByVmcycvH/WipyBzxJDvHvHss4PXKe7cjrCpQKqZKdBbsbmEseWg
LvfLqxCG
=mbWC
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Home/End Insert a ~ Instead of Moving Cursor
2018-05-22 6:07 ` [gentoo-user] " Klaus Ethgen
@ 2018-05-22 6:53 ` Klaus Ethgen
2018-05-22 7:07 ` Klaus Ethgen
0 siblings, 1 reply; 7+ messages in thread
From: Klaus Ethgen @ 2018-05-22 6:53 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
That hint pointed me to what seems to be the issue.
It seems for me that neither /etc/inputrc nor ~/.inputrc are used on
gentoo.
Gentoo already has the relevant mappings in /etc/inputrc but it seems to
be not set. On debian (to have something to compare) the questionary
mappings are not set in /etc/inputrc but are set and working.
And I double checked:
key[Delete]='^[[3~'
key[End]='^[[F'
key[Home]='^[[H'
and in inputrc:
$if mode=emacs
...
"\e[H": beginning-of-line
"\e[F": end-of-line
$endif
So, finding out why the inputrc's are not read should fix the problem.
Regards
Klaus
- --
Klaus Ethgen http://www.ethgen.ch/
pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1
iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlsDvmAACgkQpnwKsYAZ
9qw3gwv7BRcfsZ8r4IfzJKy0IMs2exWq4O8X0PflWnGgMtJ1+/O6d9NbmSgKlO+Q
BnKjQpdGz+wc2Wi4c+7DiVPcuWbRAPkhlBp9xpxc0ECqwwTZ38JxvKec+MyuoMjf
UVnTNqelKCg93lZu9Txnt3SrDOZDOLpl/scT5f0lgSXec+aHekQC08lJV+THz2lB
He+Rb6+9knVfL71PNgvKWNk2XTGXjFNG+I4EvZeFskc5cBF07GbAMTSo9w3JWP1c
vyF87QfmV4b1WbK33PDNM3H5XAR2hjuiy6r4OAhdMiNGO3ZiaAppvGwI0pEkyWI6
UNEh2NsvNYXsqZeUZN8GQcu08HdeYqcoGVsec6U7z0MsRQaaqtsQC1zyPSUYfVO0
cRQcL099Z0Gv1b5LGHzVn1x7po5OplwsyfzXtPTJcGHo7dnDM2889ko1JHM0/UX3
06K736vxLbnaWve5aA31JvTA50/+c4QE1qoS/FDD7cdHMxj+YdOMTiLNl3QRBJll
rHUJNf14
=0oNe
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Home/End Insert a ~ Instead of Moving Cursor
2018-05-22 6:53 ` Klaus Ethgen
@ 2018-05-22 7:07 ` Klaus Ethgen
2018-05-22 14:41 ` [gentoo-user] " Ian Zimmerman
0 siblings, 1 reply; 7+ messages in thread
From: Klaus Ethgen @ 2018-05-22 7:07 UTC (permalink / raw
To: gentoo-user
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Disregard (partly) my mail before.
in bash, the questionable keys work. It is only zsh where it does not
work.
After some digging, I found that zsh is not linked against readline.
Even more it wonders me why it work on other platforms.
On debian not even bash is linked against readline.
I am confused as before. :-(
Regards
Klaus
- --
Klaus Ethgen http://www.ethgen.ch/
pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1
iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlsDwZEACgkQpnwKsYAZ
9qwuIgwAjj+tr5HreWXU2oO+vcGKl2Elf6htb2Gh5GpTgKEpFf2Yzq/TfmQpowMq
ICpBanD3wgSaEdBia4Pf7+hP+D4LrNHd675TJc73cFik4YIzPEQik65Kcc7eN+o/
RqYV5XhiJq3FtBylfk81gsZQOuCubj6JCNcks+C1S013jsX361s8j5mMOpQyaJ7r
QZyGUN2tSlvsBN8HXSh2xBPlWSQazyeTbflWaGLAhFuWZoReec8yasNeI9gEQFil
747amnJGhI0Hg6pAGZf82q5ce3hHDQvkq9FcQyRom1vIiucJiyHS34rqT/tqXQVk
jBF9MfoZMADja+7iUZiOawbUONBJBGSTS/3P7h2tvaKgy42ZZwPPkLklCgBzZfhR
QLMah5Hx527cQJx9lhoDc2BiuTXwoY0G1k07QJNB5pPQyT/VBB7cQIRLc3LGaOCn
ok0aUKNO1UfvZIn+ebSYhmMttpzEb1uVUflNwEEZv8s7V3LfHpZlBlhTOtVn4e27
g7j3Yzg7
=Cep0
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* [gentoo-user] Re: Home/End Insert a ~ Instead of Moving Cursor
2018-05-22 7:07 ` Klaus Ethgen
@ 2018-05-22 14:41 ` Ian Zimmerman
0 siblings, 0 replies; 7+ messages in thread
From: Ian Zimmerman @ 2018-05-22 14:41 UTC (permalink / raw
To: gentoo-user
On 2018-05-22 08:07, Klaus Ethgen wrote:
> On debian not even bash is linked against readline.
It probably bundles its own copy. Which of course makes things harder
to debug - but hey, it's easier for the developers :P
There was a time when this was one of the things debian was religious
about - no library bundling, period. Now, I would not be so surprised.
To be fair, it is almost impossible to ship Firefox safely and link it
against system libraries.
Brave new world of browserized computing :-(
--
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet and on broken lists
which rewrite From, fetch the TXT record for no-use.mooo.com.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-05-22 14:41 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-22 2:23 [gentoo-user] Home/End Insert a ~ Instead of Moving Cursor R0b0t1
2018-05-22 3:12 ` [gentoo-user] " Ian Zimmerman
2018-05-22 4:54 ` R0b0t1
2018-05-22 6:07 ` [gentoo-user] " Klaus Ethgen
2018-05-22 6:53 ` Klaus Ethgen
2018-05-22 7:07 ` Klaus Ethgen
2018-05-22 14:41 ` [gentoo-user] " Ian Zimmerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox