From nobody@FreeBSD.org  Wed Jan 16 12:10:25 2002
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 A736437B41A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 16 Jan 2002 12:10:24 -0800 (PST)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.11.6/8.11.6) id g0GKAOk21160;
	Wed, 16 Jan 2002 12:10:24 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200201162010.g0GKAOk21160@freefall.freebsd.org>
Date: Wed, 16 Jan 2002 12:10:24 -0800 (PST)
From: Andrew McKay <andy@openirc.co.uk>
To: freebsd-gnats-submit@FreeBSD.org
Subject: uk.iso.kbd is missing some keymappings for euro symbol
X-Send-Pr-Version: www-1.0

>Number:         33956
>Category:       misc
>Synopsis:       uk.iso.kbd is missing some keymappings for euro symbol
>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 Jan 16 12:20:01 PST 2002
>Closed-Date:    Sun Apr 14 09:21:06 PDT 2002
>Last-Modified:  Sun Apr 14 09:21:06 PDT 2002
>Originator:     Andrew McKay
>Release:        FreeBSD 4.5-PRERELEASE
>Organization:
>Environment:
FreeBSD fluoxetine.lan 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #1: Mon Jan  7 19:06:57 GMT 2002     toor@fluoxetine.lan:/usr/obj/usr/src/sys/FLUOXETINE  i386

>Description:
      For some time, UK keyboards have had a euro symbol as an 'extra' symbol on the '4' key, along with the dollar sign.  Currently, the /usr/share/syscons/keymaps/uk.iso.kbd contains no mappings for this symbol (char 164 in the ISO_8859-15 character set) on this key.
>How-To-Repeat:
      Buy and install a recent UK keyboard - note the euro symbol on the '4' key.  Set locale to use one of the 8859-15 character sets and try to access the euro symbol on said key.  The only way to do it is alt-e, which is logical but there is no euro symbol on the e keycap.  The patch  below adds the keymapping to ctrl-4 and shift-ctrl-4 (both currently nop).  Leaving in the binding for alt-e should leave the keymap logically compatible with other european countries.
>Fix:
      
--- uk.iso.kbd  Sun Mar 11 23:41:19 2001
+++ uk.iso.kbd.new      Wed Jan 16 19:01:32 2002
@@ -7,7 +7,7 @@
   001   esc    esc    esc    esc    esc    esc    debug  esc     O
   002   '1'    '!'    nop    nop    '`'    '`'    nop    nop     O
   003   '2'    '"'    nul    nul    '@'    '@'    nul    nul     O
-  004   '3'    163    nop    nop    '#'    '#'    nop    nop     O
+  004   '3'    163    164    164    '#'    '#'    nop    nop     O
   005   '4'    '$'    nop    nop    '4'    '$'    nop    nop     O
   006   '5'    '%'    nop    nop    '5'    '%'    nop    nop     O
   007   '6'    '^'    rs     rs     '^'    '^'    rs     rs      O

>Release-Note:
>Audit-Trail:

From: "Andrey A. Chernov" <ache@nagual.pp.ru>
To: Andrew McKay <andy@openirc.co.uk>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: misc/33956: uk.iso.kbd is missing some keymappings for euro symbol
Date: Sat, 19 Jan 2002 00:41:09 +0300

 On Wed, Jan 16, 2002 at 12:10:24 -0800, Andrew McKay wrote:
 
 > Buy and install a recent UK keyboard - note the euro symbol on the '4' key.  
                                                                     ^^^^^^
 
 > +  004   '3'    163    164    164    '#'    '#'    nop    nop     O
           ^^^^^^ ?
 
 
 -- 
 Andrey A. Chernov
 http://ache.pp.ru/

From: Andrew McKay <andy@openirc.co.uk>
To: "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: misc/33956: uk.iso.kbd is missing some keymappings for euro
 symbol
Date: Fri, 18 Jan 2002 22:49:12 +0000 (GMT)

 Schoolboy error.  I made the correction once and it worked.  Then I
 rebuilt the world, which reversed it.  So knowing it worked I did it again
 looking at the scan code (004) instead of the base ('3').  All apologies.
 
 --- uk.iso.kbd	Fri Jan 18 22:41:41 2002
 +++ uk.iso.kbd.new	Fri Jan 18 22:40:57 2002
 @@ -8,7 +8,7 @@
    002   '1'    '!'    nop    nop    '`'    '`'    nop    nop     O
    003   '2'    '"'    nul    nul    '@'    '@'    nul    nul     O
    004   '3'    163    nop    nop    '#'    '#'    nop    nop     O
 -  005   '4'    '$'    nop    nop    '4'    '$'    nop    nop     O
 +  005   '4'    '$'    164    164    '4'    '$'    nop    nop     O
    006   '5'    '%'    nop    nop    '5'    '%'    nop    nop     O
    007   '6'    '^'    rs     rs     '^'    '^'    rs     rs      O
    008   '7'    '&'    nop    nop    '['    '['    esc    esc     O
 
 -- 
 Andrew McKay <andy@openirc.co.uk>
 
State-Changed-From-To: open->suspended 
State-Changed-By: asmodai 
State-Changed-When: Mon Apr 8 12:16:09 PDT 2002 
State-Changed-Why:  
Committed and awaiting MFC. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=33956 
State-Changed-From-To: suspended->patched 
State-Changed-By: keramida 
State-Changed-When: Mon Apr 8 14:37:13 PDT 2002 
State-Changed-Why:  
By asmodai's permission change this to 'patched' since it's being 
worked on and is not really suspended. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=33956 
State-Changed-From-To: patched->closed 
State-Changed-By: phantom 
State-Changed-When: Sun Apr 14 09:19:37 PDT 2002 
State-Changed-Why:  
MFCed in rev 1.13.2.2 of uk.iso.kbd 


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