Hello.
I use a german-german non-sun keyboard on a blade 1000.
I added an "xmodmap" command to /usr/dt/config/Xstartup. Xstartup is the script that is executed each time the X-Server is (re)started.
/usr/dt/config/Xstartup:#! /bin/ksh
# Modification by Martin Rosenau:
# German keyboard tables
/usr/bin/germankey
#############################################################################
#
#Xstartup
#
...
/usr/bin/germankey:#!/bin/sh
# Deutsche Tastaturbelegung (xmodmap), falls
# US-Standard-Tastatur unter Solaris erkannt wurde
# by Martin Rosenau
/usr/openwin/bin/xmodmap - << EOF
! Alt-GR
! Wird als mode_switch, nicht als SunAltGraph erkannt.
add mod2 = Alt_R
! y und z vertauschen
keycode 35 = Z
keycode 36 = Y
! my und at (M und Q)
keycode 23 = m M mu
keycode 27 = q Q at
! Ziffern
keycode 37 = 1 exclam
keycode 38 = 2 quotedbl
keycode 39 = 3 section
keycode 40 = 4 dollar
keycode 41 = 5 percent
keycode 42 = 6 ampersand
keycode 43 = 7 slash braceleft
keycode 44 = 8 parenleft bracketleft
keycode 45 = 9 parenright bracketright
keycode 46 = 0 equal braceright
! Ae, Oe, Ue
keycode 59 = Adiaeresis
keycode 58 = Odiaeresis
keycode 54 = Udiaeresis
! Sonstige Tasten
keycode 52 = ssharp question backslash
keycode 53 = SunFA_Acute SunFA_Grave SunPowerSwitch
keycode 55 = plus asterisk asciitilde
keycode 57 = numbersign quoteright quoteleft
keycode 60 = asciicircum degree
keycode 61 = comma semicolon
keycode 62 = period colon
keycode 63 = minus underscore
keycode 107 = less greater bar
! Ende
EOF
The file must be modified for swiss german, of course.
I hope this helps.
Martin
Thank you very much! This is the solution. For other swiss users, here is the file for swiss german keyboard (/usr/bin/swissgermankeys):
#!/bin/sh
# Schweizerdeutsche Tastaturbelegung (xmodmap), falls
# US-Standard-Tastatur unter Solaris erkannt wurde
# by Martin Rosenau (schweizer-deutsch by J. Rosset)
/usr/openwin/bin/xmodmap - << EOF
! Alt-GR
! Wird als mode_switch, nicht als SunAltGraph erkannt.
add mod2 = Alt_R
! y und z vertauschen
keycode 35 = Z
keycode 36 = Y
! my und at (M und Q)
keycode 15 = e E EuroSign
keycode 23 = m M mu
keycode 27 = q Q
keycode 29 = s S ssharp
! Ziffern
keycode 37 = 1 plus bar
keycode 38 = 2 quotedbl at
keycode 39 = 3 asterisk numbersign
keycode 40 = 4 ccedilla
keycode 41 = 5 percent
keycode 42 = 6 ampersand notsign
keycode 43 = 7 slash brokenbar
keycode 44 = 8 parenleft cent
keycode 45 = 9 parenright
keycode 46 = 0 equal
! Ae, Oe, Ue
keycode 59 = adiaeresis agrave braceleft
keycode 58 = odiaeresis eacute
keycode 54 = udiaeresis egrave bracketleft
! Sonstige Tasten
keycode 52 = apostrophe question acute
keycode 53 = asciicircum grave asciitilde
keycode 55 = diaeresis exclam bracketright
keycode 56 = dollar sterling braceright
keycode 57 = numbersign quoteright quoteleft
keycode 60 = section degree
keycode 61 = comma semicolon
keycode 62 = period colon
keycode 63 = minus underscore
keycode 107 = less greater backslash
! Ende
EOF