Problems with dos sessions in winvnc

Ingecom - SERRE Jean-Christophe jcs "at" ingecom.com
Thu, 29 Jun 2000 08:35:49 +0000


Dries Feys <dries "at" tvh.be> wrote:
> 
> We're using winvnc 3.3.3 r2 to control a win95 computer which runs
> regulary dos sessions to control eg. the phonecentral equipment
> 
> In this dos session, we can easily use the 'normal' keys, but as soon as we 
> have to use the Alt Gr key to obtain 'special' characters, like # , @, ~, 
> ], [, ...  (Belgian keyboard layout), the keystroke isn't received well. 
>  This works fine locally on the server pc.
> 
> Is there anything can do to resolve this keyboardmapping ?

It's happening on Win9x VNCserver, but not NT ones. I found no other way
against it than to copy the needed character in clipboard (using the
charmap.exe utility on server computer, or copying it on the viewer
computer and let the clipboard-sync transfer it) and then paste it into
the DOS box...

>From my tests, it wouldn't be a mapping problem, but a trouble with the
keyboard handler and the way VNC communicates with it: Windows supports
"system-shortcuts", for instance you can make it so that depressing
CTRL+ALT+A runs a program of your choice.

Thus, all CTRL+ALT or AltGr sequences are first processed somewhere in
the system: the sequence is passed back to the active application only
if it hasn't been assigned to a system-shortcut.

What makes me think this is related to the VNC trouble is this: on my
computer, CTRL+ALT+C launches the Calculator. Locally, this
system-shortcut does NOT work when inside a (focused) DOS box. But if I
VNControl my computer, the CTRL+ALT+C will trigger the system-shortcut
even inside a DOS box. So, WinVNC is somehow not passing keystrokes to
DOS boxes the same way they are when you're directly on the computer,
and this affects all CTRL+ALT sequences inside Win9x DOS boxes...

-- 
JCS - Jean-Christophe SERRE - INGECOM France - +33 (0)1.48.34.12.34

Titanic was ultimately sunk by the only true unsinkable thingy
on our planet -- a big ice cube. Titanic couldn't face
too cold water. (Alain Turgeon)
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------