Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 19 Aug 2002 13:34:45 -0400 From: Christopher Faylor To: cygwin-xfree AT cygwin DOT com Cc: cygwin AT cygwin DOT com Subject: Re: Bug (minor): xfree86 loses state of caps lock Message-ID: <20020819173445.GF19239@redhat.com> Reply-To: cygwin-xfree AT cygwin DOT com Mail-Followup-To: cygwin-xfree AT cygwin DOT com, cygwin AT cygwin DOT com References: <9F2B2FB009DBD244BC5E17C10358F68C02D31037 AT ntuszg07 DOT uszg DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9F2B2FB009DBD244BC5E17C10358F68C02D31037@ntuszg07.uszg.com> User-Agent: Mutt/1.3.23.1i Redirected to the correct mailing list. On Mon, Aug 19, 2002 at 10:05:56AM -0700, ZAWE (Zasha Weinberg) wrote: > >I'm running XFree86 on cygwin under Windows 2000 (output of cygcheck is >below) and have come accross the following minor bug: it is possible to make >XFree86 think that the caps lock state is the opposite of what the rest of >Windows and the caps locks keyboard LED think. > >To reproduce this: >(1) Run XWin using the standard startxwin.sh >(2) Click in the root window to get twm to place the xterm window somewhere, >and place the mouse cursor in the xterm window, so the xterm has keyboard >focus (actually, as far as I can tell, it's possible to reproduce this bug >in an xterm at any time, not just immediately after XWin startup) >(3) Press caps lock, but don't release it >(4) While continuing to hold down caps lock, move the mouse cursor over one >of the program icons in the windows task bar, e.g. Internet Explorer >(5) Release caps lock with the mouse cursor over the program icon >(6) Set the focus once more on the xterm & type some letters: xterm and >other XFree86-hosted applications behave as if caps lock is off, but the >caps lock LED light on the keyboard is on, and all Windows applications >behave as if caps lock is on. If you press caps lock again, the reverse is >true. Thus XFree86 has the opposite state of the caps lock key. > >Although the steps to reproduce the problem seem obscure, I somehow manage >to do it surprisingly often -- I'm not sure why I hit caps lock at all, but >I apparently do. But, this is clearly a minor bug and some of the >workarounds are obvious. > >Workarounds: >- (obvious) quit & re-start XFree86 >- (obvious) Toggle caps lock when switching between a Windows and an >XFree86-hosted application, or use the shift key to type letters in the >correct case >- Perform the above steps that reproduce the problem, which will put XFree86 >back in sync with Windows > >The rest of this message is the output of cygcheck -s -v -r: >----------snip------------- > >Cygwin Win95/NT Configuration Diagnostics >Current System Time: Fri Aug 16 16:51:03 2002 > >Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2 > >Path: C:\cygwin\usr\X11R6\bin > C:\cygwin\usr\local\bin > C:\cygwin\bin > C:\cygwin\bin > C:\cygwin\usr\X11R6\bin > C:\cygwin\usr\local\bin\netpbm > C:\cygwin\bin > c:\WINNT\system32 > c:\WINNT > c:\WINNT\System32\Wbem > >SysDir: C:\WINNT\System32 >WinDir: C:\WINNT > >HOME = `C:\cygwin\zawe' >MAKE_MODE = `unix' >PWD = `/c/zasha/code/RasMol_2.7.1.1/src' >USER = `ZAWE' > >ALLUSERSPROFILE = `C:\Documents and Settings\All Users' >APPDATA = `C:\Documents and Settings\zawe\Application Data' >COMMONPROGRAMFILES = `C:\Program Files\Common Files' >COMPUTERNAME = `USZGA0393' >COMSPEC = `C:\WINNT\system32\cmd.exe' >DISPLAY = `:0.0' >HOMEDRIVE = `C:' >HOMEPATH = `\cygwin\zawe' >HOMESHARE = `\\ntuszg01\users' >LOGNAME = `ZAWE' >LOGONSERVER = `\\QUIMBY' >MANPATH = `:/usr/ssl/man' >NUMBER_OF_PROCESSORS = `1' >OLDPWD = `/zawe/sims-f77' >OS2LIBPATH = `C:\WINNT\system32\os2\dll;' >OS = `Windows_NT' >PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' >PROCESSOR_ARCHITECTURE = `x86' >PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping 2, GenuineIntel' >PROCESSOR_LEVEL = `6' >PROCESSOR_REVISION = `0502' >PROGRAMFILES = `C:\Program Files' >PROMPT = `$P$G' >PS1 = `\[\033]0;\w\007 >\033[32m\]\u@\h \[\033[33m\w\033[0m\] >$ ' >SHLVL = `3' >SYSTEMDRIVE = `C:' >SYSTEMROOT = `C:\WINNT' >TEMP = `c:\DOCUME~1\zawe\LOCALS~1\Temp' >TERM = `xterm' >TMP = `c:\DOCUME~1\zawe\LOCALS~1\Temp' >USERDOMAIN = `USZG' >USERNAME = `ZAWE' >USERPROFILE = `C:\Documents and Settings\zawe' >WINDIR = `C:\WINNT' >WINDOWID = `29360142' >WMAKER_BIN_NAME = `wmaker' >WRASTER_COLOR_RESOLUTION0 = `4' >_ = `/usr/bin/cygcheck' > >HKEY_CURRENT_USER\Software\Cygnus Solutions >HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin >HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 >HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 > (default) = `/cygdrive' > cygdrive flags = 0x00000022 >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ > (default) = `C:\cygwin' > flags = 0x0000000a >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin > (default) = `C:\cygwin/bin' > flags = 0x0000000a >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib > (default) = `C:\cygwin/lib' > flags = 0x0000000a >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts >v2\/usr/X11R6/lib/X11/fonts > (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts' > flags = 0x0000000a >HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options > >a: fd N/A N/A >c: hd NTFS 3075Mb 91% CP CS UN PA FC >d: fd N/A N/A >e: cd N/A N/A >f: net NTFS 100151Mb 39% CP CS UN PA FC >g: net NTFS 204789Mb 52% CP CS UN PA FC >h: net NTFS 204789Mb 52% CP CS UN PA FC >i: net NTFS 204789Mb 52% CP CS UN PA FC >j: net NTFS 204799Mb 68% CP CS UN PA FC >k: net NTFS 204789Mb 52% CP CS UN PA FC >m: net NTFS 204799Mb 68% CP CS UN PA FC >n: net NTFS 204799Mb 68% CP CS UN PA FC >o: net NTFS 204789Mb 52% CP CS UN PA FC >p: net NTFS 169561Mb 56% CP CS UN PA FC >s: net NTFS 204789Mb 52% CP CS UN PA FC >t: net NTFS 204799Mb 68% CP CS UN PA FC >u: net NTFS 204799Mb 68% CP CS UN PA FC >w: net NTFS 204799Mb 68% CP CS UN PA FC > >C:\cygwin / system binmode >C:\cygwin/bin /usr/bin system binmode >C:\cygwin/lib /usr/lib system binmode >C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode >. /cygdrive user >binmode,cygdrive > >Found: C:\cygwin\bin\bash.exe >Found: C:\cygwin\bin\cat.exe >Found: C:\cygwin\bin\cpp.exe >Found: C:\cygwin\bin\find.exe >Found: C:\cygwin\bin\gcc.exe >Found: C:\cygwin\bin\gdb.exe >Found: C:\cygwin\bin\ld.exe >Found: C:\cygwin\bin\ls.exe >Found: C:\cygwin\bin\make.exe >Found: C:\cygwin\bin\sh.exe > > 41k 2002/05/14 C:\cygwin\usr\X11R6\bin\cygPropList-0.dll - os=4.0 img=1.0 >sys=4.0 > "cygPropList-0.dll" v0.0 ts=2002/5/13 20:13 > 58k 2002/05/07 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0 > "cygbz2-1.dll" v0.0 ts=2002/5/6 23:33 > 621k 2002/05/17 C:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0 > "cygcrypto.dll" v0.0 ts=2002/5/17 5:24 > 45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0 > "cygform5.dll" v0.0 ts=2001/4/24 22:28 > 35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0 > "cygform6.dll" v0.0 ts=2002/1/8 22:03 > 19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0 > "cyggdbm.dll" v0.0 ts=2002/2/19 19:05 > 17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0 > "cyghistory4.dll" v0.0 ts=2001/1/6 20:34 > 20k 2002/01/13 C:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0 > "cyghistory5.dll" v0.0 ts=2002/1/12 17:27 > 929k 2002/06/24 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0 > "cygiconv-2.dll" v0.0 ts=2002/6/24 11:24 > 22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0 > "cygintl-1.dll" v0.0 ts=2001/12/13 1:28 > 23k 2002/06/24 C:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0 > "cygintl-2.dll" v0.0 ts=2002/6/23 21:54 > 21k 2001/06/20 C:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0 > "cygintl.dll" v0.0 ts=2001/6/20 10:09 > 81k 2000/12/05 C:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0 > "cygitcl30.dll" v0.0 ts=2000/11/25 17:43 > 35k 2000/12/05 C:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0 > "cygitk30.dll" v0.0 ts=2000/11/25 17:43 > 119k 2002/02/09 C:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0 > "cygjpeg6b.dll" v0.0 ts=2002/2/8 21:19 > 25k 2002/05/08 C:\cygwin\bin\cygltdl-3.dll - os=4.0 img=1.0 sys=4.0 > "cygltdl-3.dll" v0.0 ts=2002/5/8 16:46 > 26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0 > "cygmenu5.dll" v0.0 ts=2001/4/24 22:27 > 20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0 > "cygmenu6.dll" v0.0 ts=2002/1/8 22:03 > 156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0 > "cygncurses++5.dll" v0.0 ts=2001/4/24 22:29 > 175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0 > "cygncurses++6.dll" v0.0 ts=2002/1/8 22:03 > 226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0 > "cygncurses5.dll" v0.0 ts=2001/4/24 22:17 > 202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0 > "cygncurses6.dll" v0.0 ts=2002/1/8 22:03 > 15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0 > "cygpanel5.dll" v0.0 ts=2001/4/24 22:27 > 12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0 > "cygpanel6.dll" v0.0 ts=2002/1/8 22:03 > 40k 2001/11/21 C:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0 > "cygpcre.dll" v0.0 ts=2001/11/21 14:15 > 39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0 > "cygpcreposix.dll" v0.0 ts=2001/11/21 14:15 > 171k 2002/05/07 C:\cygwin\bin\cygpng10.dll - os=4.0 img=1.0 sys=4.0 > "cygpng10.dll" v0.0 ts=2002/5/7 11:53 > 175k 2002/05/24 C:\cygwin\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0 > "cygpng12.dll" v0.0 ts=2002/5/23 19:22 > 170k 2002/01/21 C:\cygwin\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0 > "cygpng2.dll" v0.0 ts=2002/1/20 17:05 > 22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0 > "cygpopt-0.dll" v0.0 ts=2002/6/8 22:45 > 108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0 > "cygreadline4.dll" v0.0 ts=2001/1/6 20:34 > 121k 2002/01/13 C:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0 > "cygreadline5.dll" v0.0 ts=2002/1/12 17:27 > 156k 2002/05/17 C:\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0 > "cygssl.dll" v0.0 ts=2002/5/17 5:24 > 390k 2000/12/05 C:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0 > "cygtcl80.dll" v0.0 ts=2000/11/25 17:39 > 5k 2000/12/05 C:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0 > 10k 2000/12/05 C:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0 > "cygtclreg80.dll" v0.0 ts=2000/11/25 17:39 > 253k 2002/02/10 C:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0 > "cygtiff3.dll" v0.0 ts=2002/2/10 0:34 > 623k 2000/12/05 C:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0 > "cygtk80.dll" v0.0 ts=2000/11/25 17:43 > 50k 2002/03/12 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0 > "cygz.dll" v0.0 ts=2002/3/11 20:38 > 874k 2002/06/24 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 > "cygwin1.dll" v0.0 ts=2002/6/23 19:31 > Cygwin DLL version info: > DLL version: 1.3.11 > DLL epoch: 19 > DLL bad signal mask: 19005 > DLL old termios: 5 > DLL malloc env: 28 > API major: 0 > API minor: 53 > Shared data: 3 > DLL identifier: cygwin1 > Mount registry: 2 > Cygnus registry name: Cygnus Solutions > Cygwin registry name: Cygwin > Program options name: Program Options > Cygwin mount registry name: mounts v2 > Cygdrive flags: cygdrive flags > Cygdrive prefix: cygdrive prefix > Cygdrive default prefix: > Build date: Sun Jun 23 22:31:15 EDT 2002 > CVS tag: cygwin-1-3-11-3 > Shared id: cygwin1S3 > > 47k 2002/02/23 C:\cygwin\usr\local\bin\netpbm\cygpbm.dll - os=4.0 img=1.0 >sys=4.0 > "cygpbm.dll" v0.0 ts=2002/2/23 11:58 > 7k 2002/02/23 C:\cygwin\usr\local\bin\netpbm\cygpgm.dll - os=4.0 img=1.0 >sys=4.0 > "cygpgm.dll" v0.0 ts=2002/2/23 12:03 > 26k 2002/02/23 C:\cygwin\usr\local\bin\netpbm\cygpnm.dll - os=4.0 img=1.0 >sys=4.0 > "cygpnm.dll" v0.0 ts=2002/2/23 12:20 > 31k 2002/02/23 C:\cygwin\usr\local\bin\netpbm\cygppm.dll - os=4.0 img=1.0 >sys=4.0 > "cygppm.dll" v0.0 ts=2002/2/23 12:07 > >Cygwin Package Information >Last downloaded files to: C:\zasha\downloads >Last downloaded files from: ftp://ftp.oav.net/cygwin > >Package Version >WindowMaker 0.80.0-2 >XFree86-base 4.2.0-1 >XFree86-bin 4.2.0-1 >XFree86-doc 4.2.0-1 >XFree86-etc 4.2.0-1 >XFree86-f100 4.2.0-2 >XFree86-fcyr 4.2.0-2 >XFree86-fenc 4.2.0-2 >XFree86-fnts 4.2.0-2 >XFree86-fscl 4.2.0-2 >XFree86-fsrv 4.2.0-1 >XFree86-html 4.2.0-1 >XFree86-lib 4.2.0-3 >XFree86-man 4.2.0-1 >XFree86-nest 4.2.0-1 >XFree86-prog 4.2.0-1 >XFree86-prt 4.2.0-1 >XFree86-ps 4.2.0-1 >XFree86-startup-scripts4.2.0-2 >XFree86-vfb 4.2.0-1 >XFree86-xserv 4.2.0-7 >_update-info-dir 00012-1 >ash 20020131-1 >autoconf 2.53a-1 >autoconf-devel 2.53a-1 >autoconf-stable 2.13-4 >automake 1.6.1-1 >automake-devel 1.6.1-3 >automake-stable 1.4p5-5 >bash 2.05a-3 >binutils 20011002-1 >bzip2 1.0.2-2 >clear 1.0-1 >crypt 1.0-1 >cvs 1.11.0-1 >cygrunsrv 0.95-1 >cygutils 1.1.1-1 >cygwin 1.3.11-3 >cygwin-doc 1.0-1 >diff 1.0-1 >diffutils 2.8.1-1 >enscript 1.6.3-2 >fileutils 4.1-1 >findutils 4.1.7-4 >fvwm 2.4.7-2 >gawk 3.0.4-1 >gcc 2.95.3-5 >gdb 20010428-3 >gdbm 1.8.0-4 >gettext 0.11.2-2 >ghostscript 6.51-4 >gnugo 3.2-1 >grep 2.5-1 >groff 1.17.2-1 >gzip 1.3.2-1 >inetutils 1.3.2-18 >jpeg 6b-7 >less 374-1 >lesstif 0.93.18-3 >libPropList 0.10.1-3 >libbz2_1 1.0.2-2 >libiconv2 1.8-2 >libintl 0.10.38-3 >libintl1 0.10.40-1 >libintl2 0.11.2-2 >libncurses5 5.2-1 >libncurses6 5.2-8 >libpng 1.2.3-1 >libpng10 1.0.13-3 >libpng12 1.2.3-1 >libpng2 1.0.12-1 >libpopt0 1.6.4-4 >libreadline4 4.1-2 >libreadline5 4.2a-1 >libtool 20020202a-1 >libtool-devel 20020502-2 >libtool-stable 1.4.2-2 >login 1.4-3 >m4 0.0 >make 3.79.1-7 >man 1.5g-2 >mingw-runtime 2.0-2 >mktemp 1.4-1 >mod_ssl 2.8.8-1.3.24-1 >ncurses 5.2-8 >openbox 0.99.1-3 >opengl 1.1.0-6 >openssh 3.4p1-1 >openssl 0.9.6d-1 >pcre 3.7-1 >perl 5.6.1-2 >pkgconfig 0.12.0-1 >popt 1.6.4-4 >python 2.2.1-1 >rcs 5.7-3 >readline 4.2a-1 >sed 3.02-1 >sh-utils 2.0-2 >tar 1.13.19-1 >tcltk 20001125-1 >tcsh 6.11.00-4 >termcap 20020403-1 >terminfo 5.2-3 >texinfo 4.2-3 >textutils 2.0.21-1 >tiff 3.5.7-1 >w32api 1.5-1 >wget 1.8.1-1 >which 1.5-1 >x2x 1.27-1 >zlib 1.1.4-1 > >Use -h to see help about each section > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Bug reporting: http://cygwin.com/bugs.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/