This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Russian Keymap


David Snopek wrote:

> KeyPress event, serial 17, synthetic NO, window 0xc00001,
>     root 0x3a, subw 0x0, time 6207984, (442,250), root:(512,367),
>     state 0x10, keycode 41 (keysym 0x6c1, Cyrillic_a), same_screen YES,
>     XLookupString gives 0 bytes:  ""
>
> KeyRelease event, serial 22, synthetic NO, window 0xc00001,
>     root 0x3a, subw 0x0, time 6208109, (442,250), root:(512,367),
>     state 0x10, keycode 41 (keysym 0x6c1, Cyrillic_a), same_screen YES,
>     XLookupString gives 0 bytes:  ""
>
> So it knows when I press "а" that its the cyrillic "a" but the
> XLookupString returns "" as the represention?

This worked for me (running linux):
(taken from http://koi8.pp.ru/frame.html?/xwin.html)

$ export LANG=ru_RU.KOI8-R
$ xev

KeyPress event, serial 27, synthetic NO, window 0x2c00001,
    root 0x48, subw 0x2c00002, time 2609951, (41,46), root:(46,890),
    state 0x0, keycode 38 (keysym 0x6c6, Cyrillic_ef), same_screen YES,
    XLookupString gives 1 bytes:  "Æ"

KeyRelease event, serial 27, synthetic NO, window 0x2c00001,
    root 0x48, subw 0x2c00002, time 2610073, (41,46), root:(46,890),
    state 0x0, keycode 38 (keysym 0x6c6, Cyrillic_ef), same_screen YES,
    XLookupString gives 1 bytes:  "Æ"

Please report if it works.

bye
    ago

NP: Lights Of Euphoria - True Life (God Module Remix)
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de
 http://www.gotti.org           ICQ: 126018723


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]