Hi All

I am seeing similar problem using an danish keyboard (extended HP keyboard).
I am running the windows Viewer version 3.3.3 R3. a running vncserver

What really started me was, that I could not type the tilde key, so I tried
starting xev to see which kodes were tansferred, and this was quite
interesting.

But before you start reading you should know that on this keyboard '~' is
located on the same key as '(' and '^' it to be accessed using the
Alt-modifier.

If you have any good hints on what I should/could do I would greatly
appreciate it.

Here is the output of xev with my comments:

# Here I press down Alt Gr.
KeyPress event, serial 22, synthetic NO, window 0x1c00001,
    root 0x25, subw 0x0, time 2688385974, (11,211), root:(779,235),
    state 0x0, keycode 8 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyPress event, serial 22, synthetic NO, window 0x1c00001,
    root 0x25, subw 0x0, time 2688385979, (11,211), root:(779,235),
    state 0x4, keycode 15 (keysym 0xffea, Alt_R), same_screen YES,
    XLookupString gives 0 characters:  ""

#Here I press down the '~' key.
KeyPress event, serial 22, synthetic NO, window 0x1c00001,
    root 0x25, subw 0x0, time 2688386679, (11,211), root:(779,235),
    state 0xc, keycode 10 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyPress event, serial 22, synthetic NO, window 0x1c00001,
    root 0x25, subw 0x0, time 2688386679, (11,211), root:(779,235),
    state 0xd, keycode 33 (keysym 0x7e, asciitilde), same_screen YES,
    XLookupString gives 1 characters:  "#"

KeyRelease event, serial 22, synthetic NO, window 0x1c00001,
    root 0x25, subw 0x0, time 2688386679, (11,211), root:(779,235),
    state 0xd, keycode 10 (keysym 0xffe1, Shift_L), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyPress event, serial 22, synthetic NO, window 0x1c00001,
    root 0x25, subw 0x0, time 2688386692, (11,211), root:(779,235),
    state 0xc, keycode 90 (keysym 0xa8, diaeresis), same_screen YES,
    XLookupString gives 1 characters:  "("

KeyRelease event, serial 22, synthetic NO, window 0x1c00001,
    root 0x25, subw 0x0, time 2688386817, (11,211), root:(779,235),
    state 0xc, keycode 33 (keysym 0x60, grave), same_screen YES,
    XLookupString gives 1 characters:  ""

KeyRelease event, serial 22, synthetic NO, window 0x1c00001,
    root 0x25, subw 0x0, time 2688386823, (11,211), root:(779,235),
    state 0xc, keycode 90 (keysym 0xa8, diaeresis), same_screen YES,
    XLookupString gives 1 characters:  "("

# Here I release the Alt Gr. key.
KeyRelease event, serial 22, synthetic NO, window 0x1c00001,
    root 0x25, subw 0x0, time 2688392703, (11,211), root:(779,235),
    state 0xc, keycode 8 (keysym 0xffe3, Control_L), same_screen YES,
    XLookupString gives 0 characters:  ""

KeyRelease event, serial 22, synthetic NO, window 0x1c00001,
    root 0x25, subw 0x0, time 2688392704, (11,211), root:(779,235),
    state 0x8, keycode 15 (keysym 0xffea, Alt_R), same_screen YES,
    XLookupString gives 0 characters:  ""# Here I press down the tilde key.
# It is not quite clear when I release the tilde key as I can not hold the
key down due to the repeat function

When I use the ordinary Alt key I get a different but also useless result
her xev give the following output:

# Here I press down the Alt Gr. key.
KeyPress event, serial 22, synthetic NO, window 0x1c00001,
    root 0x25, subw 0x0, time 2689847405, (10,209), root:(778,233),
    state 0x0, keycode 14 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 characters:  ""

# Here I press down the tilde key.
KeyPress event, serial 22, synthetic NO, window 0x1c00001,
    root 0x25, subw 0x0, time 2689848980, (10,209), root:(778,233),
    state 0x8, keycode 90 (keysym 0xa8, diaeresis), same_screen YES,
    XLookupString gives 1 characters:  "("

KeyRelease event, serial 22, synthetic NO, window 0x1c00001,
    root 0x25, subw 0x0, time 2689848986, (10,209), root:(778,233),
    state 0x8, keycode 90 (keysym 0xa8, diaeresis), same_screen YES,
    XLookupString gives 1 characters:  "("

KeyPress event, serial 22, synthetic NO, window 0x1c00001,
    root 0x25, subw 0x0, time 2689848986, (10,209), root:(778,233),
    state 0x8, keycode 90 (keysym 0xa8, diaeresis), same_screen YES,
    XLookupString gives 1 characters:  "("

KeyRelease event, serial 22, synthetic NO, window 0x1c00001,
    root 0x25, subw 0x0, time 2689849109, (10,209), root:(778,233),
    state 0x8, keycode 90 (keysym 0xa8, diaeresis), same_screen YES,
    XLookupString gives 1 characters:  "("

# Here I release the Alt key.
KeyRelease event, serial 22, synthetic NO, window 0x1c00001,
    root 0x25, subw 0x0, time 2689850101, (10,209), root:(778,233),
    state 0x8, keycode 14 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 characters:  ""

> Original message.
>...And this is exactly who it should be - except
>for the fact that on a DE keyboard "~" [tilde]
>should not be diacritical/non-spacing but straight
>ascii which is called by alt_ctrl. On a DE (not
>swiss DE) keyboard only accutus "4" gravis "`"
>and circumflex "^" are ususally non-spacing/
>diacritical to put them on top of e.g. "E/e" and
>"A/a". To get one single non-spacing character
>you would strike SPACE after that character
>exactly as described below. The same applies
>to non-spacing characters on French/swiss German
>(e.g. cedilla), Latin, Polish etc keyboards.
>This is because the keyboard chip/locales
>do not allow for all character to be displayed
>below or on top of a non-spacer such as "^".
>^p doesn't work but j/J and b/B.
>Dietmar
>
>-----Original Message-----
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]On Behalf Of Ceri Hankey
>Sent: Saturday, September 29, 2001 2:10 AM
>To: [EMAIL PROTECTED]
>Subject: Re: serious VNC BUG!!!!! >>
>
>Ihave noticed this in SOME Windows applications as well as in Linux. I have
>found that the answer seems to be to type a SPACE after the first
>diacritical character if that is all you want to see
>
>eg (And I have just found that Outlook Express does just THAT!!!!)
>if you want to type 1234567~.DOS then enter '1234567~[SPACE].DOS'.
>
>Regards,
>
>Ceri Hankey
>----- Original Message -----
>From: "[EMAIL PROTECTED]"
><[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Friday, September 28, 2001 8:59 PM
>Subject: RE: serious VNC BUG!!!!!
>
>> Sorry, but this is not reproduceable in my environs.
>> Diacritical characters generally do not appear on the first
>> keyclick but double on a second keyclick. This is normal because
>> diacritical characters wait for the (next) character they should
>> appear above, below or whatever. Hence, if there's no character
>> such as an "e" which can carry a circumflex the two characters
>> will be put out in sequence thus the first keyclick on circumflex
>> displays nothing an the second will display evoke "^^".
>> Upon this post I've tested this in windows to windows and windows
>> to linux and have not observed the "BUG" phenomenon, rather
>> regular behaviour as described above. One reason for this to
>> occur one could reason is incompatible keyboard mapping on
>> the Linux and Windows side
>> Dietmar
>>
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]]On Behalf Of Clemens Resanka
>> Sent: Friday, September 28, 2001 8:14 PM
>> To: [EMAIL PROTECTED]
>> Subject: serious VNC BUG!!!!!
>>
>>
>> Hi all,
>>
>> Meanwhile I've tried it on several machines and the problem seems to
>> appear everywhere. So imho this definetly is a bug in VNC. TightVNC
>> has the same problem.
>>
>> You should be able to reproduce the problem easily:
>> - In Win2000 Control Panel/Keyboard/InputLocales select the keyboard
>> layout German or German(IBM)
>>
>> - Under Linux (only tried 2.4.x kernels, several distributions) start
>> a vncserver
>>
>> - Under Windows start a vnc viewer and connect to the linux box.
>>
>> - In VNC press the key left to the 1 key, right above the tab key on
>> your keyboard. On the german keyboard, this is where the cirumflex
>> letter is.
>>
>> Instead of one circumflex character, two of these ^^ appear.
>> In any other windows-application this does not appear so in my eyes,
>> this has to be a bug in VNC.
>>
>>
>> So far..
>>
>> - Clemens -
>> ---------------------------------------------------------------------
>> To unsubscribe, mail [EMAIL PROTECTED] with the line:
>> 'unsubscribe vnc-list' in the message BODY
>> See also: http://www.uk.research.att.com/vnc/intouch.html
>> ---------------------------------------------------------------------
>> ---------------------------------------------------------------------
>> To unsubscribe, mail [EMAIL PROTECTED] with the line:
>> 'unsubscribe vnc-list' in the message BODY
>> See also: http://www.uk.research.att.com/vnc/intouch.html
>> ---------------------------------------------------------------------
>---------------------------------------------------------------------
>To unsubscribe, mail [EMAIL PROTECTED] with the line:
>'unsubscribe vnc-list' in the message BODY
>See also: http://www.uk.research.att.com/vnc/intouch.html
>---------------------------------------------------------------------
>---------------------------------------------------------------------
>To unsubscribe, mail [EMAIL PROTECTED] with the line:
>'unsubscribe vnc-list' in the message BODY
>See also: http://www.uk.research.att.com/vnc/intouch.html
>---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------

Reply via email to