* AltGr leaks keypresses to VT on which X is running
@ 2017-04-26 14:50 Michał Pecio
0 siblings, 0 replies; only message in thread
From: Michał Pecio @ 2017-04-26 14:50 UTC (permalink / raw)
To: linux-console
Hi,
I recently observed this odd behavior:
I login as root on tty3 and run
loadkeys pl # like US QWERTY but AltGr changes a->ą c->ć etc.
echo # only typed, not actually executed with ENTER
Now the last line shows the incomplete command:
$ echo
Then I login on tty1 and run
Xorg :0 vt3
which displays Xorg on vt3. Inside Xorg, while holding AltGr, I hit
every letter in order: qwerty...asdf...zxc..
Then I kill Xorg and switch to vt3. Now the last line shows:
$ echo ęąśłżźń
These are all AltGr-generated Polish letters _except_ ó (AltGr+o).
No idea what's so special about ó. Pressing ENTER runs echo which
really prints this string.
Similar thing happens with German ('de') console layout. X layout seems
irrelevant.
It only happens if I first hold AltGr and then press a letter, not the
other way around.
Inside Xorg, all keys are processed correctly.
I'm not sure if it's a kernel bug, X bug or something "expected"?
Thanks,
Michal
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-04-26 14:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-26 14:50 AltGr leaks keypresses to VT on which X is running Michał Pecio
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).