Linux console tools development discussion
 help / color / mirror / Atom feed
* [kbd] loadkey's unicode option (-u) not working correctly since commit bad17ea03
@ 2016-06-16 18:35 Michal Soltys
  0 siblings, 0 replies; only message in thread
From: Michal Soltys @ 2016-06-16 18:35 UTC (permalink / raw)
  To: kbd; +Cc: gladkov.alexey

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.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-06-16 18:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-16 18:35 [kbd] loadkey's unicode option (-u) not working correctly since commit bad17ea03 Michal Soltys

Linux console tools development discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/kbd/0 kbd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kbd kbd/ http://lore.altlinux.org/kbd \
		kbd@lists.altlinux.org kbd@lists.altlinux.ru kbd@lists.altlinux.com
	public-inbox-index kbd

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.kbd


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git