Re: Russian Keymap

2004-03-24 Thread David Snopek

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

2004-03-23 Thread David Snopek

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

2004-03-23 Thread David Snopek

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