Bug 30341 - be keymap: wrong Capslock behaviour with some keys
Summary: be keymap: wrong Capslock behaviour with some keys
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: Murray Stokely
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-05 19:00 UTC by Chris Pockele
Modified: 2003-05-18 09:47 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Pockele 2001-09-05 19:00:01 UTC
I'm using the Belgian keyboard layout (be.iso).
(This problem applies only to the console, not X.)
When Capslock is on, pressing the M key (located right to the L on a
be-keyboard), it produces an "m", when pressing it simultaneously with
shift while capslock is on, it produces an "M".  This is the same
behaviour as with capslock turned off, but it should be the other way
around.
Pressing the <? ,> (right to the N) key when capslock is on produces
a "?" without shift, "," with shift.  This is not consistent with the
other non-letter keys.
So it seems to me that Caps Lock behaves the same as with a US map.

Fix: 

I fixed 2 lines in be.iso.kbd to create a corrected keymap:

%cd /usr/share/syscons/keymaps/
%diff be.iso.kbd be.corr.kbd 
45c45
<   039   'm'    'M'    cr     cr     'm'    'M'    cr     cr      O
---
>   039   'm'    'M'    cr     cr     'm'    'M'    cr     cr      C
56c56
<   050   ','    '?'    nop    nop    ','    '?'    nop    nop     C
---
>   050   ','    '?'    nop    nop    ','    '?'    nop    nop     O
%
How-To-Repeat: Load the be.iso.kbd or be.iso.acc.kbd keymaps (both have the errors),
and try the keypresses described.  Note that having a Belgian keyboard
would be handy :-).
I didn't find any other similar bugs, just with the M and <? ,> keys.
The french keymap seems to be ok, I didn't test any others.
Comment 1 Murray Stokely freebsd_committer freebsd_triage 2003-05-11 23:57:20 UTC
Responsible Changed
From-To: freebsd-bugs->murray

A Belgian friend is testing out this patch for me.  Several Belgian 
users have complained about the keymap so I think this is probably 
right.  I hope to commit something soon.
Comment 2 Murray Stokely freebsd_committer freebsd_triage 2003-05-16 04:48:14 UTC
State Changed
From-To: open->patched

I have committed this patch to -CURRENT.  Thanks for the submission. 
The correct keymap should be in the upcoming FreeBSD 5.1 release.  I 
will merge this change to 4.X-STABLE next week.
Comment 3 Murray Stokely freebsd_committer freebsd_triage 2003-05-18 09:47:33 UTC
State Changed
From-To: patched->closed

I have merged this change to -STABLE.  Thanks for the submission.