From nobody@FreeBSD.org  Wed Sep  5 10:57:28 2001
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
	by hub.freebsd.org (Postfix) with ESMTP id 1930137B407
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  5 Sep 2001 10:57:28 -0700 (PDT)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.4/8.11.4) id f85HvSA88865;
	Wed, 5 Sep 2001 10:57:28 -0700 (PDT)
	(envelope-from nobody)
Message-Id: <200109051757.f85HvSA88865@freefall.freebsd.org>
Date: Wed, 5 Sep 2001 10:57:28 -0700 (PDT)
From: Chris Pockele <chrisp@belgacom.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: be keymap: wrong Capslock behaviour with some keys
X-Send-Pr-Version: www-1.0

>Number:         30341
>Category:       conf
>Synopsis:       be keymap: wrong Capslock behaviour with some keys
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    murray
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 05 11:00:01 PDT 2001
>Closed-Date:    Sun May 18 01:47:48 PDT 2003
>Last-Modified:  Sun May 18 01:47:48 PDT 2003
>Originator:     Chris Pockele
>Release:        4.4-RC
>Organization:
BSDaemon (http://www.bsdaemon.be/)
>Environment:
FreeBSD freedaemon.home.lan 4.4-RC FreeBSD 4.4-RC #0: Sun Sep  2 17:03:41 CEST 2001     root@freedaemon.home.lan:/usr/obj/usr/src/sys/CUSTOM  i386
>Description:
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.
>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.
>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
%

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->murray 
Responsible-Changed-By: murray 
Responsible-Changed-When: Sun May 11 15:57:20 PDT 2003 
Responsible-Changed-Why:  
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. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=30341 
State-Changed-From-To: open->patched 
State-Changed-By: murray 
State-Changed-When: Thu May 15 20:48:14 PDT 2003 
State-Changed-Why:  
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. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=30341 
State-Changed-From-To: patched->closed 
State-Changed-By: murray 
State-Changed-When: Sun May 18 01:47:33 PDT 2003 
State-Changed-Why:  
I have merged this change to -STABLE.  Thanks for the submission. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=30341 
>Unformatted:
