Xvnc has a set of basic keysyms in its keymap, then it adds any missing
keysyms on the fly as the relevant keys are sent by the viewer.  This works
fine for most X applications.  However, some Motif apps obviously look for
keysyms when they start up, and if a particular key hasn't already been
pressed in that Xvnc session then the app won't find it.  The solution is to
add any keysyms you need with the xmodmap command from your ~/.vnc/xstartup
file, e.g.

xmodmap -e 'keycode 100 = Insert'
xmodmap -e 'keycode 101 = KP_Enter'
etc

Having said that, it would be good to add a few more of these standard keys
into Xvnc's initial keymap.  I'll look into that for the next future
release.

Cheers

Tristan

----- Original Message -----
From: "Chuck Slivkoff" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, March 19, 2003 12:01 AM
Subject: Xvnc - XK_Insert not "useful"?


> A colleague reported these warnings running dtterm in an Xvnc session:
>
> Warning:
>     Name: Copy
>     Class: XmPushButtonGadget
>     Illegal mnemonic character;  Could not convert X KEYSYM to a keycode
>
> Warning:
>     Name: Paste
>     Class: XmPushButtonGadget
>     Illegal mnemonic character;  Could not convert X KEYSYM to a keycode
>
> I tracked this down to "Insert" not being in the pre-defined "useful"
> keysyms (Xvnc/programs/Xserver/hw/vnc/kbdptr.c) Is there any specific
> reason why "XK_Insert" was not included?
>
> This issue with Motif bindings apparently has been posted to this list
> before:
>
>   http://www.realvnc.com/pipermail/vnc-list/1999-January/004345.html
>   http://www.realvnc.com/pipermail/vnc-list/2001-July/023633.html
>
> but no one noticed that "XK_Insert" was missing.
>
> Can we get this added to the next release?
>
> Thanks,
>
> -chuck
>
> *** kbdptr.c.orig  Fri Feb 28 13:47:10 2003
> --- kbdptr.c    Tue Mar 18 17:34:07 2003
> ***************
> *** 142,145 ****
> --- 142,146 ----
>       XK_Escape,                NoSymbol,
>       XK_Delete,                NoSymbol,
> +     XK_Insert,                NoSymbol,
>
>       XK_Home,          NoSymbol,
> _______________________________________________
> VNC-List mailing list
> [EMAIL PROTECTED]
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to