From: Oleg Bulatov <oleg@bulatov.me>
To: kbd@lists.altlinux.org
Subject: [kbd] plain keycode changes not only the first column
Date: Mon, 7 May 2018 16:36:10 +0200
Message-ID: <356D93D8-7109-4ECF-9A34-5562D41A65DA@bulatov.me> (raw)
[-- Attachment #1: Type: text/plain, Size: 495 bytes --]
Hi,
when a key is defined with exactly one action code, and `plain keycode NNN = ACTION` is used after that, it acts as if the `plain` modifier is not present. It changes the key definitions for all modifiers.
Steps to reproduce:
$ cat example.map
keymaps 0-1
keycode 46 = x
plain keycode 46 = +c
$ loadkeys ./example.map
$ dumpkeys -f | grep ' 46’
Expected output:
keycode 46 = +c +X
Actual output:
keycode 46 = +c +C
--
WBR, Oleg
[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
reply other threads:[~2018-05-07 14:36 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=356D93D8-7109-4ECF-9A34-5562D41A65DA@bulatov.me \
--to=oleg@bulatov.me \
--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