Portable Cygwin works, but XWin fails

Alexander Gottwald alexander.gottwald@s1999.tu-chemnitz.de
Thu Dec 11 07:43:00 GMT 2003


On Wed, 10 Dec 2003 fergus@bonhard.uklinux.net wrote:

> Just one final question: when I get into rxvt after "XWin -nolisten
> local -multiwindow &", the keyboard suddenly becomes USA, whereas it is set
> (correctly) to UK otherwise, within bash, within rxvt and for that matter
> within Windows. In this case, when I exit rxvt back to bash, the UK keyboard
> is recovered.

please do not mix terms like rxvt and bash if you really mean rxvt, xterm or 
windows console. 

Assuming you meant the native console terminal of windows (cmd.exe) with bash:

Every X Client (and rxvt is one too) receives the input from the xserver which 
has a keycode to symbol translatio which is independent from windows. This
translation must be properly setup and this uses /tmp for this purpose. If /tmp
is not writable the you will end up with the default translation which is en_US.

Solution: Mount /tmp to the windows tempdir

mount -bu $(cygpath -m $TEMP) /tmp or
mount -bu $WINDIR/Temp /tmp  
 
bye
	ago
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723



More information about the Cygwin-xfree mailing list