Subject: Re: Weird QZERTY keyboard set up
To: Vittorio <ml-vic@de-martino.it>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 03/26/2007 12:47:46
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Mar 26, 2007, at 13:02, Vittorio wrote:

> On a seasoned iMac 233 MHz I installed NetBSD 3.1 & X.
>
> Now, this iMac came to me with its original QZERTY Italian keyboard 
> (the
> layout is similar to that of old typewriters).
> How can I make aware of that:
> 1) The [character] console?

You can create your own keymaps for wscons, /usr/share/wscons/keymaps 
has a few examples. I've never done that myself though.

> 2) XF86Config?

Use xev to find out which scancode a given key sends, then use xmodmap 
to assign it the right key symbol. You can save the keymap using 
'xmodmap -pke > /some/file' and load it again using 'xmodmap 
/some/file' - you might want that in your .xinitrc
Or, since xmodmap is more suitable for small corrections than whole new 
keymaps, you can try to make a 'real' keymap using xkb but I've never 
done that either.
There is a chance though that an xkb map that matches your keyboard 
already exists.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRgf5MspnzkX8Yg2nAQLIFgf+KzjsZuez9zob5xuQZVObo/V2kukWTU6w
wqe0oiCi+MVgvtaDUDhnOwzZ5KttISb7g0Kdt66yptQ7E/jxocBIlMWZq4YEW8B+
04emSYQLpWy5THs7GDjYF6yGcmF5jJJ6ojWVI3gBA7quW4S6Bgx64lpfoc0LFlTU
eX7DBcem6b4xf3y0BBZ1iQYFb2NMwR4do4PLiufQ1xT9ITMHLYPo4FBbGy63Ny4Z
cu2O+we/aEwfgqw7tFSF/4hhvz/IwT2t9for+gMmex9SXVwR/oMYEWYmxsgSu/eg
Zf4HFd7XwmnjiLZnLoJx06d4g2PhkktZE8P9cg1bCinpAXp2Kvatpw==
=rbA6
-----END PGP SIGNATURE-----