Re: wrong app-defaults in fresh installation
It is the lesstif package which creates a folder /usr/X11R6/lib/X11/app-defaults when /usr/X11R6/lib/X11/app-defaults/Mwm is extracted. When there is already a link app-defaults - /etc/X11/app-defaults/ the everything is fine - otherwise later you will get the app-defaults link to /etc/X11/app-defaults/ inside the usr/X11R6/lib/X11/app-defaults folder. I had the same problem sometime ago and complained ;) to the list. Don't know whether the lesstif maintainer or somebody else could fix it. Frank-Michael Danilo Turina wrote: Hi, in in a fresh installation of Cygwin on my new XP PC, I noticed that xcalc (and other X apps) didn't work properly. I have had this problem some time ago: within the directory /usr/X11R6/lib/X11/app-defaults has been created a link to /etc/X11/app-defaults (where the app-defaults of many applications are). So while in /usr/X11R6/lib/X11/app-defaults there are on the app-defaults of Mwm all the other app-defaults are in /usr/X11R6/lib/X11/app-defaults/app-defaults and the various X apps (e.g. xcalc) can't find them. Last time I thought that this problem was my fault in that I installed X, lessTiff, WindowMaker as separate packages before they were included in setup and then, when they become available in setup, I replaced them with the setup versions. So I thought some re-packaging would have caused that problem and simply replaced /usr/X11R6/lib/X11/app-defaults with a link to /etc/X11/app-defaults. Now, with a fresh Cygwin installation, I have the some problem (that I will solve in the same way) so I think there is some problem with the installation of some X package. Ciao, Danilo Turina
Re: Installing LessTif breaks XFree86
Graham Bloice wrote: Installing LessTif-0.93.18-3 creates a directory in /usr/X11R6/lib/X11 named app-defaults. This overrides the symbolic link placed there by XFree86-lib post install pointing to /etc/X11. Amongst other things this breaks XCalc. So finally we got the culprit ;) which was already discussed in that thread: http://sources.redhat.com/ml/cygwin-xfree/2002-11/msg00200.html http://sources.redhat.com/ml/cygwin-xfree/2002-11/msg00216.html -- DECODON GmbHphone: +49(0)3834 515231 W.-Rathenau-Str. 49a fax: +49(0)3834 515239 17489 Greifswaldemail: [EMAIL PROTECTED] Germany web: www.decodon.com
Re: How can I avoid using a DOS box??
I found that the run command which comes with Cygwin-XFree is quite useful for launching any shell script with a Windows link without a DOS box flashing. The problem is that it works only when $(cygpath -w /) is in your Windows PATH variable - otherwise it does not find cygwin1.dll. But a simple workaround for this (if you do not like Cygwin in the Windows Path) is to (hard-)link run in /bin: ln /usr/X11R6/bin/run.exe /bin/run.exe This i.e. is the way I start X with reading .xinitrc and .xserverrc from my HOME (what startxwin.bat does not): C:\cygwin\bin\run.exe bash --login -c startx You also can use this as yet another RXVT here approach: echo Add Explorer extension \RXVT here\ regtool add /root/Directory/shell/0cmd-rxvt regtool set /root/Directory/shell/0cmd-rxvt/ RXVT here regtool add /root/Directory/shell/0cmd-rxvt/command regtool set /root/Directory/shell/0cmd-rxvt/command/ $(cygpath -w -a /)\\bin\\run.exe sh ~/bin/goto \%1\ where a goto script should do the rest. I wonder whether a) run should find cygwin1.dll by reading the mounts from the registry or b) run should go in /bin by default Is either a) or b) an option? Frank-Michael
Re: xwinclip test 6 hacked to leave selection untouched
I installed your xwinclip and it works fine. But in rootless mode I noticed that every time when the mouse enters a X-window the entry point is marked with semi-transparent darkgray square (~40 pixels). Not a problem - but ugly ;) Frank-Michael Cygwin Win95/NT Configuration Diagnostics Current System Time: Fri Nov 15 11:51:28 2002 Windows XP Home Edition Ver 5.1 Build 2600 Path: . c:\home\moser\scripts\cygwin c:\home\moser\scripts c:\home\moser\bin\cygwin c:\home\moser\bin c:\home\moser\work\bin . C:\jdk\1.3.1\bin C:\cygwin\usr\X11R6\bin C:\cygwin\bin\X11 C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin . c:\home\moser\scripts\cygwin c:\home\moser\scripts c:\home\moser\bin\cygwin c:\home\moser\bin c:\home\moser\work\bin . C:\jdk\1.3.1\bin C:\cygwin\usr\X11R6\bin C:\cygwin\bin\X11 C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\bin . x:\bin x:\usr\X11R6\bin c:\Programme\system c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem c:\Programme\Network Associates\PGPcmdln SysDir: C:\WINDOWS\System32 WinDir: C:\WINDOWS CYGWIN = `nontsec nosmbntsec' HOME = `c:\home\moser' MAKE_MODE = `unix' PWD = `/home/moser' USER = `moser' Use `-r' to scan registry a: fd N/AN/A c: hd NTFS 28607Mb 76% CP CS UN PA FC PIP d: cd N/AN/A e: cd N/AN/A h: hd NTFS 28607Mb 76% CP CS UN PA FC PIP m: hd NTFS 28607Mb 76% CP CS UN PA FC PIP n: net NTFS 16042Mb 96% CP CSPAILVM-Bilder p: net NTFS 16042Mb 96% CP CSPAExport s: net NTFS 51095Mb 87% CP CSPAsoftware t: net NTFS 16042Mb 96% CP CSPATransfer u: net NTFS 51095Mb 87% CP CSPAmoser v: hd NTFS 28607Mb 76% CP CS UN PA FC PIP w: net NTFS 51095Mb 87% CP CSPAdecodon x: hd NTFS 28607Mb 76% CP CS UN PA FC PIP y: hd NTFS 28607Mb 76% CP CS UN PA FC PIP z: hd NTFS 28607Mb 76% CP CS UN PA FC PIP C:\cygwin / system binmode \\dagobert\moser /home/gustav/mosersystem binmode \\dagobert\software/home/public/software system binmode \\dagobert\transfer/home/public/transfer system binmode C:\cygwin/bin /usr/bin system binmode C:\cygwin/lib /usr/lib system binmode \\dagobert\cvsroot /usr/local/cvsrootsystem binmode C:\jdk\1.3.1 /usr/local/java system binmode C:\cygwin\usr\X11R6\lib\X11\fonts /usr/X11R6/lib/X11/fonts system binmode . /cygdrive userbinmode,cygdrive Found: C:\cygwin\bin\bash.exe Found: x:\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: x:\bin\cat.exe Found: C:\cygwin\bin\cpp.exe Found: x:\bin\cpp.exe Found: C:\cygwin\bin\find.exe Found: x:\bin\find.exe Found: C:\cygwin\bin\gcc.exe Found: x:\bin\gcc.exe Found: C:\cygwin\bin\gdb.exe Found: x:\bin\gdb.exe Found: C:\cygwin\bin\ld.exe Found: x:\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: x:\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: x:\bin\make.exe Found: C:\cygwin\bin\sh.exe Found: x:\bin\sh.exe 41k 2002/05/14 C:\cygwin\usr\X11R6\bin\cygPropList-0.dll 58k 2002/05/07 C:\cygwin\bin\cygbz2-1.dll 54k 2002/01/27 C:\cygwin\bin\cygbz21.0.dll 6k 2002/06/24 C:\cygwin\bin\cygcharset-1.dll 643k 2002/11/09 C:\cygwin\bin\cygcrypto.dll 475k 2002/10/11 C:\cygwin\bin\cygcurl-2.dll 50k 2002/03/17 C:\cygwin\bin\cygexslt-0.dll 45k 2001/04/25 C:\cygwin\bin\cygform5.dll 35k 2002/01/09 C:\cygwin\bin\cygform6.dll 19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll 17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll 20k 2002/10/10 C:\cygwin\bin\cyghistory5.dll 929k 2002/06/24 C:\cygwin\bin\cygiconv-2.dll 22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll 28k 2002/09/20 C:\cygwin\bin\cygintl-2.dll 21k 2001/06/20 C:\cygwin\bin\cygintl.dll 81k 2000/12/05 C:\cygwin\bin\cygitcl30.dll 35k 2000/12/05 C:\cygwin\bin\cygitk30.dll 45k 2002/02/08 C:\cygwin\bin\cygjbig1.dll 119k 2002/02/09 C:\cygwin\bin\cygjpeg6b.dll 59k 2002/09/20 C:\cygwin\bin\cygkpathsea-3-3-7.dll 25k 2002/07/16 C:\cygwin\bin\cygltdl-3.dll 26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll 20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll 156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll 175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll 226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll 202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll 15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll 12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll 40k