xmodmap patch to vnc 3.3.3

Marius Kotsbak marikots "at" stud.aitel.hist.no
Wed, 20 Mar 2002 15:51:17 +0000


On Wed, 2002-03-20 at 16:44, Grant McDorman wrote:
> According to Marius Kotsbak:
> > On Wed, 2002-03-20 at 16:02, Grant McDorman wrote:
> > > According to Marius:
> > > > Grant McDorman wrote:
> > I am NOT using xmodmap with keycodes myself, just keysyms. The keycodes
> > are preconfigured for vnc (havent't changed anything in vnc), just as in
> > normal X session.
> > 
> > The opposite work though, i can use keysym "s = aring" and i get the
> > norwegian character "aring" when i press s. But mapping from the
> > aring-button to s is impossible. xmodmap does not complain, but it has
> > no effect.
> > 
> > Could it be that vnc is not handling keycodes outside the US keyboard
> > right? 
> 
> VNC doesn't include non-U.S. keysyms in its static keymap. Any keysym that
> it receives outside of this static keymap is dynamically added.
> 
> What happens is the VNC client sends the keysym. If the server finds it in
> its keymap, it uses that; otherwise, it creates a new entry which, of
> course, maps the incoming keysym to itself.
> 
> I'm not sure how one could manage to remap a keysym outside the static
> keymap at startup. However, to see if it works, try this: Press your aring
> key; then do 'xmodmap -e "keysym aring = s"'.
As I said; I have tried exactly that one. It is accepted, but has no
effect. 

> 
> I'll look at the source for 3.3.3 and see if there is something that can be
> cooked up.
> 
> -- 
> 
> Grant McDorman <grant.mcdorman "at" cedara.com>, Sr. Software Design Consultant
> Cedara Software Corp.  <URL:http://www.cedara.com>
>   (formerly I.S.G. Technologies Inc.)
> Mississauga, Ontario, Canada
---------------------------------------------------------------------
To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------