Subject: Re: NetBSD 3.0 doesn't like Swiss French keyboard for wscons ?
To: Karsten Kruse <tecneeq@gmx.net>
From: Gilles Gravier <Gilles@Gravier.org>
List: netbsd-users
Date: 02/21/2006 14:47:08
This is a cryptographically signed message in MIME format.
--------------ms020503070401070500060107
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hum... So for those who also want Swiss French, I've modified your
script (simple inversion of 3 keys) to be proper Swiss French... works
fine. Thanks! Here is the result.
#!/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
Cheers,
Gilles.
Karsten Kruse wrote:
> Gilles Gravier wrote:
>
>
>> Just upgraded from NetBSD 2.0.2 to NetBSD 3.0. During the upgrade, I was
>> asked if I wanted to change keyboard. I did. I selected Swiss French.
>>
>
> Here is a script for Swiss German layout, maybe that is a good starting
> point for you:
>
> http://tecneeq.dyndns.org/~karsten/netbsd/wscons/wscons-sg.sh
>
> Karsten
>
>
--------------ms020503070401070500060107
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3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