Localised input with VNC
Andrej Borsenkow
borsenkow.msk "at" sni.de
Fri, 13 Nov 1998 18:44:04 +0000
I looked in FAQ, mailinig list archive and sources :)) without avail ...
VNC looks like a gret package - and, unfortunately, seems to be of little
practical use outside of ISO-8859-1-community (I am happy to be wrong ...)
My primary need is to use VNC on Win32-Win32 and Win32-X11. Both have quite
a number of problems.
Win32 - Win32
Switching keyboard on Win is much more than just changing keyboard layout.
What actually happens, is
that input locale is switched. It quite possible (and meaningful) to have
several input locales configured
with the same keyboard layout. E.g. I have currently Russian (with Russian
layout), English and German
with International. It enables me to enter German characters with dead
keys without learning German
layout :))
When I switch "keyboard", the (well-behaving) application also changes
- font (code page) thus enabling me to use all three languages at once
- language associated with input, enabling e.g. automatic spell checking
in Word
(yes, it can spell check in several languages - but it has to be told,
what language is in use)
- and may be much more I am not aware of.
Unfortunately, I could not find any trace, that this "current locale
information" is passed over. Am I wrong?
Win32 - X11
Well, looking at client code, there is no translation outside of
ISO-8859-1 charset (where it is pure chance,
that KeySyms are the same as chracter codes). It means, that any attempt
to switch to russian will
at the best do nothing :((
May I also ask about XKbd support? It *could* be the solution, if VNC
server supported it, as then the
translation is done by X11 client. No need to switch keyboard layout on
viewer at all.
thank you for your time
PS I am not currently on this list, so please CC the answer (if any :)
PPS May be, if client-server protocol used UNICODE, it would give common
framework on all plattforms. Then only the local modifications would be
needed.
/andrej
---------------------------------------------------------------------
The VNC mailing list - see http://www.orl.co.uk/vnc/intouch.html
---------------------------------------------------------------------