This is to do with non-sun keyboards on an Ultra 5 with CDE.

Given that the (Real)VNC implementors _really_ understand X11 could I
pick their brains on a related question.  I've been banging my head
against the wall on this for some time.

I have a Belkin 4-way KVM switch + 1 Sun Adapter to which are connected
three boxen running Debian (Woody x 2, Sarge x 1) and a Sun Ultra5 running
Solaris 8 and CDE.  The Sun Adapter converts the sun keyboard/mouse connection
into PS/2 keyboard and mouse connections.  The common mouse is a Belkin
3button mouse and the common keyboard is a PC105 UK keyboard (GBP sign,
...)

Switching to the Sun through the KVM switch the mouse buttons work as
expected but the keyboard doesn't map correctly (the \| key does
nothing, ~ is where , is etc).  Fine - CDE is expecting a Sun keyboard.
Running a programme to interrogate the keyboard settings shows Type 4,
Layout 33.

Question : Where is this set ? and can it be overridden ?
I tried moving a uk layout file and pretending it was Layout 33 but to
no avail.  (Assuming I was fiddling in the correct directory.)


Now - before I bought the KVM switch I used VNC (on one of the Debian
systems) to access the Sun box.  The VNC server is started from init.d
via a script and uses '-once -query' so that the normal CDE login screen
is presented.  The keyboard works fine - key presses
produce the engraved character.  However, when running gvim I get

<quote>
Warning: Cannot convert string "-dt-interface 
user-medium-r-normal-s*-*-*-*-*-*-*-*-*" to type FontStruct
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface 
system-medium-r-normal-s*-*-*-*-*-*-*-*-*" to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface 
user-medium-r-normal-s*-*-*-*-*-*-*-*-*" to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface 
user-medium-r-normal-s*-*-*-*-*-*-*-*-*" to type FontSet
</quote>

Question : Where is difference between direct access and VNC access to
cause this given the common starting point ?


In all my trawls through the documentation I can find info on xkb etc
for XFree86 but nothing for CDE.  Nor can I find the equivalent config
file(s) in CDE that would allow me to tinker.

Thank you for your patience if you've got this far.

TIA
-- 
Mark Thornber

=========================
E M Thornber CEng MIET
Enchanted Systems Limited
Software Toolsmiths
+44 (0) 1503 272097
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to