Re: Russian Keymap
Alexander Gottwald said: David Snopek wrote: KeyPress event, serial 17, synthetic NO, window 0xc1, 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 0xc1, 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 #1072; 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 Yes, I tried this on my Linux machine and it works perfectly. Unfortunately, it has no effect under Cygwin. Also, it causes gtypist to start with the deceptive error message: (null): i18n problem: invalid value for msgid Y/N: #1044;/#1053; And it prints the correct cyrillic characters for Deh and En! So, parts of it are atleast working. This whole thing is really, really irritating. I guess I will just use my linux machine for typing practice. Since Windows itself supports the proper keymap, I can get by. Thank you. -- David Snopek
Russian Keymap
Hi, I am trying to get gtypist working under cygwin so I can learn to type better in Russian. I have a US keyboard that should be maped to Russian the same way MS Windows does (not sure if this is the only way). I can get xterm to show cyrillic characters properly using -fn. But nothing I try can get the keymap right. Doing setxkbmap ru will cause xterm to show nothing on keypress and gtypist will show '^' characters. Thank you, - #1044;#1072;#1074;#1080;#1076;. PS: I am not on the list, so remember to CC: me!!
Re: Russian Keymap
On Tue, 23 Mar 2004, David Snopek wrote: Hi, I am trying to get gtypist working under cygwin so I can learn to type better in Russian. I have a US keyboard that should be maped to Russian the same way MS Windows does (not sure if this is the only way). I can get xterm to show cyrillic characters properly using -fn. But nothing I try can get the keymap right. Doing setxkbmap ru will cause xterm to show nothing on keypress and gtypist will show '^' characters. what does xev report on keypress? bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: Russian Keymap
Alexander Gottwald said: On Tue, 23 Mar 2004, David Snopek wrote: Hi, I am trying to get gtypist working under cygwin so I can learn to type better in Russian. I have a US keyboard that should be maped to Russian the same way MS Windows does (not sure if this is the only way). I can get xterm to show cyrillic characters properly using -fn. But nothing I try can get the keymap right. Doing setxkbmap ru will cause xterm to show nothing on keypress and gtypist will show '^' characters. what does xev report on keypress? KeyPress event, serial 17, synthetic NO, window 0xc1, 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 0xc1, 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 #1072; that its the cyrillic a but the XLookupString returns as the represention? Thank you. -- David Snopek Satellite Computing Solutions, LLC
Re: Russian Keymap
David Snopek wrote: KeyPress event, serial 17, synthetic NO, window 0xc1, 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 0xc1, 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 #1072; 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 0x2c1, root 0x48, subw 0x2c2, 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 0x2c1, root 0x48, subw 0x2c2, 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) -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: Russian Keymap
David Snopek [EMAIL PROTECTED] writes: So it knows when I press #1072; that its the cyrillic a but the XLookupString returns as the represention? Probably it's a locale issue (try setting LANG environment variable to ru before starting xterm). -- With regards, Roman.