Error messages when typing Hebrew characters

Shachar Shemesh wine-devel at sun.consumer.org.il
Sat Jun 8 03:33:24 CDT 2002


Dmitry Timoshkov wrote:

>>>What reports xev? (And it would be a good idea to add setlocale(LC_CTYPE,"");
>>>at the very first lines of xev.c, recompile it, and check whether it still
>>>works).
>>>
>>>      
>>>
>>I did not setlocale as you suggested, but I did not set LANG= anything 
>>when running it either. My environment did not contain any LANG or LC 
>>settings at all.
>>
>>KeyPress event, serial 30, synthetic NO, window 0x2200001,
>>    root 0x31, subw 0x0, time 1260238500, (89,131), root:(681,151),
>>    state 0x2010, keycode 38 (keysym 0xcf9, hebrew_shin), same_screen YES,
>>    XLookupString gives 0 characters:  ""
>>    
>>
>      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>Yes, it has the same problem as Wine. XLookupString just returns 0 characters.
>
>Could you please try to compile and run attached program and report whether
>using XmbLookupString makes things work better? If it doesn't, please post
>its output here.
>
>Thanks.
>
>  
>
I did, but I have only a vauge idea what it was doing (my X programming 
knowledge is soso. I actually had to research my system for a few 
minutes before I found out the command line that was required in order 
to compile the program).

Output is attached. I sent it to one windows (the one activated by 
default when the program starts), and then activated the second one and 
typing again. As can be guessed, no go.

I typed a Hebrew word, followed by a english one (you can also see the 
keys used to tell kxdb to switch keyboard layouts). I am guessing that X 
needs some global config to make Hebrew work, but I don't know what or 
where it is. Maybe I need to set LC_CTYPE before running the X server?

            Shachar


-------------- next part --------------
Current locale: C
XLocaleOfIM: C
Window 1 = 2000001
Window 2 = 2000003
FocusIn for 2000001
FocusIn for 2000003

KeyRelease event, serial 19, synthetic No, window 0x2000003,

KeyPress event, serial 19, synthetic No, window 0x2000003,
Current XNFocusWindow = 2000003
    root 0x31, subw 0x0, time 1322861660, (-33,215), root:(1043,973),
    state 0x2010, keycode 38 (keysym 0xcf9, hebrew_shin), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 0 characters:  "" : 

KeyRelease event, serial 25, synthetic No, window 0x2000003,

KeyPress event, serial 25, synthetic No, window 0x2000003,
Current XNFocusWindow = 2000003
    root 0x31, subw 0x0, time 1322861780, (-33,215), root:(1043,973),
    state 0x2010, keycode 45 (keysym 0xcec, hebrew_lamed), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 0 characters:  "" : 

KeyRelease event, serial 25, synthetic No, window 0x2000003,

KeyPress event, serial 25, synthetic No, window 0x2000003,
Current XNFocusWindow = 2000003
    root 0x31, subw 0x0, time 1322862015, (-33,215), root:(1043,973),
    state 0x2010, keycode 30 (keysym 0xce5, hebrew_waw), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 0 characters:  "" : 

KeyRelease event, serial 25, synthetic No, window 0x2000003,

KeyPress event, serial 25, synthetic No, window 0x2000003,
Current XNFocusWindow = 2000003
    root 0x31, subw 0x0, time 1322862582, (-33,215), root:(1043,973),
    state 0x2010, keycode 32 (keysym 0xced, hebrew_finalmem), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 0 characters:  "" : 

KeyRelease event, serial 25, synthetic No, window 0x2000003,

KeyPress event, serial 25, synthetic No, window 0x2000003,
Current XNFocusWindow = 2000003
    root 0x31, subw 0x0, time 1322863633, (-33,215), root:(1043,973),
    state 0x2010, keycode 37 (keysym 0xffe3, Control_L), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 0 characters:  "" : 

KeyPress event, serial 25, synthetic No, window 0x2000003,
Current XNFocusWindow = 2000003
    root 0x31, subw 0x0, time 1322863640, (-33,215), root:(1043,973),
    state 0x2014, keycode 64 (keysym 0xffe9, Alt_L), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 0 characters:  "" : 
FocusIn for 2000003
Unknown event type 34

KeyRelease event, serial 25, synthetic No, window 0x2000003,

KeyRelease event, serial 25, synthetic No, window 0x2000003,

KeyRelease event, serial 25, synthetic No, window 0x2000003,

KeyPress event, serial 25, synthetic No, window 0x2000003,
Current XNFocusWindow = 2000003
    root 0x31, subw 0x0, time 1322865111, (-33,215), root:(1043,973),
    state 0x10, keycode 43 (keysym 0x68, h), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 1 characters:  "h" : 68 

KeyRelease event, serial 27, synthetic No, window 0x2000003,

KeyPress event, serial 27, synthetic No, window 0x2000003,
Current XNFocusWindow = 2000003
    root 0x31, subw 0x0, time 1322865352, (-33,215), root:(1043,973),
    state 0x10, keycode 26 (keysym 0x65, e), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 1 characters:  "e" : 65 

KeyRelease event, serial 28, synthetic No, window 0x2000003,

KeyPress event, serial 28, synthetic No, window 0x2000003,
Current XNFocusWindow = 2000003
    root 0x31, subw 0x0, time 1322865748, (-33,215), root:(1043,973),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 1 characters:  "l" : 6c 

KeyRelease event, serial 29, synthetic No, window 0x2000003,

KeyPress event, serial 29, synthetic No, window 0x2000003,
Current XNFocusWindow = 2000003
    root 0x31, subw 0x0, time 1322865918, (-33,215), root:(1043,973),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 1 characters:  "l" : 6c 

KeyRelease event, serial 30, synthetic No, window 0x2000003,

KeyPress event, serial 30, synthetic No, window 0x2000003,
Current XNFocusWindow = 2000003
    root 0x31, subw 0x0, time 1322866171, (-33,215), root:(1043,973),
    state 0x10, keycode 32 (keysym 0x6f, o), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 1 characters:  "o" : 6f 

KeyRelease event, serial 31, synthetic No, window 0x2000003,

KeyPress event, serial 31, synthetic No, window 0x2000003,
Current XNFocusWindow = 2000003
    root 0x31, subw 0x0, time 1322867019, (-33,215), root:(1043,973),
    state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 0 characters:  "" : 

KeyPress event, serial 31, synthetic No, window 0x2000003,
Current XNFocusWindow = 2000003
    root 0x31, subw 0x0, time 1322867024, (-33,215), root:(1043,973),
    state 0x14, keycode 64 (keysym 0xffe9, Alt_L), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 0 characters:  "" : 
FocusIn for 2000003
Unknown event type 34

KeyRelease event, serial 31, synthetic No, window 0x2000003,

KeyRelease event, serial 31, synthetic No, window 0x2000003,

KeyRelease event, serial 31, synthetic No, window 0x2000003,
FocusIn for 2000001

KeyPress event, serial 31, synthetic No, window 0x2000001,
Current XNFocusWindow = 2000001
    root 0x31, subw 0x0, time 1322870777, (484,-95), root:(488,663),
    state 0x2010, keycode 38 (keysym 0xcf9, hebrew_shin), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 0 characters:  "" : 

KeyRelease event, serial 32, synthetic No, window 0x2000001,

KeyPress event, serial 32, synthetic No, window 0x2000001,
Current XNFocusWindow = 2000001
    root 0x31, subw 0x0, time 1322870949, (484,-95), root:(488,663),
    state 0x2010, keycode 45 (keysym 0xcec, hebrew_lamed), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 0 characters:  "" : 

KeyRelease event, serial 32, synthetic No, window 0x2000001,

KeyPress event, serial 32, synthetic No, window 0x2000001,
Current XNFocusWindow = 2000001
    root 0x31, subw 0x0, time 1322871149, (484,-95), root:(488,663),
    state 0x2010, keycode 30 (keysym 0xce5, hebrew_waw), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 0 characters:  "" : 

KeyRelease event, serial 32, synthetic No, window 0x2000001,

KeyPress event, serial 32, synthetic No, window 0x2000001,
Current XNFocusWindow = 2000001
    root 0x31, subw 0x0, time 1322871402, (484,-95), root:(488,663),
    state 0x2010, keycode 32 (keysym 0xced, hebrew_finalmem), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 0 characters:  "" : 

KeyRelease event, serial 32, synthetic No, window 0x2000001,

KeyPress event, serial 32, synthetic No, window 0x2000001,
Current XNFocusWindow = 2000001
    root 0x31, subw 0x0, time 1322872827, (484,-95), root:(488,663),
    state 0x2010, keycode 64 (keysym 0xffe9, Alt_L), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 0 characters:  "" : 

KeyPress event, serial 32, synthetic No, window 0x2000001,
Current XNFocusWindow = 2000001
    root 0x31, subw 0x0, time 1322872835, (484,-95), root:(488,663),
    state 0x2018, keycode 37 (keysym 0xffe3, Control_L), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 0 characters:  "" : 
FocusIn for 2000001
Unknown event type 34

KeyRelease event, serial 32, synthetic No, window 0x2000001,

KeyRelease event, serial 32, synthetic No, window 0x2000001,

KeyRelease event, serial 32, synthetic No, window 0x2000001,

KeyPress event, serial 32, synthetic No, window 0x2000001,
Current XNFocusWindow = 2000001
    root 0x31, subw 0x0, time 1322875277, (484,-95), root:(488,663),
    state 0x10, keycode 43 (keysym 0x68, h), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 1 characters:  "h" : 68 

KeyRelease event, serial 34, synthetic No, window 0x2000001,

KeyPress event, serial 34, synthetic No, window 0x2000001,
Current XNFocusWindow = 2000001
    root 0x31, subw 0x0, time 1322875481, (484,-95), root:(488,663),
    state 0x10, keycode 26 (keysym 0x65, e), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 1 characters:  "e" : 65 

KeyRelease event, serial 35, synthetic No, window 0x2000001,

KeyPress event, serial 35, synthetic No, window 0x2000001,
Current XNFocusWindow = 2000001
    root 0x31, subw 0x0, time 1322875782, (484,-95), root:(488,663),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 1 characters:  "l" : 6c 

KeyRelease event, serial 36, synthetic No, window 0x2000001,

KeyPress event, serial 36, synthetic No, window 0x2000001,
Current XNFocusWindow = 2000001
    root 0x31, subw 0x0, time 1322875958, (484,-95), root:(488,663),
    state 0x10, keycode 46 (keysym 0x6c, l), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 1 characters:  "l" : 6c 

KeyRelease event, serial 37, synthetic No, window 0x2000001,

KeyPress event, serial 37, synthetic No, window 0x2000001,
Current XNFocusWindow = 2000001
    root 0x31, subw 0x0, time 1322876125, (484,-95), root:(488,663),
    state 0x10, keycode 32 (keysym 0x6f, o), same_screen Yes,
     XFilterEvent returns: False
    XmbLookupString gives 1 characters:  "o" : 6f 

KeyRelease event, serial 38, synthetic No, window 0x2000001,


More information about the wine-devel mailing list