From: Andries Brouwer <aebr@win.tue.nl>
To: Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua>,
linux-kernel@vger.kernel.org, sebek64@post.cz
Subject: Re: register dump when press scroll lock
Date: Sun, 4 Jul 2004 14:50:03 +0200 [thread overview]
Message-ID: <20040704125003.GE6456@pclin040.win.tue.nl> (raw)
In-Reply-To: <20040704121740.GA3637@penguin.localdomain>
On Sun, Jul 04, 2004 at 02:17:40PM +0200, Marcel Sebek wrote:
> > > Steps to reproduce:
> > > Switch keyboard by "Pause/Break" key from English to Czech map (or another
> > > second keymap, I also tried Slovak). Then press scrolllock. The following
> > > is printed out and scrlock led state is untouched:
>
> I'm using Debian testing.
>
> I looked at keymap definition. For ScrLock there is this:
>
> keycode 70 = Scroll_Lock Show_Memory Show_Registers
> control keycode 70 = Show_State
> alt keycode 70 = Scroll_Lock
>
> If I want the same behavior as with english keymap, I should either
> use Alt-ScrLock or rewrite the keymap.
The keymap knows about 8 modifiers.
You can bind keys to simple modifiers, also to locking modifiers.
Your Czech keymap uses the Pause key as ShiftR_Lock.
(ShiftR is the 6th modifier, see also keymaps(5).)
Thus, while typing in the English state of the keyboard
you are using no modifiers unless explicitly pressing Shift/Alt/Ctrl/...
but when typing in the Czech state of the keyboard you are
permanently using ShiftR.
Now you press ScrollLock in the Czech state of the keyboard.
What happens is the action bound to ShiftR ScrollLock.
If no action is bound you may instead get the action bound
to Plain ScrollLock.
Investigate your keymap. If you understand, all is well.
If you don't understand, complain, e.g. to aeb@cwi.nl.
I am not aware of any recent changes in this area.
Your keymap is something of your own choice, not something
given by the kernel. See also loadkeys and dumpkeys.
Andries
next prev parent reply other threads:[~2004-07-04 12:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-03 10:25 Marcel Sebek
[not found] ` <200407040219.32581.vda@port.imtp.ilyichevsk.odessa.ua>
2004-07-04 12:17 ` Marcel Sebek
2004-07-04 12:50 ` Andries Brouwer [this message]
[not found] <A6974D8E5F98D511BB910002A50A6647615FF669@hdsmsx403.hd.intel.com>
2004-07-05 19:18 ` Len Brown
2004-07-05 19:35 ` Marcel Sebek
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=20040704125003.GE6456@pclin040.win.tue.nl \
--to=aebr@win.tue.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=sebek64@post.cz \
--cc=vda@port.imtp.ilyichevsk.odessa.ua \
/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
all inboxes | Powered by JetHome®