This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Portable Cygwin works, but XWin fails


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]