[kbd] loadkey's unicode option (-u) not working correctly since commit bad17ea03
Michal Soltys
soltys at ziu.info
Thu Jun 16 21:35:51 MSK 2016
Hi,
There seems to be an issue since the following commit:
2)
http://git.kernel.org/cgit/linux/kernel/git/legion/kbd.git/commit/?id=bad17ea033bf571e03b05e1330e81e6238fd61f0
(the commit directly preceeding this one doesn't compile)
which causes invocations such as 'loadkeys -u' or 'dumpkeys | loadkeys
-u' to not work correctly in utf8 mode (after for example unicode_start).
The last working (and able to compile easily) commit where loadkeys
works fine is
http://git.kernel.org/cgit/linux/kernel/git/legion/kbd.git/commit/?id=8d37c0e76fdb487845da74bdf0bbce13eebf7596
For example consider:
export LANG=en_US.utf8
unicode_start LatArCyrHeb-16
loadkeys -u pl
This will produce correct output (e.g. alt+l) on builds up to commit
bad17ea03.
Afterwards it will behave as if the keymap wasn't translated to unicode
and followed charset specification from the keymap file itself. This (in
this particular case) requries - to behave correctly:
setfont -m 8859-2 LatArCyrHeb-16
Despite full utf8/unicode mode.
PS.
I earlier sent similar message w/o subscribing to the mailing list, so
just disregard it.
More information about the kbd
mailing list