Linux console tools development discussion
 help / color / mirror / Atom feed
From: Michal Soltys <soltys@ziu.info>
To: kbd@lists.altlinux.org
Cc: gladkov.alexey@gmail.com
Subject: [kbd] loadkey's unicode option (-u) not working correctly since commit bad17ea03
Date: Thu, 16 Jun 2016 20:35:51 +0200
Message-ID: <c64be86c-dc68-d9b2-0f0f-b93303a41f83@ziu.info> (raw)

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.


                 reply	other threads:[~2016-06-16 18:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c64be86c-dc68-d9b2-0f0f-b93303a41f83@ziu.info \
    --to=soltys@ziu.info \
    --cc=gladkov.alexey@gmail.com \
    --cc=kbd@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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