From st@epcc.ed.ac.uk Wed Feb 17 02:49:11 1999
Return-Path: <st@epcc.ed.ac.uk>
Received: from e450.epcc.ed.ac.uk (e450.epcc.ed.ac.uk [129.215.56.230])
	by hub.freebsd.org (Postfix) with ESMTP id 40C0610E5C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 17 Feb 1999 02:49:05 -0800 (PST)
	(envelope-from st@epcc.ed.ac.uk)
Received: from quartz.epcc.ed.ac.uk (quartz [129.215.56.3])
	by e450.epcc.ed.ac.uk (8.9.1/8.9.1) with ESMTP id KAA29749
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 17 Feb 1999 10:48:54 GMT
Message-Id: <9227.199902171048@quartz.epcc.ed.ac.uk>
Date: Wed, 17 Feb 1999 10:48:53 GMT
From: st@epcc.ed.ac.uk
Reply-To: st@epcc.ed.ac.uk
To: FreeBSD-gnats-submit@freebsd.org
Subject: Incorrect key mapping in syscons uk.iso.kbd keymap
X-Send-Pr-Version: 3.2

>Number:         10130
>Category:       i386
>Synopsis:       Incorrect key mapping in syscons uk.iso.kbd keymap
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 17 02:50:00 PST 1999
>Closed-Date:    Fri Feb 19 18:24:36 PST 1999
>Last-Modified:  Fri Feb 19 18:25:26 PST 1999
>Originator:     Scott Telford
>Release:        FreeBSD 2.2.8-RELEASE i386
>Organization:
Edinburgh Parallel Computing Centre, University of Edinburgh, UK.
>Environment:

	

>Description:

The key mapping for scan code 41 for a UK keyboard in the "uk.iso"
keymap gives '\' unshifted. This should be '`'.

>How-To-Repeat:

With a UK keyboard, execute:

kbdcontrol </dev/ttyv0 -l uk.iso

and then press the key next to the '1' key with '`' marked on it. This
will give a '\' instead.

>Fix:
	
--- uk.iso.kbd_dist	Mon Nov 30 05:12:03 1998
+++ uk.iso.kbd	Tue Feb 16 17:27:12 1999
@@ -43,7 +43,7 @@
   038   'l'    'L'    ff     ff     'l'    'L'    ff     ff      C
   039   ';'    ':'    nop    nop    ';'    ':'    nop    nop     O
   040   '''    '@'    nul    nul    '''    '@'    nul    nul     O
-  041   '\'    '|'    fs     fs     '\'    '\'    fs     fs      O
+  041   '`'    '|'    fs     fs     '`'    '`'    fs     fs      O
   042   lshift lshift lshift lshift lshift lshift lshift lshift  O
   043   '#'    '~'    nop    nop    '~'    '~'    nop    nop     O
   044   'z'    'Z'    sub    sub    'z'    'Z'    sub    sub     C



>Release-Note:
>Audit-Trail:

From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To: st@epcc.ed.ac.uk
Cc: FreeBSD-gnats-submit@freebsd.org,
	yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject: Re: i386/10130: Incorrect key mapping in syscons uk.iso.kbd keymap 
Date: Fri, 19 Feb 1999 12:13:26 +0900

 >>Number:         10130
 >>Category:       i386
 >>Synopsis:       Incorrect key mapping in syscons uk.iso.kbd keymap
 [...]
 >>Release:        FreeBSD 2.2.8-RELEASE i386
 [...]
 >>Description:
 >
 >The key mapping for scan code 41 for a UK keyboard in the "uk.iso"
 >keymap gives '\' unshifted. This should be '`'.
 
 This key has three symbols: "back-quote" '`', "logical-not" (0xac in
 ISO latin-1, 0xaa in CP850), and "vertical bar/pipe", right?
 
 # The vertical bar/pipe char can be obtained from another key (keycode
 # 86), right?
 
 In your fix, the key gives "back-quote" if unshifted, "pipe" if
 shifted, "back-quote" if Alt is held down.
 
 I wonder if the following is more consistent with the way the symbols
 are printed on the key top; "back-quote" if unshifted, "logical-not"
 if shifted and "pipe" if Alt is held down.
 
 Also, I think the key shouldn't give a control char "fs" when the Ctrl
 is held down, as "fs" is for '^\' and '\' is not defined for this key
 anymore.
 
 Do you find this reasonable?
 
 Kazu
 
 --- uk.iso.kbd.old	Mon Nov 30 05:12:03 1998
 +++ uk.iso.kbd	Tue Feb 16 17:27:12 1999
 @@ -43,7 +43,7 @@
    038   'l'    'L'    ff     ff     'l'    'L'    ff     ff      C
    039   ';'    ':'    nop    nop    ';'    ':'    nop    nop     O
    040   '''    '@'    nul    nul    '''    '@'    nul    nul     O
 -  041   '\'    '|'    fs     fs     '\'    '\'    fs     fs      O
 +  041   '`'    172    nop    nop    '|'    '|'    nop    nop     O
    042   lshift lshift lshift lshift lshift lshift lshift lshift  O
    043   '#'    '~'    nop    nop    '~'    '~'    nop    nop     O
    044   'z'    'Z'    sub    sub    'z'    'Z'    sub    sub     C
 
State-Changed-From-To: open->closed 
State-Changed-By: yokota 
State-Changed-When: Fri Feb 19 18:24:36 PST 1999 
State-Changed-Why:  
Revised patch has been applied.  Thank you. 
>Unformatted:
 Scott Telford
