kbd.lists.linux.dev archive mirror
 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	[thread overview]
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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).