Subject: misc/32891: NetBSD 3.0 doesn't support Swiss French keyboard
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <Gilles@Gravier.org>
List: netbsd-bugs
Date: 02/21/2006 14:50:00
>Number: 32891
>Category: misc
>Synopsis: NetBSD 3.0 doesn't support Swiss French keyboard
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: misc-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Feb 21 14:50:00 +0000 2006
>Originator: Gilles Gravier
>Release: 3.0
>Organization:
Sun Microsystems
>Environment:
NetBSD mailhost 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005 builds@works.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/i386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386
>Description:
wsconsctl doesn't support any use of Swiss French (or German keyboards)... despite the fact that the installer accept specifying Swiss French... once the machine is running, can't specify Swiss French.
>How-To-Repeat:
Install NetBSD 3.0
>Fix:
Following script does the job.
#!/bin/sh
wsconsctl -k -w map+='
keycode 2 = 1 plus bar
keycode 3 = 2 quotedbl at
keycode 4 = 3 asterisk numbersign
keycode 5 = 4 ccedilla
keycode 6 = 5 percent
keycode 7 = 6 ampersand
keycode 8 = 7 slash brokenbar
keycode 9 = 8 parenleft cent
keycode 10 = 9 parenright
keycode 11 = 0 equal
keycode 12 = apostrophe question dead_acute
keycode 13 = dead_circumflex dead_grave dead_tilde
keycode 16 = q Q at
keycode 21 = z Z
keycode 26 = egrave udiaeresis bracketleft
keycode 27 = dead_diaeresis exclam bracketright
keycode 39 = eacute odiaeresis
keycode 40 = agrave adiaeresis braceleft
keycode 41 = section dead_abovering
keycode 43 = dollar sterling braceright
keycode 44 = y Y
keycode 51 = comma semicolon
keycode 52 = period colon
keycode 53 = minus underscore
keycode 86 = less greater backslash
keycode 184 = Mode_switch Multi_key
'
# eof