Hungarian keyboard under cygwin-X
Alexander Gottwald
alexander.gottwald@s1999.tu-chemnitz.de
Wed Jan 26 17:30:00 GMT 2005
On Wed, 26 Jan 2005, [iso-8859-2] Szabó Bence wrote:
> Hello,
>
> I tried to set up hungarian keyboard under cygwin/X in my winXP box.
>
> After trying start X server, in xterm window it doesn't work correctly. If I use latin1 font, the
> 'Odoubleacute' and 'Udoubleacute' keys isn't work.
> If I tried some iso8859-2 font in my xterm it isn't work too.
> If I open a file with these letters both look good.
By default xterm starts in latin1 mode. If you use the utf8 mode it can handle
the characters properly.
xterm -u8
Other programs will require setting the LANG environment variable
LANG=hu xev
without:
KeyPress event, serial 26, synthetic NO, window 0x2600002,
root 0x53, subw 0x0, time 167925784, (114,90), root:(423,228),
state 0x0, keycode 51 (keysym 0x1fb, udoubleacute), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
with:
KeyPress event, serial 26, synthetic NO, window 0x2600002,
root 0x53, subw 0x2600003, time 167967494, (40,57), root:(368,233),
state 0x0, keycode 51 (keysym 0x1fb, udoubleacute), same_screen YES,
XLookupString gives 1 bytes: (fb) "û"
XmbLookupString gives 1 bytes: (fb) "û"
XFilterEvent returns: False
it is still printed wrong because of the latin1 charset of the mail.
BTW: can you please send me the information listed in
http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-submit-layout
I can add the hungarian layout to the table of autodetected layouts
bye
ago
--
Alexander.Gottwald@s1999.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723
More information about the Cygwin-xfree
mailing list