This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Hungarian keyboard under cygwin-X
- From: Alexander Gottwald <alexander dot gottwald at s1999 dot tu-chemnitz dot de>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 26 Jan 2005 12:13:02 +0100 (MET)
- Subject: Re: Hungarian keyboard under cygwin-X
- References: <1Ctjz0-0002Kp-00-mx1@gate.westel900.hu>
- Reply-to: cygwin-xfree at cygwin dot com
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