Comment 8 for bug 52534

Revision history for this message
Apazoglou Theodoros (apazoglouthodoris) wrote : Re: [Bug 52534] Re: @ sign (ASCII 64) received via synergy transformed into Ω (unicode 03A9) on output

Please don't send me emails.

Απάζογλου Θεόδωρος

--- Στις Τρίτ., 05/10/10, ο/η Book 'em Dano <email address hidden> έγραψε:

Από: Book 'em Dano <email address hidden>
Θέμα: [Bug 52534] Re: @ sign (ASCII 64) received via synergy transformed into Ω (unicode 03A9) on output
Προς: <email address hidden>
Ημερομηνία: Τρίτη, 5 Οκτώβριος 2010, 22:22

** Also affects: synergy-plus via
   http://code.google.com/p/synergy-plus/issues/detail?id=62
   Importance: Unknown
       Status: Unknown

--
@ sign (ASCII 64) received via synergy transformed into Ω (unicode 03A9) on output
https://bugs.launchpad.net/bugs/52534
You received this bug notification because you are a member of Ubuntu
Greece, which is a direct subscriber.

Status in Synergy+: Unknown
Status in “synergy” package in Ubuntu: Confirmed
Status in “synergy” package in Debian: New

Bug description:
Binary package hint: synergy

Running synergy client on my Ubuntu desktop with British keyboard layout,  when I press [shift] + ['] for @ on my server, Synergy receives ASCII 64 for the at sign correctly, but Ubuntu turns it into unicode 03A9 (Greek capital letter Omega, Ω) on output into any program I've tested (e.g. Gedit, Gnome Terminal, XChat). Is it a coincidence that the ASCII for apostrophe is 39? Other key combinations (e.g. [shift] + [#] for ~) that I've tested seem to work fine.

Here's the relevant section from my synergy logs (debug level DEBUG1) on the client machine:

DEBUG1: CServerProxy.cpp,562: recv key down id=0x0000efe1, mask=0x0001, button=0x002a
DEBUG1: CKeyMap.cpp,260: mapKey efe1 (61409) with mask 0001, start state: 0000
DEBUG1: CKeyMap.cpp,610: find best:  0000 0001
DEBUG1: CKeyMap.cpp,691: best key index 0 of 1 (exact)
DEBUG1: CKeyMap.cpp,616: found key in group 0
DEBUG1: CKeyMap.cpp,783: state: 0000,0000,0000
DEBUG1: CKeyMap.cpp,876: flip: 0000 (0000 vs 0000 in 0000 - 0000)
DEBUG1: CKeyMap.cpp,795: desired state: 0001 0000,0000,0000
DEBUG1: CKeyMap.cpp,876: flip: 0000 (0000 vs 0001 in fffe - 6020)
DEBUG1: CKeyMap.cpp,322: mapped to 032, new state 0001
DEBUG1: CKeyState.cpp,800: keystrokes:
DEBUG1: CXWindowsKeyState.cpp,208:   032 (00000000) down
DEBUG1: CServerProxy.cpp,562: recv key down id=0x00000040, mask=0x0001, button=0x0028
DEBUG1: CKeyMap.cpp,260: mapKey 0040 (64) with mask 0001, start state: 0001
DEBUG1: CKeyMap.cpp,610: find best:  0001 0001
DEBUG1: CKeyMap.cpp,691: best key index 1 of 3 (exact)
DEBUG1: CKeyMap.cpp,616: found key in group 0
DEBUG1: CKeyMap.cpp,783: state: 0001,1021,1021
DEBUG1: CKeyMap.cpp,876: flip: 1020 (0001 vs 1021 in 1021 - 0000)
DEBUG1: CKeyMap.cpp,795: desired state: 0001 1021,1021,1021
DEBUG1: CKeyMap.cpp,876: flip: 0000 (1021 vs 0001 in efde - 6020)
DEBUG1: CKeyMap.cpp,322: mapped to 018, new state 0001
DEBUG1: CKeyState.cpp,800: keystrokes:
DEBUG1: CXWindowsKeyState.cpp,208:   042 (00000000) down
DEBUG1: CXWindowsKeyState.cpp,208:   042 (00000000) up
DEBUG1: CXWindowsKeyState.cpp,208:   071 (00000000) down
DEBUG1: CXWindowsKeyState.cpp,208:   018 (00000000) down
DEBUG1: CXWindowsKeyState.cpp,208:   071 (00000000) up
DEBUG1: CXWindowsKeyState.cpp,208:   042 (00000000) down
DEBUG1: CXWindowsKeyState.cpp,208:   042 (00000000) up
DEBUG1: CServerProxy.cpp,609: recv key up id=0x00000040, mask=0x0001, button=0x0028
DEBUG1: CKeyState.cpp,800: keystrokes:
DEBUG1: CXWindowsKeyState.cpp,208:   018 (00000000) up
DEBUG1: CServerProxy.cpp,609: recv key up id=0x0000efe1, mask=0x0000, button=0x002a
DEBUG1: CKeyState.cpp,653: new state 0000
DEBUG1: CKeyState.cpp,800: keystrokes:
DEBUG1: CXWindowsKeyState.cpp,208:   032 (00000000) up

(For your information, I'm using a British Thinkpad T40 with Windows and Synergy 1.3.1 as my server, though this shouldn't be relevant as the client is receiving the correct ASCII code.)