Hi!
----
Solaris 2.8/SPARC with a US/UNIX keyboard, Xsun uses a german keyboard
layout (for example, 'y' and 'z' swapped) _after_ user login (_before_
login, e.g. at dtlogin screen and console (correctly) uses US/UNIX
keyboard layout).
I've ran Richard L. Hamilton's nice keyboard debugging tool (see
http://groups.google.com/groups?selm=vsuaheef8bmm9b%40corp.supernews....)
and got the following output:
-- snip --
% cc xxx.c
"xxx.c", line 127: warning: implicit function declaration: ioctl
"xxx.c", line 157: warning: implicit function declaration: close
translation mode: TR_UNTRANS_EVENT
keyboard type: KB_SUN4 4
keyboard layout: 34
compatibility mode: on
key table file: US_UNIX5.kt
-- snip --
Then I modified "keyboard.map" logged out, restarted dtlogin and
logged-in - no change.
Then I modified "keyboard.map" the hard way, replacing any "*German*"
entries like this:
-- snip --
% gdiff -u keytable.map.original keytable.map
--- keytable.map.original Mon Nov 24 02:04:45 2003
4 2 FranceBelg4.kt
4 3 Canada4.kt
4 4 Denmark4.kt
-4 5 Germany4.kt
+4 5 US_UNIX5.kt
4 6 Italy4.kt
4 7 Netherland4.kt
4 34 US_UNIX5.kt
4 35 France5.kt
4 36 Denmark5.kt
-4 37 Germany5.kt
+4 37 US_UNIX5.kt
4 38 Italy5.kt
4 39 Netherland5.kt
4 81 US_UNIX5_Hobo.kt # UNIX layout for Hobo keyboard
4 82 France5_Hobo.kt
4 83 Denmark5_Hobo.kt
-4 84 Germany5_Hobo.kt
+4 84 US_UNIX5.kt
4 85 Italy5_Hobo.kt
4 86 Netherland5_Hobo.kt
101 34 J3100_x86.kt
101 35 France_x86.kt
101 36 Denmark_x86.kt
-101 37 Germany_x86.kt
+101 37 US_UNIX5.kt
101 38 Italy_x86.kt
101 39 Netherland_x86.kt
6 6 Denmark6.kt
6 7 Finnish6.kt
6 8 France6.kt
-6 9 Germany6.kt
+6 9 US_UNIX5.kt
6 14 Italy6.kt
6 15 Japan6.kt
6 16 Korea6.kt
-- snip --
... but no change - 'y' and 'z' are still swapped and now keys like "#"
generate beeps instead of any chars (neither wrong nor the correct
ones).
I've been trying to get rid of the problem for several weekends without
success... HEEEEELLLPP...
----
Bye,
Roland
--
__ . . __
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 2426 901568 FAX +49 2426 901569
(;O/ \/ \O;)