Thank you guys for the tips,
in the meantime I did some more search and found /usr/openwin/demo/xev on my 
Sun Solaris machine.
Unfortunately, more confusion followed:
1. I found I've got four different keyboard mappings: two for each keyboard (my 
home Windows
keyboard and my work Sun keyboard), different 'xmodmap -pke' when I work 
directly (or ssh) and
when I work through VNC viewer. Quite screwed up! And I am not even mentioning 
here that some keys
work only in "Full Screen" mode since that's OK.

2. After running "xev", I found that
   * my Caps_Lock event is picked up by the Linux and just switched caps, not 
detected and
reported by xev
   * All other keys report to xev and I see their respective code numbers, so I 
figured that's
"almost" OK since I have 104 keys and at least three are extra (Menu, Super_R, 
and F13).

3. I went into a "Full Screen" VNC terminal and typed 
      xmodmap -e 'keysym F13 = F15 F15 SunFront'
      xmodmap -e 'keycode 254 = F15 F15 SunFront'
and a number of similar commands, all in vain! No special key could be turned 
into SunFront! In
fact, when I typed xmodmap -pke again, I saw that the special Windows keys had 
been miraculously
moved to other keycodes (which was confirmed by xev). So of these keys (I also 
did Alt_R) moves to
a blank code when I remap its code to SunFront?!

Wez, thanks for the -RemapKeys option tip of vncserver 4.1. In order to try it 
however, I need to
run xev at work (on Monday) and see the symbolic code of SunFront, then try to 
map one of my home
keyboard symbols to that one. At first, I was confused by the hex notation of 
keysyms (I looked up
the Xvnc manual), but I guess it may be more specific and error-proof than s.th 
like "F15 F15
SunFront".

More ideas?

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
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