Subject: int'l kbd support with X11?
To: None <port-mac68k@NetBSD.ORG>
From: Hauke Fath <saw@sun0.urz.uni-heidelberg.de>
List: port-mac68k
Date: 02/08/1996 19:37:40
(This seems not to have reached netbsd.org - 2nd try)


Hi list,

here's another of those questions concerning X11:

How do you make up a correct mapping for an international
{i.e. non-US} keyboard?

I've got the X11 User's Guide (v3) on my desk (you were right, Ken: it
helps a lot...)  and I'm working my way through the xmodmap doc.
Exchanging y and z was no problem, reassigning the <shift>-level of the top
key row wasn't either.

Things began to look more difficult when I tried to access keys on
the <alt>-level.

>From an .xmodmaprc for a German Amiga kbd I expected this to be possible,
but I wasn't able to put it to work on macBSD X. I am talking about chars
like  \|~{}[] - the German layout of the Macintosh keyboard puts all of
them on the <alt> level. From what I've seen in the  kernel sources the
kernel supports only three key tables: standard, ctrl'ed and shifted.
(The Scandinavian origin of Linux is somewhat of an advantage ;-)

How does X make up its keyboard events?  Does Xmacbsd ask the kernel for
the keys or does it get the scancodes directly from /dev/adb?  What I am
trying to say: Should I dive deeper into the kernel sources or do I have to
wait for an Xmacbsd fix?  (Or have I misunderstood the whole thing
completely?)

As this is the main reason why I continue to use dt instead of X11
comments would be most appreciated :)


        hauke


	hauke

---
"It's never straight up and down"     (DEVO)