Re: xclipboard
David wrote: Hi, I have XWin 6.8.2.0-4 and am running on Windows2000 professional, starting it like this: XWin -multiplemonitors -clipboard -rootless -screen ... And, I am runing fvwm2 as the window manager, and a couple of xterms in it. So, I left mouse click to highlight some text, and hit CNTL-C to copy it and move to another window and hit CNTL-V to paste it. Nothing happens. I also tried pasting into the native windows application Notepad and still nothing. I looked into the xclipboard man page, but there was nothing there. I checked the web. Someone suggested I should use -emulate3buttons. I would like to be able to copy from one xterm to another. Every window has the reverse video highlight capability. However, I can't get beyond that. Please help. Thanks, David -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ if your mouse has a clickable scrollwheel, or any other button that can be identified as 'button3', click it. i.e. 1. highlight text to copy ( ctrl-C is NOT require ) 2. make 'paste into' window/Xapp the active window ( click on the window/Xapp you want to past into) 3) click the scroll button, or if emulate3buttons is on , click left/right buttons in quick sequence ( or click whatever other button your mouse has defined as button3 3a) to paste into a native WINDOWS app, select the app, ctrl-v, or right click/select paste -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: (n00b question) How does one activate the scrollbar in an xterm?
Soong, SylokeJ wrote: I have not done this with cygwin-x before, but I do it with my sun solaris. Create .Xdefaults at home directory if does not already exists. google or man xterm should tell you more. Enter/append lines similar to these: xterm*scrollBar: true xterm*saveLines: 4000 xterm*cursorColor: Red xterm*pointerColor: Blue xterm*borderColor: Red alternatively invoke the xterm with the pertinent command line parameters... xterm --help .. xterm -sb -sl 2500 -sr etc, etc, etc -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: ITP: xsri
Charles Wilson wrote: However, given the above discussion, I'll wait a while longer before moving forward with rxvt-unicode-X, in the absence of a GTG. (The only person to have attempted to build it reported problems; I'm convinced those problems are resolved/PIBKAC, but he never followed up. So...) Further, in the case of the other three packages libW11 libXpm-W11 rxvt-W these all need actual votes (as they have no analogue in Linux distros), and have received none as yet. (Plus, the fact the rxvt-W *doesn't actually work* is kind of a drawback. I'd really want some community buy-in before uploading these three, even as setup.hint 'test:'-only packages) where can the current sources for these be downloaded from?
Re: ITP: rxvt-unicode-X
Charles Wilson wrote: = http://cygutils.fruitbat.org/ITP/rxvt-unicode-X-7.7-1-src.tar.bz2 http://cygutils.fruitbat.org/ITP/rxvt-unicode-X-7.7-1.tar.bz2 http://cygutils.fruitbat.org/ITP/rxvt-unicode-common-7.7-1.tar.bz2 http://cygutils.fruitbat.org/ITP/rxvt-unicode-X.hint http://cygutils.fruitbat.org/ITP/rxvt-unicode-common.hint Fedora4, Mandriva2006, Debian download.fedora.redhat.com/pub/fedora/linux/extras/4/i386/rxvt-unicode-7.5-1.fc4.i386.rpm carroll.cac.psu.edu/pub/linux/distributions/mandrakelinux/official/2006.0/i586/media/contrib/rxvt-unicode-5.6-1mdk.i586.rpm http://packages.debian.org/unstable/x11/rxvt-unicode http://packages.debian.org/stable/x11/rxvt-unicode Could someone point me to what i'm missing checking for unix-compliant filehandle passing ability... no configure: error: libptytty requires unix-compliant filehandle passing ability
X server crashing -- winClipboardProc - Call to select () failed: -1. Bailing.
X windows had been stable for quite a while for me( in continuous use, days, sometimes weeks at at time). Over the past couple of weeks it's begun crashing fairly regularly. The XWin.log has these final statements in it: winClipboardProc - Call to select () failed: -1. Bailing. winClipboardProc - XDestroyWindow succeeded. winClipboardIOErrorHandler! Anyone have any pointers to what may have changed/be causing this? My startxwin.sh calls XWin -multiwindow -clipboard -silent-dup-error cygcheck.out attached. Thanks, reid Cygwin Configuration Diagnostics Current System Time: Thu Mar 02 08:56:36 2006 Windows XP Professional Ver 5.1 Build 2600 Service Pack 2 Path: C:\cygwin\usr\local\sbin C:\cygwin\home\rthompso\bin C:\cygwin\bin C:\cygwin\lib\subversion\bin C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\home\rthompso C:\cygwin\usr\sbin C:\cygwin\usr\local\pgsql\bin C:\cygwin\usr\jikes\bin C:\j2sdk1.4.2\bin C:\ant-1.6.1\bin C:\cygwin\usr\X11R6\bin C:\cygwin\opt\gnome2\bin C:\cygwin\opt\kde3\bin C:\cygwin\opt\kde3\lib C:\cygwin\opt\qt\3.2\bin C:\MyPrograms\ApacheSoftwareFoundation\Maven1.0.1\bin C:\cygwin\opt\bin C:\WINDOWS\system32 Output from C:\cygwin\bin\id.exe (nontsec) UID: 11192(Reid.Thompson) GID: 10513(Domain Users) 0(root) 544(Administrators) 545(Users) 1005(Debugger Users) 11215(all) 10512(Domain Admins) 10513(Domain Users) 10519(Enterprise Admins) 11371(Team - Internal Information Systems) 12853(Team - Telecom) Output from C:\cygwin\bin\id.exe (ntsec) UID: 11192(Reid.Thompson) GID: 10513(Domain Users) 0(root) 544(Administrators) 545(Users) 1005(Debugger Users) 11215(all) 10512(Domain Admins) 10513(Domain Users) 10519(Enterprise Admins) 11371(Team - Internal Information Systems) 12853(Team - Telecom) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS LIBRARY_PATH = '/usr/lib:/usr/local/lib:/lib:/usr/local/pgsql/lib' LD_LIBRARY_PATH = '/usr/lib:/usr/X11R6/lib' TCL_LIBRARY = 'c:\ruby\tcl\lib\tcl8.3' GCC_EXEC_PREFIX = '/usr/lib' C_INCLUDE_PATH = '/usr/include' PWD = '/home/rthompso' CYGWIN = 'server binmode tty ntsec' HOME = '/home/rthompso' Use '-r' to scan registry a: fd N/AN/A c: hd NTFS 76285Mb 82% CP CS UN PA FC d: cd N/AN/A e: cd N/AN/A s: net NTFS271802Mb 15% CP CS UN PA FC Ateb Shared u: net NTFS271802Mb 18% CP CS UN PA FC User Store w: net NTFS 1011Mb 92% CP CSPArthompso y: net NTFS 1011Mb 73% CP CSPArthompso z: net NFS 16995Mb 30% CP . /cygdrive user binmode,cygdrive C:\cygwin / system binmode A: /Asystem binmode,exec C:\cygwin\bin /bin system binmode C: /Csystem binmode,exec \cygdrive\x/C/synxnetsystem binmode C:\cygwin\lib /lib system binmode U: /Usystem binmode,exec 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 system binmode,cygdrive Found: C:\cygwin\bin\awk.exe Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cp.exe Found: C:\cygwin\bin\cpp.exe Found: C:\cygwin\bin\crontab.exe Found: C:\cygwin\bin\find.exe Found: C:\cygwin\bin\gcc.exe Found: C:\cygwin\bin\gdb.exe Found: C:\cygwin\bin\grep.exe Found: C:\cygwin\bin\kill.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\mv.exe Found: C:\cygwin\bin\patch.exe Found: C:\cygwin\bin\perl.exe Found: C:\cygwin\bin\rm.exe Found: C:\cygwin\bin\sed.exe Found: C:\cygwin\bin\ssh.exe Found: C:\cygwin\bin\sh.exe Found: C:\cygwin\bin\tar.exe Found: C:\cygwin\bin\test.exe Not Found: vi Found: C:\cygwin\usr\local\bin\vim.exe 20k 2003/08/21 C:\cygwin\home\rthompso\cyg.dll 28k 2003/08/21 C:\cygwin\home\rthompso\cygmydll.dll 25k 2005/08/15 C:\cygwin\bin\cygao-2.dll 91k 2005/11/11 C:\cygwin\bin\cygapr-0-0.dll 67k 2005/11/11 C:\cygwin\bin\cygaprutil-0-0.dll 52k 2005/11/10 C:\cygwin\bin\cygart_lgpl-2.dll 76k 2005/07/30 C:\cygwin\bin\cygart_lgpl_2-2.dll 113k 2005/07/16 C:\cygwin\bin\cygatk-1.0-0.dll 204k 2004/10/28 C:\cygwin\bin\cygatkmm-1.0-1.dll 237k 2004/11/04 C:\cygwin\bin\cygatkmm-1.6-1.dll 145k 2004/09/02
Re: Remote client through telnet gives error 232
Simon Keen wrote: I am trying to run remote clients on an X server using telnet, but am encountering an error. My setup is as follows: - runnning X server on Cygwin_NT-5.1 on a windows XP Professional laptop. I initiate this by running the default startxwin.bat from the directory C:\cygwin\usr\X11R6\bin; - in the bash shell that opens I enter xhost + to disable access control; - I then telnet from my laptop to an HP-UX 11.0 server at IP 158.234.197.198, and login as root; - I run export DISPLAY=158.234.197.171:0.0 (the IP of my laptop); - I run an application requiring an X window: sam, which raises the following error: XIO: fatal IO error 232 (Connection reset by peer) on X server 158.234.197.171:0.0 after 0 requests (0 known processed) with 0 events remaining. - I get the same error if I try to run xterm or xclock; - As far as I know there is no port blocking between my laptop and ther server. A trace route displays: D:\tracert 158.234.197.198 Tracing route to 158.234.197.198 over a maximum of 30 hops 1 1 ms1 ms1 ms 158.234.197.198 Trace complete. - with the X server running, I am able to run local X window applications, e.g. xterm or xclock; Any suggestions? Simon. ___ Win a BlackBerry device from O2 with Yahoo!. Enter now. http://www.yahoo.co.uk/blackberry -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ is your XP firewall on? If you login to the HP-UX box as a non-root user, does the same error occur? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Printing man pages
George wrote: Generating a PDF from the grep man page, for example, using: man -t `man -w grep` | ps2pdf - grep.pdf which, by default, is actually /usr/bin/groff -Tps -mandoc `man -w grep` | ps2pdf - grep.pdf results in a fairly unattractive PDF file. The man page title is dropped from the output, and the top margin is borked. On the other hand, using /usr/bin/groff -Thtml -mandoc `man -w grep` grep.html yields something more satisfactory, but not in a format for printing. I'm finding that reading through the groff man page(s) is like [obligatory hippo joke], so I'm hoping I'm missing something obvious. Thanks. man groff | enscript -p - | ps2pdf - groff.pdf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Printing man pages
Reid Thompson wrote: George wrote: Generating a PDF from the grep man page, for example, using: man -t `man -w grep` | ps2pdf - grep.pdf which, by default, is actually /usr/bin/groff -Tps -mandoc `man -w grep` | ps2pdf - grep.pdf results in a fairly unattractive PDF file. The man page title is dropped from the output, and the top margin is borked. On the other hand, using /usr/bin/groff -Thtml -mandoc `man -w grep` grep.html yields something more satisfactory, but not in a format for printing. I'm finding that reading through the groff man page(s) is like [obligatory hippo joke], so I'm hoping I'm missing something obvious. Thanks. man groff | enscript -p - | ps2pdf - groff.pdf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ wrapped in a script ... man2pdf #!/bin/bash man $1 | enscript -p - | ps2pdf - ${1}.pdf echo Created ${1}.pdf - -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Windows programs in Cygwin/X ?
Doug Bohl wrote: After much turmoil, I've managed to get a number of window managers running in Cygwin/X. What I'm wondering is this: Is it at all possible to allow my windows programs to be managed by my Cygwin/X window manager? Presently, if I'm in -fullscreen mode and I'm running some X programs, I'd have to alt+tab out of X and into explorer. If this isn't possible, what would I have to do to make it possible? Maybe write an X program to 'trap' the window of a Windows program into an invisible X window. Or something like that. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ there a various ways to run the X server in cygwin. Read the comments in and then try altering /usr/X11R6/bin/startxwin.sh to meet your needs. For example ---snip--- XWin -rootless -clipboard -silent-dup-error # Startup an xterm, using bash as the shell. xterm -e /usr/bin/bash -l rxvt -e /usr/bin/bash -l # # Startup the twm window manager. # WARNING: Do not use an external window manager in conjunction with # the ``-multiwindow'' command-line parameter for XWin. Doing so # would start two window managers, which is never supposed to happen. # # twm wmaker -snip -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: BUG: ualarm(0,0) not clearing ualarms
I'm able to reproduce this on my machine, but only when I'm running it under rxvt. If I run it from cmd.exe or within a standard cygwin bash shell, then it completes without the '-- BOGUS ALARM --' warnings. $ uname -a CYGWIN_NT-5.0 claus 1.5.19(0.150/4/2) 2006-01-20 13:28 i686 Cygwin $ gcc -o ua-test ua-test.c $ ./ua-test.exe First ualarm - one shot Second ualarm - one shot Last ualarm - repeats 3 times Clearing ualarm Sleeping --- BOGUS ALARM --- --- BOGUS ALARM --- Done It behaves the same for me no matter where I run it. I even increased the final sleep time in case the program was exiting before the bogus alarm was tripped. cgf my previous test case was run under rxvt as well, with no BOGUS ALARM's noted. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: BUG: ualarm(0,0) not clearing ualarms
Robb, Sam wrote: From: Robb, Sam I'm able to reproduce this on my machine, but only when I'm running it under rxvt. If I run it from cmd.exe or within a standard cygwin bash shell, then it completes without the '-- BOGUS ALARM --' warnings. $ uname -a CYGWIN_NT-5.0 claus 1.5.19(0.150/4/2) 2006-01-20 13:28 i686 Cygwin $ gcc -o ua-test ua-test.c $ ./ua-test.exe First ualarm - one shot Second ualarm - one shot Last ualarm - repeats 3 times Clearing ualarm Sleeping --- BOGUS ALARM --- --- BOGUS ALARM --- Done I'm the original poster of this bug report. I usually run in an rxvt window, which is where I see the bug. I tried a dos window, and the bug did not occur. Further, it occurs on my Win2K box, but not on my WinXP box. Jerry, I've cc'd the cygwin list on this reply since the difference (Win2K vs. WinXP) may be significant. I'm also running cygwin under Win2K. It may be that others who have not seen this error are also running under XP as well. -Samrobb my system is XP/SP2. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
pdksh, set -o vi strange new behavior
After recent update rebaseall began having the following strange behavior. the command line sequence escape slash ( to search through history ( pdsh with set -o vi )) causes what appears to be two returns to be input... I.E, with cursor sitting after '$' as shown below ( my prompt is two lines ).. WS-XP-4960: /home/rthompso $ keying ESC/ results in WS-XP-4960: /home/rthompso WS-XP-4960: /home/rthompso WS-XP-4960: /home/rthompso $ / cygcheck -s is attached. Cygwin Configuration Diagnostics Current System Time: Mon Feb 13 10:20:32 2006 Windows XP Professional Ver 5.1 Build 2600 Service Pack 2 Path: C:\cygwin\usr\local\sbin C:\cygwin\home\rthompso\bin C:\cygwin\bin C:\cygwin\lib\subversion\bin C:\cygwin\usr\local\bin C:\cygwin\bin C:\cygwin\home\rthompso C:\cygwin\usr\sbin C:\cygwin\usr\local\pgsql\bin C:\cygwin\usr\jikes\bin C:\j2sdk1.4.2\bin C:\ant-1.6.1\bin C:\cygwin\usr\X11R6\bin C:\cygwin\opt\gnome2\bin C:\cygwin\opt\kde3\bin C:\cygwin\opt\kde3\lib C:\cygwin\opt\qt\3.2\bin C:\MyPrograms\ApacheSoftwareFoundation\Maven1.0.1\bin C:\cygwin\opt\bin C:\WINDOWS\system32 Output from C:\cygwin\bin\id.exe (nontsec) UID: 11192(Reid.Thompson) GID: 10513(Domain Users) 0(root) 544(Administrators) 545(Users) 1005(Debugger Users) 11215(all) 10512(Domain Admins) 10513(Domain Users) 10519(Enterprise Admins) 11371(Team - Internal Information Systems) 12853(Team - Telecom) Output from C:\cygwin\bin\id.exe (ntsec) UID: 11192(Reid.Thompson) GID: 10513(Domain Users) 0(root) 544(Administrators) 545(Users) 1005(Debugger Users) 11215(all) 10512(Domain Admins) 10513(Domain Users) 10519(Enterprise Admins) 11371(Team - Internal Information Systems) 12853(Team - Telecom) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS LIBRARY_PATH = '/usr/lib:/usr/local/lib:/lib:/usr/local/pgsql/lib' LD_LIBRARY_PATH = '/usr/lib:/usr/X11R6/lib' TCL_LIBRARY = 'c:\ruby\tcl\lib\tcl8.3' GCC_EXEC_PREFIX = '/usr/lib' C_INCLUDE_PATH = '/usr/include' PWD = '/home/rthompso' CYGWIN = 'server binmode tty ntsec' HOME = '/home/rthompso' Use '-r' to scan registry a: fd N/AN/A c: hd NTFS 76285Mb 87% CP CS UN PA FC d: cd CDFS 119Mb 100%CS UN CDROM e: cd N/AN/A s: net NTFS271802Mb 15% CP CS UN PA FC Ateb Shared u: net NTFS271802Mb 17% CP CS UN PA FC User Store w: net NTFS 1011Mb 95% CP CSPArthompso y: net NTFS 1011Mb 73% CP CSPArthompso z: net NFS 16995Mb 30% CP . /cygdrive user binmode,cygdrive C:\cygwin / system binmode A: /Asystem binmode,exec C:\cygwin\bin /bin system binmode C: /Csystem binmode,exec \cygdrive\x/C/synxnetsystem binmode C:\cygwin\lib /lib system binmode U: /Usystem binmode,exec 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 system binmode,cygdrive Found: C:\cygwin\bin\awk.exe Found: C:\cygwin\bin\bash.exe Found: C:\cygwin\bin\cat.exe Found: C:\cygwin\bin\cp.exe Found: C:\cygwin\bin\cpp.exe Found: C:\cygwin\bin\crontab.exe Found: C:\cygwin\bin\find.exe Found: C:\cygwin\bin\gcc.exe Found: C:\cygwin\bin\gdb.exe Found: C:\cygwin\bin\grep.exe Found: C:\cygwin\bin\kill.exe Found: C:\cygwin\bin\ld.exe Found: C:\cygwin\bin\ls.exe Found: C:\cygwin\bin\make.exe Found: C:\cygwin\bin\mv.exe Found: C:\cygwin\bin\patch.exe Found: C:\cygwin\bin\perl.exe Found: C:\cygwin\bin\rm.exe Found: C:\cygwin\bin\sed.exe Found: C:\cygwin\bin\ssh.exe Found: C:\cygwin\bin\sh.exe Found: C:\cygwin\bin\tar.exe Found: C:\cygwin\bin\test.exe Not Found: vi Found: C:\cygwin\bin\vim.exe Found: C:\cygwin\usr\local\bin\vim.exe 20k 2003/08/21 C:\cygwin\home\rthompso\cyg.dll 28k 2003/08/21 C:\cygwin\home\rthompso\cygmydll.dll 25k 2005/08/15 C:\cygwin\bin\cygao-2.dll 91k 2005/11/11 C:\cygwin\bin\cygapr-0-0.dll 67k 2005/11/11 C:\cygwin\bin\cygaprutil-0-0.dll 52k 2005/11/10 C:\cygwin\bin\cygart_lgpl-2.dll 76k 2005/07/30 C:\cygwin\bin\cygart_lgpl_2-2.dll 113k 2005/07/16 C:\cygwin\bin\cygatk-1.0-0.dll 204k 2004/10/28 C:\cygwin\bin\cygatkmm-1.0-1.dll 237k 2004/11/04 C:\cygwin\bin\cygatkmm-1.6-1.dll 145k 2004/09/02 C:\cygwin\bin\cygaudiofile-0.dll 326k
Re: BUG: ualarm(0,0) not clearing ualarms
Gary R. Van Sickle wrote: [snip] I get the same can't-duplicate as Chris does, on 'uname -a'= CYGWIN_NT-5.1 DFW5RB41 1.5.20s(0.153/4/2) 20060209 14:37:47 i686 Cygwin I don't have any of this stuff in $CYGWIN, might be worth a try to ditch it: CYGWIN = 'server ntsec forkchunk:32768' Btw, I have a hyperthreaded machine running at 3.06G with 1G of RAM. I wouldn't expect that to make a difference in this case, though. I can't see how this could be a N-processor race-related bug. cgf Hyperthreding P4 3.4GHz X-Treme Edition (more cache?), 1Gig RAM. Maybe this is the one bug that HT actually masks instead of reveals. ;-) AMD Athlon XP2500+ 1.83GHZ 512MB RAM. CYGWIN_NT-5.1 cyberhome 1.5.19(0.150/4/2) 2006-01-20 13:28 i686 Cygwin $ ./ualarm First ualarm - one shot Second ualarm - one shot Last ualarm - repeats 3 times Clearing ualarm Sleeping Done -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Bash Window Geometry
rxvt takes -geometry as a parameter -- it also provides a much better interface than CMD.EXE -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Bash Window Geometry
Reid Thompson wrote: rxvt takes -geometry as a parameter -- it also provides a much better interface than CMD.EXE forgot to mention that rxvt will run natively or with X. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: where is SCP
Scott Purcell wrote: Hello, I need to scp some files to a remote machine on our network, and I cannot find the scp module? When I loaded cygwin, I loaded most default stuff, but even today, I am trying to search for it, and cannot find scp? Thanks, -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ install openssh -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Tcsh .history file growing out of control
Bruce Dobrin wrote: Hi All, This is generally a minor headache, But routinely for about the last 2 years while running rxvt and tcsh, I'll have a problem where I can't start a new shell and I'll find that I have a .history file that is 4 to 5 gig's. I blow the thing away and all is once again right in the world. It seems to often correspond with a user ( often myself) having closed a shell that not only doesn't really close but starts spinning out of control, using 100% CPU. Obviously it is doing something that is filling the history file, but usually when I notice it, the history file is too big to open or move and I need to solve the problem so I just end up blowing it away. I think this started cropping up when Cygwin moved from 1.3 to 1.5 and has happened with every version since. I'd like to try just using bash or something else, but my facility standard for all flavors of UNIX is tcsh and my changing to bash wouldn't help the 1000 other people in the facility that occasionally get burned by this when on their windows boxes. I hit it a couple of times a month, most users much less, but it's been burning us more and more as our users move transparently between windows, Linux and Irix. I hoped I'd see something crop up on the list, none of my searches have turned up anything. Thanks Bruce -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ If you set your history file to contain only 1000 events, does that fix the issue. from the tcsh man page: history The first word indicates the number of history events to save. The optional second word (+) indicates the format in which his- tory is printed; if not given, `%h\t%T\t%R\n' is used. The format sequences are described below under prompt; note the variable meaning of `%R'. Set to `100' by default. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Have anyone compiled splitvt ?
steven woody wrote: splitvt is tool which can split terminal screen into two part and let you run commands independently in each of parts. it is so handy when you want to do something on a program and see response of another program. i compiled splitvt with no error. but when i run it, it did not split the screen, just halt on the command prompt. is there any help? -- woody -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ see screen. pretty sure it compiles OOTB. $ screen CTRL-a S CTRL-a tab CTRL-a c CTRL-a tab CTRL-a tab CTRL-a X $ exit -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Have anyone compiled splitvt ?
Reid Thompson wrote: steven woody wrote: splitvt is tool which can split terminal screen into two part and let you run commands independently in each of parts. it is so handy when you want to do something on a program and see response of another program. i compiled splitvt with no error. but when i run it, it did not split the screen, just halt on the command prompt. is there any help? -- woody -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ see screen. pretty sure it compiles OOTB. $ screen CTRL-a S CTRL-a tab CTRL-a c CTRL-a tab CTRL-a tab CTRL-a X $ exit sorry left out one step above $ screen CTRL-a S CTRL-a tab CTRL-a c CTRL-a tab CTRL-a tab $ exit CTRL-a X $ exit -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: mailx + cygwin
Igor Peshansky wrote: On Wed, 28 Dec 2005, Crawford, Carl wrote: Igor, http://cygwin.com/acronyms/#PPIOSPE. I'm forwarding this to the appropriate mailing list, and setting the Reply-To accordingly -- please make sure your mailer honors it. Did you find a port of mailx to cygwin? No, but I wasn't really looking -- I don't see where you even got the idea that I was. AFAIK, it's not part of the Cygwin distribution. Perhaps someone else on the list will be able to point you at a port. Did you try compiling from source? Igor use 'mutt -x' -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: mailx + cygwin
Crawford, Carl wrote: thanks. nice replacement. i am able to read mailx mailboxes. how do you set up mutt to send email thru a pop server, particularly one that has password protection? --carl edit .muttrc per /usr/share/doc/Cygwin/mutt-1.4.2.1i.README can also reference... http://www.mutt.org/ http://wiki.mutt.org/index.cgi?MuttFaq http://wiki.mutt.org/?MuttFaq/RemoteFolder http://wiki.mutt.org/index.cgi?ConfigList -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Help:Can not edit crontab becuase of vi not found
Brian Dessent wrote: lin q wrote: Hi Brian, I attach the log from cygcheck. I do not see anything obviously wrong as I am not familiar with it. Since there are some personal data in it, please do not reply to the public email alias, I appreciate your help very much. That's unfortunate, but please don't reply to me directly. If you do not want to use the public mailing list that is your choice, but that is not an invitation to email me directly for private help. This is your problem, most likely: Found: c:\mks6.1\mksnt\awk.exe Found: c:\mks6.1\mksnt\cat.exe Found: c:\mks6.1\mksnt\cp.exe Found: c:\mks6.1\mksnt\find.exe Found: c:\mks6.1\mksnt\grep.exe Found: c:\mks6.1\mksnt\ls.exe Found: c:\mks6.1\mksnt\mv.exe Found: c:\mks6.1\mksnt\rm.exe Found: c:\mks6.1\mksnt\sed.exe Found: c:\mks6.1\mksnt\sh.exe Found: c:\mks6.1\mksnt\tar.exe Whatever you have installed in c:\mks6.1 is providing incompatible versions of many tools. Also, you have some other/older cygwin DLL on your system, because the registry keys: HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0 ...are not used by any current version of Cygwin, nor have they for probably 7 years or so. that would be the MKS tookit http://www.mkssoftware.com/ setup your cygwin profile's PATH to not have the mks' bin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: System Tray
Lst Recv wrote: Gary, could you post a few links to some of those libraries? Yes, that's exactly what I'd like to do. Why? It's a great way for unobtrusive, yet noticeable, notifications. My immediate goal is to script a little unit test runner in the background, which constantly runs, and loads a green or red icon in the tray. But I think being able to do this from shell scripts would be very, very useful. How 'bout an icon that pop ups when an incoming email has the word URGENT in it? That way, you can avoid disrupting your flow, and not check your email, and still be informed when an urgent one comes in. A few lines of shell script, once we'd have this. Anyone up to code this? But, yes, my immediate use is for simple continuous integration / test driven development. Gary R. Van Sickle wrote: There are a few libraries (actually example code, it's not terribly hard - just hard to do right) to do this, yes. But I don't quite understand your question. It sounds like you want to do something like: put-an-alert-in-the-system-tray.exe --alert-type=stopsign --tooltip-text=Emergency! Is that right? I'm kind of missing the point though - what happens if you click it? Maybe a --run-this-app-when-clicked= param would make something like this actually useful -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ this page may be of interest also http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_int/shell_int_programming/taskbar.asp scroll down to Using the Taskbar, near the bottom of the page -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: XTerm problem- xinit
Afro_PL wrote: Hello there. I have little problem when in XTerm i write xinit: A fatal error has ocurred and Cygwin/X will now exit. Please open /tmp/Xwin.log for more information. Vendor: The Cygwin/X Project Release: 6.8.2.0-4 Contact: cygwin-xfree@cygwin.com XWin was started with the following command-line X :0 What I should do? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ don't type xinit in an xterm -- if you have an xterm running -- they you already have X started -- attempting to start it again results in the above message -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Making the command console stay on top
Terry Dabbs wrote: I have an application written and compiled using gcc and ncurses (for the colors), in the cygwin environment. This application gets information from a database, and displays it to an operator running a machine telling them what program to input (among other things). The problem is that when they go to enter the program name, the console window immediately falls behind that of the application they are entering the data into, and they can't read it. I'm using a shortcut to start this, and the level of display of the window is not one of the options. Does anyone (that will answer) know a way to start this window with the attributes needed so it will not be covered when another application is touched by the mouse? Thanks, Terry Dabbs -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ are you displaying the ncurses app in a standard cygwin terminal window, a native windows rxvt window, or an X windows window? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: cscope compilation error in cygwin
Original Message From: frank [mailto:[EMAIL PROTECTED] Sent: Monday, October 31, 2005 1:59 PM To: cygwin@cygwin.com Subject: cscope compilation error in cygwin hi, I try to use cscope in cygwin. My pc is win2000. the cygwin version is $ cygcheck -V cygcheck version 1.64 System Checker for Cygwin Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. Compiled on Mar 1 2005 try to use cscope-15.5. Could anybody help me out? thanks in advance! ** below is the error, ** $ ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking for a BSD-compatible install... /usr/bin/install -c checking for gcc... gcc checking for C compiler default output... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for bison... bison -y checking how to run the C preprocessor... gcc -E checking for egrep... grep -E configure: checking location of ncurses.h file... checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for regcomp in -lregex... no checking for gnome-config... no checking for pkg-config... no ./configure: line 4370: pkg-config: command not found checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/window.h usability... no checking sys/window.h presence... no checking for sys/window.h... no checking sys/termios.h usability... yes checking sys/termios.h presence... yes checking for sys/termios.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for strchr... yes checking for memcpy... yes checking for memset... yes checking for setmode... yes checking for _setmode... yes checking for getcwd... yes checking for regcmp... no checking for regcomp... yes checking for strerror... yes checking for vsnprintf... yes checking for snprintf... yes checking for lstat... yes checking for fixkeypad... no checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether lstat accepts an empty string... no configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating contrib/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands $ make make all-recursive make[1]: Entering directory `/usr/cscope-15.5' Making all in doc make[2]: Entering directory `/usr/cscope-15.5/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/cscope-15.5/doc' Making all in src make[2]: Entering directory `/usr/cscope-15.5/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -MT build.o -MD -MP -MF .deps/build.Tpo \ -c -o build.o `test -f 'build.c' || echo './'`build.c; \ then mv .deps/build.Tpo .deps/build.Po; \ else rm -f .deps/build.Tpo; exit 1; \ fi build.c:51:20: curses.h: No such file or directory make[2]: *** [build.o] Error 1 make[2]: Leaving directory `/usr/cscope-15.5/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/cscope-15.5' make: *** [all] Error 2 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ verify that you have the [n]curses package installed, else run setup.exe and select [n]curses package for download reid -- Unsubscribe info:
RE: CYGWIN Intsallation-VIM
Original Message From: S.Sunil Kumar [mailto:[EMAIL PROTECTED] Sent: Friday, October 28, 2005 8:32 AM To: CYGWIN@CYGWIN.COM Subject: CYGWIN Intsallation-VIM Hi, I have checked the following links. http://cygwin.com/faq/faq.setup.html#faq.setup.what-packages http://cygwin.com/packages/ http://cygwin.com/packages/vim/ I can see the file lists only and not the EXE File. If possible I would like to know where I can get the packge and how to install it in XP Platform. Regards Sunil run setup.exe, and select vim from the editors choices. or, download the sources from vim.org and compile it yourself reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: KSH Mode in CYGWIN CPU-Usage
Original Message From: S.Sunil Kumar [mailto:[EMAIL PROTECTED] Sent: Friday, October 28, 2005 8:43 AM To: cygwin@cygwin.com Subject: KSH Mode in CYGWIN CPU-Usage Hi ..., If I enter KSH for KORN-Shell mode , CYGWIN is not responding. And when I start CYGWIN the CPU-Usage rises up to 60 to 70 % easily. Is it due to some wrong package installation ? Regards You have something wrong -- see the middle link below... Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: CYGWIN Intsallation-VIM-Thanks
Original Message From: S.Sunil Kumar [mailto:[EMAIL PROTECTED] Sent: Friday, October 28, 2005 10:26 AM To: HELP-Cygwin Subject: Re: CYGWIN Intsallation-VIM-Thanks Hi Alexander zzapper Dave Reid, As you guys instructed I will run the SETUP Program and Uninstall all packages and delete the CYGWIN Folder First. Then I will install a full package which is presently being downloaded from ftp.uni-erlangen.de. Thanks for your great helps. I hope that I will get similar helps when I return for other issues. I will update you all by tomorrow about the improvements. Regards Sunil __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ you do not need to un-install first reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: undefined references compiling gcc with ncurses
Jeff Scudder wrote: Greetings, I am a curses newbie and having trouble running a simple curses program. I haven't run into a discussion thus far on the specific problem I'm having and I imagine there is a simple solution. My program is named ctest.c and is as follows: #includestdio.h #includecurses.h int main() { initsscr(); cbreak(); noecho(); char x = getch(); while(x != 'q') { printf(Entered: %c\n,x); x = getch(); } endwin(); } And I compile using gcc -lncurses ctest.c When linking I get an undefined reference for each curses function. I'm sure I'm doing something wrong. Thank you, JS -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/fa #include ncurses.h or #include ncurses/ncurses.h do a find /usr/include -name ncurses.h -- i'm not on a cygwin box right now.. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: web browser for cgywin
Charles Li wrote: Can someone recommend a decent, and easy to build, web browser for cgywinX? Thanks. __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ dillo graphical, small fast missing some features links text elinks text links2 http://links.twibright.com/ graphical -- your best bet -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: X-Query (imp urgent)
Alec stewart wrote: Hello All, I have installed g++ for Windows on my System and was trying to build a project on the same. It is like this that when I disable the GUI portion from my project my project builds very fine and executable works fine also but when I want to enable the GUI portion also there are a few errors. 1) Portion for enabling or disabling GUI is like #define NO_GRAPHICS /* comment or uncomment this line*/ --line 1 #ifndef NO_GRAPHICS #include X11/Xlib.h #include X11/Xutil.h //#include X11/Xos.h //line---2 #include X11/Xatom.h #endif Here if I comment line line 1 it first gives the compilation error itself for not being able to find Xos.h Query #1 So first thing I want to know is why Xos.h is not available with g++ for Windows and or what is the alternative for that. However If i comment this line 2 there comes a linker errror with a lot of messages..but all similar to undefined reference to XSetFont undefined reference to XCreateWindow basically all related to XWindow APIs..but all of them have been declared as extern in other include files of X11 folder. So my second query is how can i specify my lib include directory in cygwin through windows i.e. with which option -ldirectory or what. when i speciifed -ldirectory d:\cygwin\lib it says that it can not find the path so what is equivalent in terms of /usr/lib ..or like .what those interested my makefiles ..here is partial but only useful section .. $makefile CC = gcc #SunOS lines below. #LIB_DIR = -L/usr/lib/X11R5 #LIB = -static -lX11 -lm #X11_INCLUDE = -I/usr/include # On many non-Solaris machines, use LIB_DIR = -L/usr/lib/X11R5 LIB_DIR = -L/usr/openwin/lib # Sometimes get errors under Solaris if you don't use the -R option # to (I think) put info about where the shared object libraries are # right into the binary. Shouldn't be necessary, but it is on our machines. LIB = -lX11 -lm -R/usr/openwin/lib X11_INCLUDE = -I/usr/openwin/include # Overly strict flags line below. Lots of useless warnings, but can # let you look for redudant declarations. # To avoid redundant declarations here I use -D__STDC instead of # -D__USE_FIXED_PROTOTYPES, but that means some prototypes are missing. #FLAGS = -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -O -D__STDC__ -ansi -pedantic -Wredundant-decls -Wmissing-prototypes -Wshadow -Wcast-align -D_POSIX_SOURCE #Flags to be passed to the compiler. First is for strict warnings, #second for interactive debugging and third for optimization. #-D_POSIX_SOURCE stops extra declarations from being included in math.h #and causing -Wshadow to complain about conflicts with y1 in math.h #(Bessel function 1 of the second kind) WARN_FLAGS = -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -O -D__USE_FIXED_PROTOTYPES__ -ansi -pedantic -Wmissing-prototypes -Wshadow -Wcast-align -D_POSIX_SOURCE DEBUG_FLAGS = -g OPT_FLAGS = -O3 #FLAGS = $(WARN_FLAGS) #FLAGS = $(DEBUG_FLAGS) FLAGS = $(OPT_FLAGS) #Uncomment line below if X Windows isn't installed on your system. #FLAGS = $(OPT_FLAGS) -DNO_GRAPHICS #Useful flags on HP machines #DEBUG_FLAGS = -Aa -g #OPT_FLAGS = -Aa +O3 EXE = vpr OBJ = main.o util.o read_netlist.o print_netlist.o check_netlist.o read_arch.o place_and_route.o place.o route_common.o route_timing.o route_tree_timing.o route_breadth_first.o draw.o graphics.o stats.o segment_stats.o rr_graph.o rr_graph2.o rr_graph_sbox.o rr_graph_util.o rr_graph_timing_params.o rr_graph_indexed_data.o rr_graph_area.o check_rr_graph.o check_route.o hash.o heapsort.o read_place.o net_delay.o path_delay.o path_delay2.o vpr_utils.o timing_place_lookup.o timing_place.o SRC = main.c util.c read_netlist.c print_netlist.c check_netlist.c read_arch.c place_and_route.c place.c route_common.c route_timing.c route_tree_timing.c route_breadth_first.c draw.c graphics.c stats.c segment_stats.c rr_graph.c rr_graph2.c rr_graph_sbox.c rr_graph_util.c rr_graph_timing_params.c rr_graph_indexed_data.c rr_graph_area.c check_rr_graph.c check_route.c hash.c heapsort.c read_place.c net_delay.c path_delay.c path_delay2.c test_h.c vpr_utils.c timing_place_lookup.c timing_place.c H = util.h vpr_types.h globals.h graphics.h read_netlist.h print_netlist.h check_netlist.h read_arch.h stats.h segment_stats.h draw.h place_and_route.h place.h route_export.h route_common.h route_timing.h route_tree_timing.h route_breadth_first.h rr_graph.h rr_graph2.h rr_graph_sbox.h rr_graph_util.h rr_graph_timing_params.h rr_graph_indexed_data.h rr_graph_area.h check_rr_graph.h check_route.h hash.h heapsort.h read_place.h path_delay.h path_delay2.h net_delay.h vpr_utils.h timing_place_lookup.h timing_place.h # I haven't been able to make -static work under Solaris. Use shared # libraries all the time. # Add purify before $(CC) in the link line below to run purify on VPR. $(EXE): $(OBJ) test_h.o $(CC) $(FLAGS) $(OBJ) -o $(EXE) $(LIB_DIR) $(LIB) -- Unsubscribe
RE: how to install dillo on cygwinX
Charles Li wrote: Hi, I would like to install dillo browser on cygwinx. Is there a document one of you can point me to? Or a general page for installing softwares on cygwinX. On the download site, it has: Debian, GNU-Darwin, Slackware and RPMs Which one should I use? Thanks. __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com neither -- download the source tarball and then untar it cd into the created dir hierarchy run ./configure --help and see if there are any specific configure params you want to pass run ./configure ( with any params you want) run make run make install for the quick build.. just run ./configure make make install reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: I can not get cygwin to work on my PC
[EMAIL PROTECTED] wrote: I am receiving the following errors when I attempt to access Cygwin. (Embedded image moved to file: pic13966.jpg) Tom Sherman CTC Communications NOC Tech 781-522-8752 [EMAIL PROTECTED] NOTICE OF CONFIDENTIALITY This e-mail and any attachments thereto is intended only for use by the addressee(s) named herein and may be proprietary and/or legally privileged. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this email, and any attachments thereto, without the prior written permission of the sender is strictly prohibited. If you receive this e-mail in error, please immediately telephone or e-mail the sender and permanently delete the original copy and any copy of this e-mail, and any printout thereof. All documents, contracts or agreements referred or attached to this e-mail are SUBJECT TO CONTRACT. The contents of an attachment to this e-mail may contain software viruses that could damage your own computer system. While CTC Communications has taken every reasonable precaution to minimize this risk, we cannot accept liability for any damage that you sustain as a result of software viruses. You should carry out your own virus checks before opening any attachment. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ And what did /tmp/XWin.log say? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: xterm pointer color
Jack Tanner wrote: startxwin.bat invokes xterm with the -ms red switch, which sets the (mouse) pointer color to red. Is it possible to specify the same value using a resource in .Xdefaults? $ xterm -version Cygwin 6.8.2.0(202) Rxvt.cursorColor:red xterm.cursorColor:red or *.cursorColor:red reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Best place to put new envvars?
Matthew O. Persico wrote: I am sharing a Cygwin installation in a NetWare drive among a number of developers. I want to put export CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvs/repository in one profile that is run by everyone AND I don't want it overwritten if I update Cygwin. i'd put them in your 'one profile' s $HOME in .bashrc or .bash_profile Where's the best place to stash this? Thanks -- Matthew O. Persico -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Cygwin X file structure
Andy Little wrote: Hi to the Folks at Cygwin-X, I am trying to get XWindows running on my WinXP box using Cygwin. I am hoping to write some C++ applications using it. I am however totally confused by what to do after building the XWindows sources. 1) Should I copy the lib files in my my_build_dir/exports/lib directory to usr/X11/lib/ ? 2) How do I get gcc to automatically use the library files I have created? 3) Is there a tutorial on writing simple XWindows applications? regards Andy Little http://www.google.com/search?q=gtk+tutorialsourceid=mozilla-searchstar t=0start=0ie=utf-8oe=utf-8client=firefox-arls=org.mozilla:en-US:off icial http://www.google.com/search?q=X+windows+tutorialsourceid=mozilla-searc hstart=0start=0ie=utf-8oe=utf-8client=firefox-arls=org.mozilla:en- US:official reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Running X Server
Shah Sharif wrote: Hi, I was trying to run X server after my I have intalled the cygwin. I have chosen to install 'all' the packages. In order to run the X server I have typed in the following command: /usr/X11R6/bin/startx use /usr/X11R6/bin/startxwin.sh -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: Basic question 2 - Copy from Windows and paste to cygwin or X
Herbert Eppel wrote: On 28.09.2005 13:43 UK Time, Soong, SylokeJ wrote: I am already doing that (-clipboard), among others: run XWin -screen 0 1750 1350 -multiplemonitors -emulate3buttons -scrollbars -clipboard -silent-dup-error Thanks, but would you mind elaborating a little? As I explained in a previous message, it's been a few years since I used Unix when I worked at University and my Unix knowledge has never been brilliant and has become even rustier since then... I start my X environment with the following command: startx -- -screen 0 1200 900 where would -clipoard fit in, and what does it actually do? Thank you. Herbert Eppel -- www.HETranslation.co.uk use startxwin.bat from cmd.exe or starxwin.sh if in a bash prompt to start X-windows -- you can look at both of the files to see what they do -- they are startup scripts for X. reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: Basic question 2 - Copy from Windows and paste to cygwin or X
Reid Thompson wrote: Herbert Eppel wrote: On 28.09.2005 13:43 UK Time, Soong, SylokeJ wrote: I am already doing that (-clipboard), among others: run XWin -screen 0 1750 1350 -multiplemonitors -emulate3buttons -scrollbars -clipboard -silent-dup-error Thanks, but would you mind elaborating a little? As I explained in a previous message, it's been a few years since I used Unix when I worked at University and my Unix knowledge has never been brilliant and has become even rustier since then... I start my X environment with the following command: startx -- -screen 0 1200 900 where would -clipoard fit in, and what does it actually do? Thank you. Herbert Eppel -- www.HETranslation.co.uk use startxwin.bat from cmd.exe or starxwin.sh if in a bash prompt to start X-windows -- you can look at both of the files to see what they do -- they are startup scripts for X. reid these files are in /usr//X11R6/bin reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: Basic question 3 - system tray icon
Herbert Eppel wrote: On 28.09.2005 16:48 UK Time, Reid Thompson wrote: Herbert Eppel wrote: Can the cygwin X server be prevented from placing an icon in the Windows system tray? Thank you. highlight with left mouse button, paste with middlebutton/scrollwheel Highlight what? Are we talking about the same thing, or are you referring to my Basic question 2??? Regards Herbert Eppel -- www.HETranslation.co.uk sorry -- meant to post that to the copy and paste question reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: Basic question 3 - system tray icon
Soong, SylokeJ wrote: No. He is telling you how to shut down with a single click rather than my right clicking and selecting Exit. Which is answering your question 4. Also about your question 2, as someone else recommended, you should consider running either startxwin.bat or startxwin.sh. But doing that, whatever you wrote in ~/.xinitrc would no longer be effective because either of these startup files would not call .xinitrc . I prefer the bat file because I would need to first start cygwin bash in a win/xp cmd window to allow me to run the sh file, thereby leaving a win/xp cmd window around annoying you more than the X icon would. this is not an issue -- run setup and download rxvt configure a shortcut with rxvt exec'ing a bash shell ( passing whatever params to rxvt and bash that you wish) Target: C:\cygwin\bin\rxvt.exe -fn lucida console-13-bold -e c:\cygwin\bin\bash use the shortcut to open a bash shell prompt and enter $ nohup startxwin.sh you should then be able to exit the rxvt shell window w/o X dying. The bat file is not unix and you might be more familiar with it. -Original Message- From: [EMAIL PROTECTED] [mailto:cygwin-xfree- [EMAIL PROTECTED] Behalf Of Herbert Eppel Sent: Wed, September 28, 2005 12:08 PM To: cygwin-xfree@cygwin.com Subject: Re: Basic question 3 - system tray icon On 28.09.2005 16:48 UK Time, Reid Thompson wrote: Herbert Eppel wrote: Can the cygwin X server be prevented from placing an icon in the Windows system tray? Thank you. highlight with left mouse button, paste with middlebutton/scrollwheel Highlight what? Are we talking about the same thing, or are you referring to my Basic question 2??? Regards Herbert Eppel -- www.HETranslation.co.uk -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: Basic question 3 - system tray icon
Herbert Eppel wrote: On 28.09.2005 17:45 UK Time, Reid Thompson wrote: highlight with left mouse button, paste with middlebutton/scrollwheel Highlight what? Are we talking about the same thing, or are you referring to my Basic question 2??? sorry -- meant to post that to the copy and paste question The plot thickens - Soong, SylokeJ thought you were referring to my question 4!? Anyway, I'm still not sure what exactly you meant by highlight with left mouse button, paste with middlebutton/scrollwheel - would you care to elaborate? Thanks Herbert Eppel -- www.HETranslation.co.uk my mouse has two buttons + a scrool wheel that can be clicked. clicking the scroll wheel acts the same as clicking the middle mouse button of a three button mouse. so, i can highlight any text with the left mouse button ( or other means ), and then click with the the scroll button to paste into any other application. if you don't have a three button mouse, and don't have a scroll wheel that clicks, you can try clicking right and left mouse buttons very quickly one after the other -- on many systems this is configured to emulate the button 3 click. I highly recommend downloading rxvt and configuring it as your terminal -- it is orders of magnitude better than cmd.exe in my opinion. reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: Basic question X - whatever
Herbert Eppel wrote: On 28.09.2005 18:04 UK Time, Soong, SylokeJ wrote: With the clipboard enabled, do you know how to highlight, copy paste Nice subject line - I'm not really sure why I started this Basic Question no. nonsense - it was bound to lead to confusion, sorry! between win/xp and cygwin? I think that is his intent. Microsoft(which you know): copy is by selecting then ctrl-c or menu-copy. paste is by ctrl-v or menu-paste. Motif cygwin: Selecting text would spontaneously (some people might prefer the term, automatically) copy into clipboard. Paste is by middle button click. Thanks for explain this. It's embarrassing, but I wasn't aware of the different behaviour :-[ e.g. copying from MS to Cyg: copy text from MS win, move cursor to cyg window and press/release middle button. Conversely from cyg to MS: select text at cyg win, move mouse to MS win and ctrl-v. Voila! However, if you don't have a middle mouse button, or you had mapped that button to do something else, you could use -emulate3buttons option which would require you to press both mouse buttons together to emulate the middle button. I do have the scroll wheel button assigned to double click, and I would like to keep that setting, which raises the question of where exactly I would have to specify -emulate3buttons (is it simply another command line option after startx?) and what you mean by both mouse buttons - do you mean left and right? Thanks Herbert Eppel -- www.HETranslation.co.uk you pass it as a parameter to your X startup ( ala -clipboard -multiwindow ) -emulate3buttons [timeout] Emulate 3 button mouse with an optional timeout in milliseconds. $ Xwin --help use: X [:display] [option] -a # mouse acceleration (pixels) -acdisable access control restrictions -audit int set audit trail level -auth file select authorization file bc enable bug compatibility -brcreate root window with black background +bsenable any backing store support -bsdisable any backing store support -c turns off key-click c #key-click volume (0-100) -cc intdefault color visual class -co file color database file -core generate core dump on fatal error -dpi int screen resolution in dots per inch -deferglyphs [none|all|16] defer loading of [no|all|16-bit] glyphs -f # bell base (0-100) -fc string cursor font -fn string default font name -fp string default font path -help prints message with these options -I ignore all remaining arguments -ld intlimit data space to N Kb -lf intlimit number of open files to N -ls intlimit stack space to N Kb -logo enable logo in screen saver nologo disable logo in screen saver -nolisten string don't listen on protocol -noreset don't reset after last client exists -reset reset after last client exists -p # screen-saver pattern duration (minutes) -pnaccept failure to listen on all ports -nopn reject failure to listen on all ports -r turns off auto-repeat r turns on auto-repeat -render [default|mono|gray|color] set render color alloc policy -s # screen-saver timeout (minutes) -sp file security policy file -sudisable any save under support -t # mouse threshold (pixels) -terminate terminate at server reset -to # connection time out -tst disable testing extensions ttyxx server started from init on /dev/ttyxx v video blanking for screen-saver -v screen-saver without video blanking -wmWhenMapped default backing-store -x string loads named extension at init time -maxbigreqsize set maximal bigrequest size +extension nameEnable extension -extension nameDisable extension -query host-name contact named host for XDMCP -broadcast broadcast for XDMCP -indirect host-namecontact named host for indirect XDMCP -port port-num UDP port number to send messages to -from local-addressspecify the local address to connect from -once Terminate server after one session -class display-class specify display class to send in manage -cookie xdm-auth-bits specify the magic cookie for XDMCP -displayID display-id manufacturer display ID for request The X Keyboard Extension adds the following arguments: -kbdisable the X Keyboard Extension +kb
Re: rxvt/bash immediately exits
No, I haven't upgraded. I installed RealPlayer, the R statistical system, Kerberos for Windows, and KLP (for Kerberos printing), but I doubt those are related to the issue, and I also need this software more than I need bash to directly work in rxvt. I usually just use a shortcut to a script that runs rxvt -e bash --login -i. I can't think of any way other than using the -e argument to directly run bash in rxvt. Any workarounds would also be appreciated. may or may not resolve your issue. i invoke via rxvt -any_rxvt_options_that_i_want -e bash --rcfile /home/rthompso/.bashrc -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: could not find /tmp
dorth wrote: hi all, how to resolve this error, please advise, thank you bash.exe: warning: could not find /tmp, please create! bash-2.05b$ creating /tmp should resolve it. mkdir /tmp -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: Can't display remote clients
John Ormerod wrote: you have to give permissions for remotes hosts to open apps on your server. in a cygwin bash prompt enter $ xhost + note that this will give 'everyone' permissions to open a window on your server. you could do $ xhost ip-addr-of-machine-you-want-to-allow-to-open-apps or man xhost to see more info. It should not take more than a few seconds to open a cygwin bash prompt. If i dbl-click on cygwin-bat, it takes about 3 secs for a bash prompt window to be ready for use. 2+ghz intel, with 1GB ram. same with my home machine 2500XP athlon with 512MB ram. ( i normally open a bash session in rxvt ( can't stand cmd.exe ), and it also takes ~3 secs to be ready ) My suggestion is this. make sure no cygwin processes are running ( ps -ef ) return to www.cygwin.com, re-run setup for cygwin, selecting to re-install all of the non-X applications that you have installed. When that has completed, re-run setup again, selecting to re-install all of the X applications that you have installed. go ahead and reboot. ( shouldn't be necessary, but lets do so anyway) dbl-click on c:\cygwin\cygwin.bat Make sure that /usr/X11R6/bin is in your PATH. $ echo $PATH ( if not in there, export PATH=$PATH:/usr/X11R6/bin)( you can add this to your .bashrc or .bash_profile if needed) Make sure the display is set correctly: $ env |grep DISPLAY ( what does this show ) Mine: $ env |grep DISP DISPLAY=:0 run $ startxwin.sh open another bash shell via cygwin.bat run $ xterm reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: Can't display remote clients
Soong, SylokeJ wrote: When I first downloaded and installed cygwin my ulterior motive was - if there are free complex stuffs like FTP servers, J2EE servers, Java IDEs, etc, there must be a free piece of software for X/Win on Windows. My ulterior was, where I would prove to those charging an arm and some toes and yet would not do a proper job in what they sell. when it's all said and done it's pretty simple, go to www.cygwin.com, run setup to install base packages. Run setup again to install X packages. I think that the pages http://x.cygwin.com/ and www.cygwin.com and http://cygwin.com/docs.html provide pretty straightforward instructions. Downloading and Installing Install Cygwin/X now Cygwin/X is installed via Cygwin's setup.exe and the installation process is documented in the Cygwin/X User's Guide. Whether or not you already have Cygwin installed, you can add Cygwin/X to your installation by downloading the latest setup.exe, running setup, and selecting the 'xorg-x11-base' package from the 'X11' category. Using Cygwin/X is documented in a step-by-step manner, with lots of pictures and examples, in the Cygwin/X User's Guide. Please notice, however, that Cygwin/X contains many general-purpose programs, libraries, and functions that are part of all X distributions. It is therefore beyond the scope of the Cygwin/X User's Guide to document all of these X Window System components. To find documentation, for example, for setxkbmap one should consult the generic X documentation such as the SETXKBMAP(1) manual page. You could always, of course, do a Google search for setxkbmap, which finds the manual page mentioned above. reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: Documentation on functions
Siegfried Heintze wrote: Is there documentation on the documentation? In other words, is the process of submitting documentation documented? Does one use the GNU texi or SGML docbook or some other format? I've been curious about these tools for years but have never used them. Are there any functions documented (and I just had the bad luck of picking the only three that were not documented) or do they all need to be documented? (Yikes! That could be a big job)! Is it a simple matter of cutting and pasting from linux (e.g. fedora) man pages or does one have to go to the source code and extract the copious comments there and just reformat them into man pages? Siegfried $ man -w /usr/local/man:/usr/share/man:/usr/local/pgsql/man:/usr/X11R6/man:/usr/s sl/man:/usr/man WS-XP-4960: /home/rthompso $ ls /usr/local/man/* /usr/local/man/ja: man1 /usr/local/man/man1: ascii-xfr.1 cscope.1 evim.1 gvimdiff.1 lua.1 mplayer.1 ratpoison.1 rview.1 sclite.1 vimdiff.1 wterm.1 aterm.1 dig.1 ex.1 host.1 luac.1 mrxvt.1 rgview.1 rvim.1 script.1 vimtutor.1 xminicom.1 blackbox.1 elinks.1 fontforge.1 imlib-config.1 mencoder.1 namazu.1 rgvim.1 rvimdiff.1 sfddiff.1 w3m.1 xmms.1 bsetbg.1 ervim.1 gview.1 imlib_config.1 minicom.1 nslookup.1 rover.1 rvimtutor.1 view.1 w3mman.1xxd.1 bsetroot.1 eview.1 gvim.1 links2.1mknmz.1 osd_cat.1 runscript.1 sc_stats.1 vim.1 wmxmms.1 /usr/local/man/man3: lwres.3lwres_conf_parse.3 lwres_gai_strerror.3lwres_gnbaresponse_render.3 lwres_addr_parse.3 lwres_conf_print.3 lwres_getaddrinfo.3 lwres_herror.3 lwres_buffer.3 lwres_config.3 lwres_getaddrsbyname.3 lwres_hstrerror.3 lwres_buffer_add.3 lwres_context.3 lwres_gethostbyaddr.3 lwres_inetntop.3 lwres_buffer_back.3lwres_context_allocmem.3 lwres_gethostbyaddr_r.3 lwres_lwpacket_parseheader.3 lwres_buffer_clear.3 lwres_context_create.3 lwres_gethostbyname.3 lwres_lwpacket_renderheader.3 lwres_buffer_first.3 lwres_context_destroy.3 lwres_gethostbyname2.3 lwres_net_ntop.3 lwres_buffer_forward.3 lwres_context_freemem.3 lwres_gethostbyname_r.3 lwres_noop.3 lwres_buffer_getmem.3 lwres_context_initserial.3 lwres_gethostent.3 lwres_nooprequest_free.3 lwres_buffer_getuint16.3 lwres_context_nextserial.3 lwres_gethostent_r.3lwres_nooprequest_parse.3 lwres_buffer_getuint32.3 lwres_context_sendrecv.3 lwres_getipnode.3 lwres_nooprequest_render.3 lwres_buffer_getuint8.3lwres_endhostent.3 lwres_getipnodebyaddr.3 lwres_noopresponse_free.3 lwres_buffer_init.3lwres_endhostent_r.3 lwres_getipnodebyname.3 lwres_noopresponse_parse.3 lwres_buffer_invalidate.3 lwres_freeaddrinfo.3 lwres_getnamebyaddr.3 lwres_noopresponse_render.3 lwres_buffer_putmem.3 lwres_freehostent.3 lwres_getnameinfo.3 lwres_packet.3 lwres_buffer_putuint16.3 lwres_gabn.3 lwres_getrrsetbyname.3 lwres_resutil.3 lwres_buffer_putuint32.3 lwres_gabnrequest_free.3 lwres_gnba.3 lwres_sethostent.3 lwres_buffer_putuint8.3lwres_gabnrequest_parse.3 lwres_gnbarequest_free.3lwres_sethostent_r.3 lwres_buffer_subtract.3lwres_gabnrequest_render.3 lwres_gnbarequest_parse.3 lwres_string_parse.3 lwres_conf_clear.3 lwres_gabnresponse_free.3 lwres_gnbarequest_render.3 xosd.3 lwres_conf_get.3 lwres_gabnresponse_parse.3 lwres_gnbaresponse_free.3 lwres_conf_init.3 lwres_gabnresponse_render.3 lwres_gnbaresponse_parse.3 /usr/local/man/man5: elinks.conf.5 elinkskeys.5 named.conf.5 rndc.conf.5 /usr/local/man/man8: dnssec-keygen.8lft.8 mtr.8 named-checkzone.8 named.conf.5 rndc-confgen.8 dnssec-signzone.8 lwresd.8 named-checkconf.8 named.8 nsupdate.8rndc.8 WS-XP-4960: /home/rthompso $ ls /usr/share/man/* /usr/share/man/bg: man1 man5 /usr/share/man/cat1: fltk-config.1 fluid.1 /usr/share/man/cat3: fltk.3 /usr/share/man/cs: man1 man5 /usr/share/man/da: man1 man5 /usr/share/man/de: man1 man5 man6 /usr/share/man/el: man1 man5 man8 /usr/share/man/es: man1 man5 /usr/share/man/fi: man1 man5 /usr/share/man/fr: man1 man5 man6 /usr/share/man/hr: man1 man5 /usr/share/man/it: man1 man5 man6 man8 /usr/share/man/ja: man1 man5 /usr/share/man/ko: man1 man5 /usr/share/man/man1: GraphicsMagick++-config.1 djpeg.1head.1.gz oggenc.1splitdiff.1.gz GraphicsMagick-config.1dlltool.1 help.1 ogginfo.1 sprut.1 ImageMagick.1 do.1 help2man.1.gz oka.1 ssh-add.1 Magick++-config.1 done.1 history.1 onsgmls.1.gzssh-agent.1 Magick-config.1doxygen.1.gz hostid.1.gz
RE: Is my X Servier not fully started (Rel: 6.8.2.0-4)
John Ormerod wrote: Hello I've been struggling all day in what is a new world for me. I need to have GUI access to a Linux system that runs in a did you comment out this line from your .bat file? If you did, uncomment it. run xterm -e /usr/bin/bash -l ...snip REM Startup the X Server with the integrated Windows-based window manager. REM WARNING: Do not use 'xwinclip' in conjunction with the ``-clipboard'' REM command-line parameter for XWin. Doing so would start two clipboard REM managers, which is never supposed to happen. run XWin -multiwindow -clipboard -silent-dup-error REM Startup an xterm, using bash as the shell. run xterm -e /usr/bin/bash -l ..snip I believe the context menu you are referring to is controlled by a .XWinrc file in your home directory $ cat .XWinrc # XWin Server Resource File - EXAMPLE # Earle F. Philhower, III # Place in ~/.XWinrc or in /usr/X11R6/lib/X11/system.XWinrc # Keywords are case insensitive, comments legal pretty much anywhere # you can have an end-of-line # Comments begin with # or // and go to the end-of-line # Paths to commands are **cygwin** based (i.e. /usr/local/bin/xcalc) # Paths to icons are **WINDOWS** based (i.e. c:\windows\icons) # Menus are defined as... # MENU name { # Menu Text EXECcommand # ^^ This command will have any %display% # string replaced with the proper display # variable (i.e. 127.0.0.1:display.0) # or Menu Text MENUname-of-some-prior-defined-menu # or Menu Text ALWAYSONTOP # ^^ Sets the window to display above all others # or Menu Text RELOAD # ^^ Causes ~/.XWinrc or the system.XWinrc file #to be reloaded and icons and menus regenerated # or SEPARATOR # ... # } # Set the taskmar menu with # ROOTMENU name-of-some-prior-defined-menu # If you want a menu to be applied to all popup window's system menu # DEFAULTSYSMENU name-of-some-prior-defined-menu atstart|atend # To choose a specific menu for a specific WM_CLASS or WM_NAME use ... # SYSMENU { # class-or-name-of-window name-of-prior-defined-menu atstart|atend # ... # } # To define where ICO files live (** Windows path**) # ICONDIRECTORY windows-path i.e. c:\cygwin\usr\icons # To define a replacement for the standard X icon for apps w/o specified icons # DEFAULTICON name-of-windows-ico-file-in-icondirectory # To define substitute icons on a per-window basis use... # ICONS { # class-or-name-of-window icon-file-name.ico # ... # } # In the case where multiple matches occur, the first listed in the ICONS # section will be chosen. # DEBUG string prints out the string to the XWin.log file // Below are just some silly menus to demonstrate writing your // own configuration file. // Make some menus... menu apps { rxvt-green_on_blackexecrxvt -sl 2000 -sb -sr -cr red -geometry 80x40+200+100 -fg green -bg black -e /usr/bin/bash rxvt-yellow_on_blackexecrxvt -sl 2000 -sb -sr -cr red -geometry 80x 40+200+100 -fg yellow -bg black -e /usr/bin/bash Emacs execemacs xterm execxterm notepad execnotepad } menu root { // Comments fit here, too... Reload .XWinrcRELOAD Applications menuapps SEParATOR } menu aot { Separator Always on Top alwaysontop } menu xtermspecial { Emacs execemacs Always on Top alwaysontop SepArAtor } RootMenu root DefaultSysMenu aot atend SysMenu { xterm xtermspecial atstart } # IconDirectory c:\winnt\ # DefaultIcon reinstall.ico # Icons { # xterm uninstall.ico # } DEBUG Done parsing the configuration file... reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Is my X Server not fully started? (Rel: 6.8.2.0-4)
Try the following. Open a cygwin bash shell, using cygwin.bat. make sure that X is not running,,, $ ps -ef | grep X should not list Xwin from the command line call $ startxwin.sh what does this result in? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: Documentation on functions
Siegfried Heintze wrote: This is the third time I have mailed this to Cygwin@cygwin.com and it has not showed up yet in the list. I am subscribed. Obviously, if you are seeing this, then it succeeded. What a mystery. Anyway... I noticed that when I boot fedora core 4, the function readdir is documented in man. However, when I boot windows/Cygwin readdir is not available in info or man. When I download the same code for Beginning Programming in Linux from the www.wrox.com site I notice that all the code on pthreads compiles and seems to run! But, I notice, pthread_attr_init is not in man or info either. Where is the documentation on these functions? Thanks, Siegfried/ http://www.die.net/doc/linux/man/man3/readdir.3.html http://www.die.net/doc/linux/man/ reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Documentation on functions
Eric Blake wrote: Followup - for standard functions, like readdir or pthread_attr_init, I usually refer directly to POSIX (http://www.opengroup.org/onlinepubs/009695399/toc.htm) to at great pointer -- thanks reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Bash login breaks if too many environment variables are set
Hommersom, Fred wrote: My startup of cygwin is a .bat file with contents call bigsetup.bat set HOME=C:\Data\locations\tc50_custy00 c:\cygwin\bin\bash --login -i The file bigsetup.bat contains a huge amount environment variables. For a medium number (~ 600) everything works fine For a larger number the output is: bash: /usr/bin/id: Resource temporarily unavailable bash: /bin/find: Resource temporarily unavailable bash: /usr/bin/sort: Resource temporarily unavailable bash: /usr/bin/tr: Resource temporarily unavailable bash: /usr/bin/uname: Resource temporarily unavailable bash: /usr/bin/id: Resource temporarily unavailable and for more variables no error messages show up but the HOME directory is not correctly set. What is the underlying cause of this behavior? Is it possible to tune bash or cygwin to cope with this large number of variables? Thanks Fred -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ i would think that you should declare your env variables in either your .bashrc or your .bash_profile rather than in a .bat file. It may solve your problem. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: error in running startx
Johan Grönqvist wrote: I get exactly the same error message when I try to start X while already having X running. My guess is therefore that you have already started x successfully, but you do not know it. Try starting xterm instead and see if it works. You may have to set a DISPLAY variable for that to work. I think the script startxwin is closer to what you want, but I am not the expert. / johan -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ you are correct -- use either startxwin.bat, or (startxwin.sh if running cygwin). -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: setup PATH variable by PATH=%PATH:/usr/X11R6/bin
Mark Paulus wrote: The statement should read: PATH=%PATH%:/usr/X11R6/bin Note the trailing % on PATH. That is a Windowism. On Thu, 01 Sep 2005 12:33:23 -0400 (EDT), PoWah Wong wrote: I want to setup my PATH variable by following the instructions of Chapter 4. Using Cygwin/X, section startx at http://x.cygwin.com/docs/ug/using.html. After doing PATH=%PATH:/usr/X11R6/bin my original path is lost. Actually, i think that if you're in a cygwin bash terminal you have to use $PATH rather than %PATH%. reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: setup PATH variable by PATH=%PATH:/usr/X11R6/bin
Mark Paulus wrote: The statement should read: PATH=%PATH%:/usr/X11R6/bin Note the trailing % on PATH. That is a Windowism. yep -- that's a typo -- $ PATH=%PATH:/usr/X11R6/bin should be $ PATH=$PATH:/usr/X11R6/bin reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: How to set a variable with a space in the value?
[EMAIL PROTECTED] wrote: Hi, I have a JDK installed in c:\Java SDK directory. I am trying to export the JAVA_HOME in cygwin but it seems is crancking out on the space. export JAVA_HOME=c:\Java\\ SDK export JAVA_HOME=c:\Java SDK\ and, export JAVA_HOME=c:/Java SDK/ all fails. Please help! Thnx, -Ashish try ln -s C:\\Java\ SDK /java export JAVA_HOME=/java reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: How to set a variable with a space in the value?
Igor Pechtchanski wrote: On Tue, 30 Aug 2005, Reid Thompson wrote: [EMAIL PROTECTED] wrote: huh! That shouldn't have happened -- I use QuoteFix when using Outlook... will have to check to see a crash or something re-configured some of my settings -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Remote login, then nothing happens
Andy Schmidgall wrote: Igor Pechtchanski wrote: (and then a bunch of options) cygwin-prompt DISPLAY=:0 ssh -Y [EMAIL PROTECTED] do you then get a Password: prompt? If you do, and you enter your linux password, do you then get a prompt on your linux box? If not, this question is probably not related to X at all. Contact e.g. another cygwin list. I get a password prompt, but after entering my password, nothing else happens. I do not get a command prompt after entering my password. Does the same happen if you run ssh -x (note the lowercase) without DISPLAY= and -Y? If so, you may indeed have a general ssh issue -- try to get a working prompt first, and then set up X forwarding. ssh -x (lowercase) works just fine. I enter my password and immediately receive a command prompt. One more place to check is your startup scripts on the remote machine. Do they change the value of DISPLAY (they shouldn't -- it should be left at whatever ssh sets it to)? Do they try to launch an X client if DISPLAY is set (that could be what's causing the apparent hang)? Igor [*] Well, there are more configuration options to check, but the two things above are required regardless of the configuration. I don't see any scripts that would change the DISPLAY variable on the server. Also, if I ssh directly in to the server, echo $DISPLAY shows that the variable is empty. Should this have a value? If I kill the shell process on my windows machine, the xterm throws an error: Warning: No xauth data; using fake authentication data for X11 forwarding. and then logs me in to the server with a text command prompt. I'm not sure if this is important or anything. Thanks for the help so far. -Andy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/ you have to use a capital X -- minor case x disables x forwarding -- see man ssh -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: C lueless why X86... wont start
Rob wrote: Here is my XWin error message. I have searched archives and FAQ's and have found nothing on this. Perhaps I missed something. All I get is and xterm window. No Windowmaker. I understand that -multiwindow is not to be used with an externer window manager but I cannot find the source of this anywhere on my system. Save the following as /usr/X11R6/bin/startxwinwmaker.sh and then execute it. Then read it, and make changes to suit your needs. #! /bin/sh export DISPLAY=127.0.0.1:0.0 export PATH=/usr/X11R6/bin:$PATH export XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults export XCMSDB=/usr/X11R6/lib/X11/Xcms.txt export XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB export XNLSPATH=/usr/X11R6/lib/X11/locale # Cleanup from last run. rm -rf /tmp/.X11-unix # The error Fatal server error: could not open default font 'fixed' is # caused by using a DOS mode mount for the mount that the Cygwin/X # fonts are accessed through. See the Cygwin/X FAQ for more # information: # http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof # Brief descriptions of XWin-specific options: # # -screen scr_num [width height] # Enable screen scr_num and optionally specify a width and # height for that screen. # Most importantly, any parameters specified before the first -screen # parameter apply to all screens. Any options after the first -screen # parameter apply only to the screen that precedes the parameter. # Example: # XWin -fullscreen -screen 0 -screen 1 -depth 8 -screen 2 # All screens will be fullscreen, but screen 2 will be depth 8, while # screens 0 and 1 will be the default depth (whatever depth Windows # is currently running at). # -multiwindow # Start an integrated Windows-based window manager. Not to be used # with -rootless nor -fullscreen. # -rootless # Use a transparent root window with an external window manager # (such as twm). Not to be used with -multiwindow nor # with -fullscreen. # -fullscreen # Use a window as large as possible on the primary monitor. # -multiplemonitors # Create a root window that covers all monitors on a # system with multiple monitors. # -clipboard # Enable the integrated version of xwinclip. Do not use in # conjunction with the xwinclip program. # -depth bits_per_pixel # Specify the screen depth to run at (in bits per pixel) using a # DirectDraw-based engine in conjunction with the -fullscreen # option, ignored if the -fullscreen option is not specified. # By default, you will be using a DirectDraw based engine on any # system that supports it. # -unixkill # Trap Ctrl+Alt+Backspace as a server shutdown key combination. # -nounixkill # Disable Ctrl+Alt+Backspace as a server shutdown key combination (default). # Example: # XWin -unixkill -screen 0 -screen 1 -screen 2 -nounixkill # Screens 0 and 1 will allow Ctrl+Alt+Backspace, but screen 2 will not. # -winkill # Trap Alt+F4 as a server shutdown key combination (default). # -nowinkill # Disable Alt+F4 as a server shutdown key combination. # -scrollbars # Enable resizing of the server display window. Do not use in conjunction # with -multiwindow nor with -rootless. # -nodecoration # Draw the server root window without a title bar or border. # Do not use with -mutliwindow nor with -rootless. # -lesspointer # Hide the Windows mouse cursor anytime it is over any part of the # window, even if Cygwin/X is not the window with the focus. # -refresh rate_in_Hz # Specify a refresh rate to use when used with the -fullscreen option. # -trayicon # Enable the tray icon (default). # -notrayicon # Disable the tray icon. # Example: # XWin -notrayicon -screen 0 -screen 1 -screen 2 -trayicon # Screens 0 and 1 will not have tray icons, but screen 2 will. # -emulate3buttons [timeout] # Emulate 3 button mouse with an optional timeout in milliseconds. # -xf86config # Specify an XF86Config-style configuration file. # -keyboard # Specify a keyboard device from the configuration file. # # Startup the programs # # Startup the X Server with the integrated Windows-based window manager. # WARNING: Do not use 'xwinclip' in conjunction with the ``-clipboard'' # command-line parameter for XWin. Doing so would start two clipboard # managers, which is never supposed to happen. XWin -clipboard -silent-dup-error # Startup an xterm, using bash as the shell. Add xterm parameters ( -sb -sl 2500 -fg turquoise -bg black )... xterm -e /usr/bin/bash -l # # Startup the twm window manager. # WARNING: Do not use an external window manager in conjunction with # the ``-multiwindow'' command-line parameter for XWin. Doing so # would start two window managers, which is never supposed to happen. # # twm wmaker # Set a background color. Only needed when not using -multwindow for XWin. xsetroot
Re: readline completion
Sam Steingold wrote: * Eric Blake [EMAIL PROTECTED] [2005-08-17 19:30:14 +]: Mounts are persistent. Running the command just once will make it affect all future cygwin startups, until you rerun mount or umount. thanks! (Just like Unix mount points.) Not on linux. mount /dev/fd /mnt/floppy; reboot; ls /mnt/floppy will show an empty directory. I think that's a reflection of how the mount is defined in /etc/fstab. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: OT: Krazy USB Kameras (RE: Programatically finding value of cygdrive prefix)
Gary R. Van Sickle wrote: [snip] NOTE: A digital camera shows up as an USB drive, i.e. a DOS drive - e.g. /cygdrive/next free letter - and is available so long as the camera stays ON (it eventually WILL go OFF after last use, just as your screen blanker! Depending on how you've set it or use it.) A USB Mass Storage Device that does this is poorly designed at best, and probably not compliant with the USB specification. I can't recall a situation where a device is allowed to just disappear once plugged in and enumerated without the user doing something (a bus-powered device anyway). You should see if there is a firmware upgrade available for it. Then again, I know firsthand that Microsoft had USB Mass Storage pretty wildly wrong as late as the release of XP SP...2 I think, maybe 1, so who knows, could be MS's fault. Most cameras have an auto-off function to preserve battery power. I do not think any of them are actually usb powered when plugged in. I know that mine will NOT function without charged batteries in it even when plugged into a port. I suppose that if a camera has the means to turn off the auto-shutoff function then it will not disappear until the batteries fail, whereupon it will act like any other externally powered USB device and become unaccessable. I believe that some cameras come with an external power adapter that will provide continuous power. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Starting Xwin - Shell Window Remains
As info I start X by using a shortcut to open an rxvt window running bash ( see below for contents of shortcut scripts ). (If you do not have rxvt, use setup to get it, it is unbelievable to me that with billions of dollars MS cannot include a decent command prompt.) Then, in the rxvt window I type startxscript After this I can exit the rxvt window used to start X with no problems. I have a desktop shortcut that has a target of: C:\cygwin\bin\rxvt.exe -sr -sl 2500 -geometry 80x25 -sb -fg grey -bg grey15 -fn lucida console-13-bold -e c:/cygwin/bin/bash --rcfile /home/rthompso/.bashrc and a start in value of: c:\cygwin\home\rthompso $HOME/bin is part of my path. I have $HOME/bin/startxscript that contains: $ cat startxscript #!/bin/bash /usr/X11R6/bin/startxwin.sh My /usr/X11R6/bin/startxwin.sh contains ( slight mods from the downloaded script ): #! /bin/sh export DISPLAY=127.0.0.1:0.0 export PATH=/usr/X11R6/bin:$PATH export XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults export XCMSDB=/usr/X11R6/lib/X11/Xcms.txt export XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB export XNLSPATH=/usr/X11R6/lib/X11/locale # Cleanup from last run. rm -rf /tmp/.X11-unix # The error Fatal server error: could not open default font 'fixed' is # caused by using a DOS mode mount for the mount that the Cygwin/X # fonts are accessed through. See the Cygwin/X FAQ for more # information: # http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-error-font-eof # Brief descriptions of XWin-specific options: # # -screen scr_num [width height] # Enable screen scr_num and optionally specify a width and # height for that screen. # Most importantly, any parameters specified before the first -screen # parameter apply to all screens. Any options after the first -screen # parameter apply only to the screen that precedes the parameter. # Example: # XWin -fullscreen -screen 0 -screen 1 -depth 8 -screen 2 # All screens will be fullscreen, but screen 2 will be depth 8, while # screens 0 and 1 will be the default depth (whatever depth Windows # is currently running at). # -multiwindow # Start an integrated Windows-based window manager. Not to be used # with -rootless nor -fullscreen. # -rootless # Use a transparent root window with an external window manager # (such as twm). Not to be used with -multiwindow nor # with -fullscreen. # -fullscreen # Use a window as large as possible on the primary monitor. # -multiplemonitors # Create a root window that covers all monitors on a # system with multiple monitors. # -clipboard # Enable the integrated version of xwinclip. Do not use in # conjunction with the xwinclip program. # -depth bits_per_pixel # Specify the screen depth to run at (in bits per pixel) using a # DirectDraw-based engine in conjunction with the -fullscreen # option, ignored if the -fullscreen option is not specified. # By default, you will be using a DirectDraw based engine on any # system that supports it. # -unixkill # Trap Ctrl+Alt+Backspace as a server shutdown key combination. # -nounixkill # Disable Ctrl+Alt+Backspace as a server shutdown key combination (default). # Example: # XWin -unixkill -screen 0 -screen 1 -screen 2 -nounixkill # Screens 0 and 1 will allow Ctrl+Alt+Backspace, but screen 2 will not. # -winkill # Trap Alt+F4 as a server shutdown key combination (default). # -nowinkill # Disable Alt+F4 as a server shutdown key combination. # -scrollbars # Enable resizing of the server display window. Do not use in conjunction # with -multiwindow nor with -rootless. # -nodecoration # Draw the server root window without a title bar or border. # Do not use with -mutliwindow nor with -rootless. # -lesspointer # Hide the Windows mouse cursor anytime it is over any part of the # window, even if Cygwin/X is not the window with the focus. # -refresh rate_in_Hz # Specify a refresh rate to use when used with the -fullscreen option. # -trayicon # Enable the tray icon (default). # -notrayicon # Disable the tray icon. # Example: # XWin -notrayicon -screen 0 -screen 1 -screen 2 -trayicon # Screens 0 and 1 will not have tray icons, but screen 2 will. # -emulate3buttons [timeout] # Emulate 3 button mouse with an optional timeout in milliseconds. # -xf86config # Specify an XF86Config-style configuration file. # -keyboard # Specify a keyboard device from the configuration file. # # Startup the programs # # Startup the X Server with the integrated Windows-based window manager. # WARNING: Do not use 'xwinclip' in conjunction with the ``-clipboard'' # command-line parameter for XWin. Doing so would start two clipboard # managers, which is never supposed to happen. XWin -multiwindow -clipboard -silent-dup-error # Startup an xterm, using bash as the shell.
NOMACHINE NX client uses cygwin
as info.. uses cygwin and cygwin X http://www.nomachine.com/screenshots1.php WS-XP-4960: /C/Program Files/NX Client for Windows $ find . . ./bin ./bin/cygcrypto-0.9.8.dll ./bin/cygjpeg-62.dll ./bin/cygminires.dll ./bin/cygpng12.dll ./bin/cygserver.exe ./bin/cygwin1.dll ./bin/cygXcomp.dll ./bin/cygz.dll ./bin/nxauth.exe ./bin/nxesd.exe ./bin/nxkill.exe ./bin/nxsetup.exe ./bin/nxssh.exe ./bin/NXWin.exe ./nxclient.exe ./nxclient.url ./share ./share/icons ./share/icons/admin.ico ./share/icons/nx-desktop.ico ./share/icons/nx-desktop.png ./share/icons/nx.png ./share/icons/nxclient-admin.png ./share/icons/nxclient-wizard.png ./share/icons/wizard.ico ./share/images ./share/images/about-down.png ./share/images/about-up.png ./share/images/connect-01.png ./share/images/connect-02.png ./share/images/connect-03.png ./share/images/connect-04.png ./share/images/connect-05.png ./share/images/connect-06.png ./share/images/connect-07.png ./share/images/connect-08.png ./share/images/connect-09.png ./share/images/connect-10.png ./share/images/connect-fail-01.png ./share/images/connect-fail-02.png ./share/images/folder-shared.png ./share/images/folder-shared_disabled.png ./share/images/kill-dsb.png ./share/images/kill.png ./share/images/multimedia-dsb.png ./share/images/multimedia.png ./share/images/new-session-dsb.png ./share/images/new-session.png ./share/images/nomachine-no-background.png ./share/images/nx-desktop.png ./share/images/nx.png ./share/images/nxclient-admin.png ./share/images/nxclient-wizard.png ./share/images/printer-default-icon-disabled.png ./share/images/printer-default-icon.png ./share/images/printer-icon-disabled.png ./share/images/printer-icon.png ./share/images/printer-shared-disabled.png ./share/images/printer-shared.png ./share/images/pulldown-close.png ./share/images/pulldown-suspend.png ./share/images/pulldown-terminate.png ./share/images/refresh-dsb.png ./share/images/refresh.png ./share/images/remove-dsb.png ./share/images/remove.png ./share/images/session-stats-01-dsb.png ./share/images/session-stats-01.png ./share/images/session-stats-02-dsb.png ./share/images/session-stats-02.png ./share/images/sharing-dsb.png ./share/images/sharing.png ./share/images/terminate-dsb.png ./share/images/terminate.png ./share/images/view-log-dsb.png ./share/images/view-log.png ./share/images/warning.png ./share/images/wizard.png ./share/keyboards ./share/keys ./share/keys/server.id_dsa.key ./tmp ./unins000.dat ./unins000.exe ./usr ./usr/X11R6 ./usr/X11R6/lib ./usr/X11R6/lib/X11 ./usr/X11R6/lib/X11/fonts ./usr/X11R6/lib/X11/fonts/misc ./usr/X11R6/lib/X11/fonts/misc/10x20-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/5x7-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/5x8-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/6x10-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/6x12-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/6x13-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/6x13B-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/6x13O-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/6x9-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/7x13-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/7x13B-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/7x13O-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/7x14-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/7x14B-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/8x13-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/8x13B-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/8x13O-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/9x15-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/9x15B-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/9x18-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/9x18B-ISO8859-1.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/cursor.pcf.gz ./usr/X11R6/lib/X11/fonts/misc/encodings.dir ./usr/X11R6/lib/X11/fonts/misc/fonts.alias ./usr/X11R6/lib/X11/fonts/misc/fonts.dir ./usr/X11R6/lib/X11/fonts/rgb.txt ./usr/X11R6/lib/X11/fonts/TTF ./usr/X11R6/lib/X11/fonts/TTF/encodings.dir ./usr/X11R6/lib/X11/fonts/TTF/fonts.dir ./usr/X11R6/lib/X11/fonts/TTF/fonts.scale ./usr/X11R6/lib/X11/fonts/TTF/luximb.ttf ./usr/X11R6/lib/X11/fonts/TTF/luximbi.ttf ./usr/X11R6/lib/X11/fonts/TTF/luximr.ttf ./usr/X11R6/lib/X11/fonts/TTF/luximri.ttf ./usr/X11R6/lib/X11/fonts/TTF/luxirb.ttf ./usr/X11R6/lib/X11/fonts/TTF/luxirbi.ttf ./usr/X11R6/lib/X11/fonts/TTF/luxirr.ttf ./usr/X11R6/lib/X11/fonts/TTF/luxirri.ttf ./usr/X11R6/lib/X11/fonts/TTF/luxisb.ttf ./usr/X11R6/lib/X11/fonts/TTF/luxisbi.ttf ./usr/X11R6/lib/X11/fonts/TTF/luxisr.ttf ./usr/X11R6/lib/X11/fonts/TTF/luxisri.ttf reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Initial run of BASH doesn't initialize home directory
Tom Smith wrote: With all due respect, Igor, I think you missed my point. The point is this: 1) I ran the Cygwin setup.exe and the Cygwin/X setup.exe (a distinction made by the cygwin.com web site itself) on the same computer. It's the same installer, just linked to different pages with different text. 2) The Cygwin/X installation gave me grief as mentioned in my initial post. 3) The Cygwin installation gave me no grief and worked perfectly. Run the installer once selecting all the non-X stuff you want. Setup your environment like you want it. Run the installer again, selecting all the X stuff you want. Therefore, my conclusion was that there's something different between the two installation routines--is this not a rational conclusion? I apologize for not including the output of cygcheck -svr. I no longer have Cygwin/X installed so this will have to wait until tomorrow. Based on what I mentioned above, is this still something I should take to the Cygwin list? reid
RE: Problems running OpenGL program on Cygwin
Larry Griffith wrote: Dear List Members, I'm a newbie to Cygwin who is trying to learn how to run an OpenGL program under Cygwin-X. I used a standard program written by SGI (called cube.c) that I know runs correctly under Solaris 9, using gcc and the Mesa library, so I don't think the program itself is the problem. I ran xinit to get a bash shell, cd'd to the proper directory, and ran the following command: gcc cube.c -o cube -I/usr/X11R6/include -L/usr/X11R6/lib -lglut -lGLU -lGL -lX11 which compiles correctly (thanks to some assistance from your mailing list archives). When I type ./cube I get a black rectangle with no picture (and in particular no cube) and no error messages. I can click the shell window and press CTRL-C to get out. I've checked the FAQ, the user guide, and the archives (which did give me some help), but I can't get past this point. As already mentioned, I know this program works on Solaris/gcc/Mesa, so I'm wondering if there is a problem with my cygwin installation, libraries, or commands. I'm running the latest version of the Cygwin system as far as I can tell on Windows XP SP2. as info - i dl'd cube.c, pasted your compile command above, called ./cube -- all worked as expected. do you have any cygwin precompiled x binaries available ( xclock??? ), if you call xclock, what is the result? reid
RE: Path Statement Not Being Evaluated by Bash in Cygwin
Ross MacGillivray wrote: I am trying to test KDE 3.4 (and Qt 3.3) on Cygwin. I have installed the additional packages needed for KDE 3.4 and I even did a complete re-install of all packages to ensure that I have a clean system. when I start bash and enter 'echo $path'. This is the path statement returned. C:\cygwinbash bash-2.05b$ pwd / bash-2.05b$ echo $path /usr/bin:/usr/X11R6/bin:/opt/qt/3.3/bin:/cygdrive/c/PROGRA~1/C OMMON~1/GTK/2.0/bi n:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c /WINDOWS/System32/ Wbem:/cygdrive/c/Program Files/Support Tools/:/cygdrive/c/Program Files/Microsof t Visual Studio 8/Common7/IDE:/cygdrive/c/Program Files/Microsoft Visual Studio 8/VC/bin:/usr/bin:/cygdrive/c/Program Files/Microsoft Platform SDK/Include:/cygd rive/c/Program Files/Microsoft Platform SDK/Bin:/cygdrive/c/Program Files/Micros oft Visual Studio 8/VC/lib:/cygdrive/e/livemedia-unix2/live/testProgs:/cygdrive/ c/Program Files/OpenVPN/bin:. When I run my startup script for KDE. bash-2.05b$ cd home bash-2.05b$ cd Ross MacGillivray bash-2.05b$ ls startkde bash-2.05b$ cat startkde usr/bin/echo $path usr/sbin/cygserver export CYGWIN=server export DISPLAY=127.0.0.1:0 usr/X11R6/bin/XWin -multiwindow usr/X11R6/bin/xwinclip usr/X11R6/bin/xhost + export SHELL=/bin/bash opt/kde3.4/bin/kdeinit +kicker I get two windows error messages report that two dll's cannot be found. The dll's are: cygX11-6.dll and cyggt-mt-3.dll. One DLL is in /usr/X11R6/bin and one DLL is in /opt/qt/3.3/bin Both paths are in the path statement above. What's going on here? /Ross MacGillivray Not sure how you've got things setup, but `echo $path` should result in an empty return statement. the variable is PATH not path, case sensitive. reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Cygwin x windows working fine for 5 of our Solaris 2.8 boxes, but can't get CDE login screen up for one other box - can anyone help
Griffey Matthew wrote: XWin.log Hi, I am getting the attached log file produced in the Cygwin/tmp directory on my PC when i try to run x against one of our Solaris 2.8 boxes - although it can connect fine to the other similar Solaris boxes. It opens a window but doesn't get as far as the login box - just has a black and white fuzz on the screen. Any ideas please? Many Thanks Matt Griffey. did you give the solaris box in question permission to connect to the cygwin xserver? reid
RE: Changing colours of XTerm
[EMAIL PROTECTED] wrote: Hello, I have begun to use Cygwin on Windows and I have tried every technique I could find on the web for changing from the default black-on-white colours of Xterm (and perhaps other X applications) to something that's easier to look at. None of the techniques worked. I tried, among other things, changing XResources and uncommenting the lines in XTerm-color that XTerm-color told me to uncomment if I wanted to change colours. Does anyone know for sure how to change colours IN CYGWIN, because the general UNIX techniques don't seem to be working? Thanks in advance, Liam. _ eircom broadband is now up to four times faster than before. Phone 1850 73 00 73 or visit http://home.eircom.net/broadbandoffer configuration using .Xdefaults works fine for me. If that doesn't work, you can always setup a script/shortcut and explicitly set -fg and -bg reid
RE: rxvt 2.7.10-6: bash Control-C exits all backgrounded children rxvt processes as well as foreground process/command
[EMAIL PROTECTED] wrote: I have some wrappers to invoke a telnet or an ssh within an rxvt window so that I can label it with the host I'm connecting to. I love rxvt because it has real vt emulation, and also gives me X-like middle mouse cut and paste operations that I'm used to from my Sun environment, but all without the overhead of running X. However, a really annoying and quite hazardous artifact of rxvt in cygwin is that it will grab the control-Cs sent from the parent bash session and close down. Unfortunately, pings, by default are unlimited in iteration and so must be killed when you're done with it and also, I'm in the habit of using control-C to quit a command line in progress to get back to a prompt. Unless I remember to to start a new bash window to do anything where I might send a Control-C, I end up clobbering the 20 odd telnet/ssh sessions I have up, some of which could contain important processes that are difficult to recover from being terminated. Any advice on 1) Whether this is an issue with bash or rxvt or both? 2) Any workarounds i.e.- application flags for rxvt or bash that I can code in to avoid this behavior. Thanks in advance. Jackson Shea [EMAIL PROTECTED] == == wrapper scripts == == telnet script: #!/usr/bin/bash echo telnet $1 /tmp/cmdfile.$$ chmod a+x /tmp/cmdfile.$$ rxvt -sl 2000 -fn 9x18 -fg yellow -bg black -title $1 -e /tmp/cmdfile.$$ sleep 5 rm /tmp/cmdfile.$$ ssh script: #!/usr/bin/bash echo telnet $1 /tmp/cmdfile.$$ chmod a+x /tmp/cmdfile.$$ rxvt -sl 2000 -fn 9x18 -fg yellow -bg black -title $1 -e /tmp/cmdfile.$$ sleep 5 rm /tmp/cmdfile.$$ I do not see this effect for either of the above wrappers... reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: More robust color terminal
Igor Pechtchanski wrote: On Fri, 24 Jun 2005, Reid Thompson wrote: Gary R. Van Sickle wrote: Both rxvt and the cmd.exe window only support 16 colors. Welcome to 1983. I at least hope they include those horrid CGA colors. -- Gary R. Van Sickle recompiling rxvt for 256 colors is not hard. $ ./rxvt -help |head Rxvt v2.7.10 - released: 26 MARCH 2003 Options: XPM,transparent,utmp,menubar,multichar_languages,scrollbars=rxvt+NeXT+xterm,frills,linespace,256colour,.Xdefaults Ah, I knew I saw something about rxvt supporting 256 colors somewhere. The man page is misleading, apparently. Any idea why the current release doesn't use 256 colors? Igor P.S. Don't you mean rxvt -help 21 | head? Rxvt's help goes to stderr. LOL -- yeah -- i just selected the top portion to paste when it bypassed head. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: More robust color terminal
Alternatively, you could compile (and, hopefully, contribute) gvim. :-) Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse... -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT vim6.3 compiles ootb for X. $ ls -lrt /usr/local/bin/*vim* lrwxrwxrwx 1 Reid.Thompson Domain Users 7 Dec 16 2004 /usr/local/bin/gvim - vim.exe lrwxrwxrwx 1 Reid.Thompson Domain Users 7 Dec 16 2004 /usr/local/bin/evim - vim.exe lrwxrwxrwx 1 Reid.Thompson Domain Users 7 Dec 16 2004 /usr/local/bin/gvimdiff - vim.exe lrwxrwxrwx 1 Reid.Thompson Domain Users 7 Mar 3 08:27 /usr/local/bin/vimdiff - vim.exe -rwxr-xr-x 1 Reid.Thompson Domain Users 1273856 Jun 13 12:01 /usr/local/bin/vim.exe -rwxr-xr-x 1 Reid.Thompson Domain Users1600 Jun 13 12:02 /usr/local/bin/vimtutor not the cleanest way to handle it i'm sure, but. in .bashrc ( i have both cygwin compiled *vim and native *vim on my machine, if X is running, use cygwin gvim, else use native gvim, or use 'vim' instead of 'vi' from command line to get non-gui) HAVEX=`ps -ef | grep XWin` if [ $HAVEX != ] then HAVEX=1 export HAVEX fi alias vi='dovi' function dovi { if [ ! $HAVEX ] then if [ $1 != ] then value=`cygpath -w $*` /C/Vim/vim62/gvim $value else /C/Vim/vim62/gvim $* fi else if [ $1 != ] then value=`cygpath -w $*` /usr/local/bin/gvim $value else /usr/local/bin/gvim $* fi fi } reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: More robust color terminal
Gary R. Van Sickle wrote: Both rxvt and the cmd.exe window only support 16 colors. Welcome to 1983. I at least hope they include those horrid CGA colors. -- Gary R. Van Sickle recompiling rxvt for 256 colors is not hard. $ ./rxvt -help |head Rxvt v2.7.10 - released: 26 MARCH 2003 Options: XPM,transparent,utmp,menubar,multichar_languages,scrollbars=rxvt+NeXT+xt erm,frills,linespace,256colour,.Xdefaults reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Mouse button copy/paste not working
Charles Packer wrote: Igor Pechtchanski wrote: See http://x.cygwin.com/docs/faq/cygwin-x-faq.html#remote (please read the whole section). Igor Typical Unix-head response (Read the whole book...). There is nothing in the FAQ that deals with this problem. However, perusing the Cygwin/X installation instructions, under the section on logging on to remote clients, I noticed the suggested ssh command: ssh -Y -l username hostdomain. I checked to see what our PC guy had set me up with under the alias he had given me: ssh -X -l myname $1. Changing -X to -Y made all the difference and solved the problem. Returning to the FAQ, there is a question X forwarding does not work does not work with OpenSSH under Cygwin in which the answer I needed is embedded as an afterthought. Suggestion: Add to the FAQ a question specifically mentioning the symptoms I described. What browser are you using -- when i clicked on the link provided, my browser opened up with the following at the top of the browser page(i.e. my browser opened with the page scrolled to the correct location): 5. Remote connections 5.1. X11Forwarding does not work with OpenSSH under Cygwin A1: OpenSSH 3.8 enables untrusted X11 forwarding by default when connecting to an ssh server that supports untrusted X11Forwarding. Most ssh servers for GNU/Linux are versions of OpenSSH that do support untrusted X11Forwarding, so using OpenSSH 3.8 from Cygwin will result in a connection that uses untrusted X11Forwarding by default. You will quickly notice that this is the case if most of your X applications are now killed when you try to copy and paste or if xdpyinfo returns only a fraction of the supported extensions that it does if run locally. It is easiest to just override untrusted X11Forwarding by passing -Y to ssh in place of -X. The -Y does the same thing as -X, but it enables trusted X11Forwarding for the current connection. Which is exactly the answer you were looking for reid
Mailing list question
Do the cygwin mail lists support 'suspend'? Is there a command to get the available commands from the mailing list? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: print.exe
Dave Korn wrote: Original Message From: Evert Coetzee Sent: 01 June 2005 19:18 I hate to point to the infamous competitor but this script that I have was intended for the use with mks toolkit (which is a not-so-free alternative to cygwin): http://www.mkssoftware.com/docs/man1/print.1.asp [From the above link] print display arguments from the KornShell Ah. So it's a kornshell[*] builtin command. Then you must be running the wrong shell, mustn't you? cheers, DaveK [*] Before you ask, the answer's No. -- Can't think of a witty .sigline today in pdksh on cgywin $ print -r $PATH | tr [A-Z] [a-z] | tr '\' '/' | sed -e s+/+#+g -e s+;\.;+;+g #home#rthompso#bin:#bin:#usr#lib#subversion#bin:#usr#local#bin:#usr#bin: #home#rthompso:#bin:#usr#sbin:#usr#local#pgsql#bin:#usr#jikes#bin:#usr:# c#j2sdk1.4.2#bin:#c#ant-1.6.1#bin:#usr#x11r6#bin:#opt#gnome2#bin:#opt#kd e3#bin:#home#rthompso#bin:#opt#kde3#bin:#opt#kde3#lib:#opt#qt#3.2#bin:#c #postgresql#8.0#bin:#c#program files#mozilla firefox#:%gtk_basepath%#bin:#c#cbuilderx#bin:#c#windows#system32:#c#wind ows:#c#windows#system32#wbem:#c#ruby#bin:#c#python23:#home#rthompso#bin: #usr#bin:#c#ant-1.6.1#bin:#c#j2sdk1.4.2#bin:#c#ant-1.6.1#bin:#usr#x11r6# bin:#c#apachegroup#apache#modules:%maven_home%#bin:#c#vim#vim62#:#c#j2sd k1.4.2#jre#bin#client:#c#j2sdk1.4.2#jre#bin#server:#c#myprograms#microso ftvisualc++toolkit2003#bin:#c#ruby#bin:#c#program files#common files#gtk#2.0#bin:#c#myprograms#subversion#bin:#c#cbuilderx#bin:#c#visua lgipsy26#bin:#c#multidesk2.1beta#shortcuts:#c#sfu#common:#c#cbuilderx#bi n:#c#visualgipsy26#bin:#c#multidesk2.1beta#shortcuts:#usr#bin:#c#usr#loc al#bin:usr#local#lib:#usr#local#pgsql#bin:#usr#local#pgsql#lib:#c#myprog rams#apachesoftwarefoundation#maven1.0.1#bin:#opt#bin:#c#windows#system3 2 reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: print.exe
Dave Korn wrote: Original Message From: Evert Coetzee Sent: 01 June 2005 19:18 I hate to point to the infamous competitor but this script that I have was intended for the use with mks toolkit (which is a not-so-free alternative to cygwin): http://www.mkssoftware.com/docs/man1/print.1.asp [From the above link] print display arguments from the KornShell Ah. So it's a kornshell[*] builtin command. Then you must be running the wrong shell, mustn't you? cheers, DaveK [*] Before you ask, the answer's No. -- Can't think of a witty .sigline today re previous post, replace print with echo $ echo $PATH | tr [A-Z] [a-z] | tr '\' '/' | sed -e s+/+#+g -e s+;\.;+;+g #home#rthompso#bin:#bin:#usr#lib#subversion#bin:#usr#local#bin:#usr#bin: #home#rthompso:#bin:#usr#sbin:#usr#local#pgsql#bin:#usr#jikes#bin:#usr:# c#j2sdk1.4.2#bin:#c#ant-1.6.1#bin:#usr#x11r6#bin:#opt#gnome2#bin:#opt#kd e3#bin:#home#rthompso#bin:#opt#kde3#bin:#opt#kde3#lib:#opt#qt#3.2#bin:#c #postgresql#8.0#bin:#c#program files#mozilla firefox#:%gtk_basepath%#bin:#c#cbuilderx#bin:#c#windows#system32:#c#wind ows:#c#windows#system32#wbem:#c#ruby#bin:#c#python23:#home#rthompso#bin: #usr#bin:#c#ant-1.6.1#bin:#c#j2sdk1.4.2#bin:#c#ant-1.6.1#bin:#usr#x11r6# bin:#c#apachegroup#apache#modules:%maven_home%#bin:#c#vim#vim62#:#c#j2sd k1.4.2#jre#bin#client:#c#j2sdk1.4.2#jre#bin#server:#c#myprograms#microso ftvisualc++toolkit2003#bin:#c#ruby#bin:#c#program files#common files#gtk#2.0#bin:#c#myprograms#subversion#bin:#c#cbuilderx#bin:#c#visua lgipsy26#bin:#c#multidesk2.1beta#shortcuts:#c#sfu#common:#c#cbuilderx#bi n:#c#visualgipsy26#bin:#c#multidesk2.1beta#shortcuts:#usr#bin:#c#usr#loc al#bin:usr#local#lib:#usr#local#pgsql#bin:#usr#local#pgsql#lib:#c#myprog rams#apachesoftwarefoundation#maven1.0.1#bin:#opt#bin:#c#windows#system3 2 reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Windows XP SP2
[EMAIL PROTECTED] wrote: Hi, I have an application which uses Cygwin (1.5.12(0.116/4/2)) to interact with a Sun workstation, e.g., rsh, rcp, awk, etc. Everything was working fine until I installed Windows XP SP2. The firewall is disabled, but the Cygwin commands aren't working properly. On one computer, I uninstalled SP2 and my app started working again. Is this a known problem or is my situation unique? thanks, Jason cygwin works fine w/SP2 reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Setup does not offer uninstall of emacs ( which I did not knowingly install in the first place )
Somehow, my installation has decided that emacs is a required download and is not to be uninstalled. Could someone shed some light on this? Is it uninstallable due to some other package that I've downloaded, or for some other reason? Can setup be configured so that I can uninstall emacs -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
bunzip2 cygwin1-20050511.dll.bz2 yields 8911171 byte sized cygwin1-20050511.dl
what am i missing/doing wrong. from the snapshots page cygwin1-*.dll.bz2 is a compressed cygwin1.dll without debug information. cygwin1-20050511.dll.bz21,964 Kb $ bunzip2 cygwin1-20050511.dll.bz2 $ ll cygwin1-20050511.dll -rwx-- 1 Reid.Thompson Domain Users 8911171 May 12 12:06 cygwin1-20050511.dll* and when attempting to utilize this snapshot dll as cygwin1.dll all executions fail. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Static destructors not running
William M. (Mike) Miller wrote: I'm sure this is the result of my having done something stupid with the setup application, but suddenly static destructors no longer run. That is, for the following program: #include stdio.h struct S { S(); ~S(); } s; S::S() { printf(In ctor.\n); } S::~S() { printf(In dtor.\n); } int main() { printf(In main.\n); } the output is In ctor. In main. The output In dtor. is missing. I have tried to update all the gcc compilers and mingw libraries to the latest versions that the setup application allows me, on the assumption that somehow I managed to get an old version of a library during my last update, but nothing I have done restores the static destructor output. From cygcheck, here are the versions of things I think might matter: gcc 3.4.1-1 gcc-ada 3.4.1-1 gcc-core 3.4.1-1 gcc-g++ 3.4.1-1 gcc-g77 3.4.1-1 gcc-java 3.4.1-1 gcc-mingw20040810-1 gcc-mingw-ada20040822-1 gcc-mingw-core 20040822-1 gcc-mingw-g++20040822-1 gcc-mingw-g7720040822-1 gcc-mingw-java 20040822-1 mingw-runtime3.7-1 Anyone have any idea how I managed to do this to myself and, more importantly, how I can undo it? Thanks! #include iostream class S { public: S::S() { printf(In ctor.\n); } S::~S() { printf(In dtor.\n); } } ; int main() { printf(In main.\n); S(); return(0); } -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Static destructors not running
William M. (Mike) Miller wrote: I'm sure this is the result of my having done something stupid with the setup application, but suddenly static destructors no longer run. That is, for the following program: #include stdio.h struct S { S(); ~S(); } s; S::S() { printf(In ctor.\n); } S::~S() { printf(In dtor.\n); } int main() { printf(In main.\n); } the output is In ctor. In main. The output In dtor. is missing. I have tried to update all the gcc compilers and mingw libraries to the latest versions that the setup application allows me, on the assumption that somehow I managed to get an old version of a library during my last update, but nothing I have done restores the static destructor output. From cygcheck, here are the versions of things I think might matter: gcc 3.4.1-1 gcc-ada 3.4.1-1 gcc-core 3.4.1-1 gcc-g++ 3.4.1-1 gcc-g77 3.4.1-1 gcc-java 3.4.1-1 gcc-mingw20040810-1 gcc-mingw-ada20040822-1 gcc-mingw-core 20040822-1 gcc-mingw-g++20040822-1 gcc-mingw-g7720040822-1 gcc-mingw-java 20040822-1 mingw-runtime3.7-1 Anyone have any idea how I managed to do this to myself and, more importantly, how I can undo it? Thanks! sorry --- #include stdio.h struct S { S(); ~S(); } ; S::S() { printf(In ctor.\n); } S::~S() { printf(In dtor.\n); } int main() { struct S t; printf(In main.\n); t; return (0); } -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Hippo icon!
Brian Dessent wrote: Corinna Vinschen wrote: green-n-black C to a roaring hippo. http://www.cygwin.com/hippo.jpg It's to shake off the impression that Cygwin is bloated and slow. No, wait Yes, sure, that's right. The hippo's the second fastest animal ever, right after the tortois(*). If the GNU people can have a logo like this http://www.gnu.org/graphics/meditat e.jpg then I see no reason why Cygwin can't have a hippo: http://dessent.net/tmp/cyghippo.jpg Brian now that just ain't right.. reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Re: Hippo icon!
Chris Herborth wrote: Chris January wrote: I noticed that the icon for Cygwin on the website has changed from the green-n-black C to a roaring hippo. http://www.cygwin.com/hippo.jpg It's to shake off the impression that Cygwin is bloated and slow. No, wait Hippos are bloated and fast. And rather dangerous, actually... -- Chris Herborth ([EMAIL PROTECTED]) Never send a monster to do the work of an evil scientist. Most Dangerous Animal Human with Hippo being second -- fits right in with WJM reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Re: Hippo icon!
Chris Herborth wrote: Chris January wrote: I noticed that the icon for Cygwin on the website has changed from the green-n-black C to a roaring hippo. http://www.cygwin.com/hippo.jpg It's to shake off the impression that Cygwin is bloated and slow. No, wait Hippos are bloated and fast. And rather dangerous, actually... -- Chris Herborth ([EMAIL PROTECTED]) Never send a monster to do the work of an evil scientist. they have been clocked in short running dashes at 30 mph. reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Problem with cygwin setup
jds wrote: Sorry, my question is very basic, but I have to ask it. Short Version: Could someone tell me the target for the cygwin shortcut that should get installed? Long Version: Basically, my problem is that when I install cygwin it gets stuck on this screen: are you sure it's 'stuck' --- this might take a while: #!/bin/sh rm -f /usr/info/dir for d in /usr/info /usr/share/info; do for f in $d/*; do case $f in *\**) ;; dir|dir.info*) ;; *-[0123456789]*) ;; *) install-info --quiet $f /usr/share/info/dir || install-info --quiet --entry=* $$f ($f): $$f $$f /usr/share/info/dir ;; esac done done /dev/null 21 Try running it by hand letting it finish, then run setup again w/o selecting any more packages. reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Re: Basic test
René Berber wrote: maggi wrote: I have installed cygwin, and I am able to launch the console with the promt bash2.05b$ But when entering ls or other comands, I get always bash-2.05b$ ls bash: ls: command not found bash-2.05b$ dir bash: dir: command not found That's strange, I think the command ls comes in the coreutils package and that is one of the default installed packages... so, unless you unselected it it, you should have it. Can you give at hand a bassic comand syntax to test the insatllation? Thanks, Maggy Try: cygcheck -c coreutils the result normally is something like this: Cygwin Package Information Package VersionStatus coreutils5.3.0-5OK if you don't have this package run setup.exe again, this time make sure that the default packages are installed. The default packages are automatically selected to be installed. -- René Berber check your PATH -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: vi installation
Lars Zeb wrote: How do I install the vi editor in the cygwin environment? Where can I get vi from? How can I tell the bash shell about it? I am used to the EDITOR shell variable in the Korn shell pointing to the editor of choice. There does not seem to be anything like that in bash. Thanks, Lars -- [EMAIL PROTECTED] Same way/place the other cygwin apps came from. man bash search for EDITOR reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: setup.exe keeps hanging
Alan Ning wrote: I just tried it now, and I have the same problem. My CPU usage was at 100%, and it was running multiple instance of sh.exe. I ran setup.exe again, same thing happened. ... Alan Reid Thompson wrote: Dave Korn wrote: Original Message From: Jurgen Defurne Sent: 14 April 2005 13:38 I still have the following problems : - The installation of cygwin1.dll keeps hanging at 78 % -- Probably because the installation is not complete, i cannot get access to my D: drive (which is just a second drive), but I can get access to my C: drive and to my network drives. ANy hints ? Just one possibility. It might be the same problem, or it might not. Start a bash shell. Unless your install is really badly damaged, this should still work. cd into /etc/postinstall. Is there a file there called d.sh? If so, that's going to have been causing setup to crash when it tries to handle it. Execute it directly (enter ./d.sh), then rename it with mv d.sh d.sh.done. After that setup should be able to complete. In fact, if even your bash shell won't work, use a dos prompt to rename it, then you can run it manually after your setup has completed by using . /etc/postinstall/d.sh.done cheers, DaveK -- Can't think of a witty .sigline today (This may or may not be related to your issue...) I also noticed on the last update I did that some/all of the packages for ?LaTex? were updated -- and that the post-install script (post-texmf.sh) took a VERY long time to complete --- i.e. system looked like it was hung, but was actually ?building? a lot of postinstall stuff. This was on a slower processor machine ~400mhz -- WAG is it took about 8-10 minutes. I kept thinking setup was hung -- ended up cancelling it and running post-texmf.sh by hand ( I also had to comment out line 11, kept getting permission denied on removing ~/web2c/*.*fmt). reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ yes - again, not sure if this is your problem, but, the postinstall-texmf.sh ends up generating a number of sh.exe processes and a kepswich??? process, etc. Look in your /etc/postinsall directory, find the scripts that have not been moved to .done, and run them manually one at a time til you find out which one is causing you the problem -- then try to determine why that script is causing an issue. reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: setup.exe keeps hanging
Dave Korn wrote: Original Message From: Jurgen Defurne Sent: 14 April 2005 13:38 I still have the following problems : - The installation of cygwin1.dll keeps hanging at 78 % -- Probably because the installation is not complete, i cannot get access to my D: drive (which is just a second drive), but I can get access to my C: drive and to my network drives. ANy hints ? Just one possibility. It might be the same problem, or it might not. Start a bash shell. Unless your install is really badly damaged, this should still work. cd into /etc/postinstall. Is there a file there called d.sh? If so, that's going to have been causing setup to crash when it tries to handle it. Execute it directly (enter ./d.sh), then rename it with mv d.sh d.sh.done. After that setup should be able to complete. In fact, if even your bash shell won't work, use a dos prompt to rename it, then you can run it manually after your setup has completed by using . /etc/postinstall/d.sh.done cheers, DaveK -- Can't think of a witty .sigline today (This may or may not be related to your issue...) I also noticed on the last update I did that some/all of the packages for ?LaTex? were updated -- and that the post-install script (post-texmf.sh) took a VERY long time to complete --- i.e. system looked like it was hung, but was actually ?building? a lot of postinstall stuff. This was on a slower processor machine ~400mhz -- WAG is it took about 8-10 minutes. I kept thinking setup was hung -- ended up cancelling it and running post-texmf.sh by hand ( I also had to comment out line 11, kept getting permission denied on removing ~/web2c/*.*fmt). reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: cron.hourly
Totte Karlsson wrote: Hi, I have started cron as a service under Windows 2000. I 'naively' created a directory, /etc/cron.hourly and put a script in there. I had hoped that cron would execute the script once every hour but it does not work. How do I get the folders /etc/cron.hourly, etc/cron.daily etc/cron.weekly correctly working in cygwin? regards -totte http://www.aota.net/Script_Installation_Tips/cronhelp.php3 reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: cron.hourly
Totte Karlsson wrote: Hi, I have started cron as a service under Windows 2000. I 'naively' created a directory, /etc/cron.hourly and put a script in there. I had hoped that cron would execute the script once every hour but it does not work. How do I get the folders /etc/cron.hourly, etc/cron.daily etc/cron.weekly correctly working in cygwin? regards -totte $ cat exampleCronFile #* * * ** command to be executed #- - - -- #| | | || #| | | |+- day of week (1 - 7) (monday = 1) #| | | +--- month (1 - 12) #| | +- day of month (1 - 31) #| +--- hour (0 - 23) #+- min (0 - 59) 0515 5 2* /path/to/executable /path/to/logfile will execute the executable at 3:15 PM on the 5th of the second month and it doesn't care which day of the week that is. reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: cron.hourly
Reid Thompson wrote: Totte Karlsson wrote: Hi, I have started cron as a service under Windows 2000. I 'naively' created a directory, /etc/cron.hourly and put a script in there. I had hoped that cron would execute the script once every hour but it does not work. How do I get the folders /etc/cron.hourly, etc/cron.daily etc/cron.weekly correctly working in cygwin? regards -totte $ cat exampleCronFile #* * * ** command to be executed #- - - -- #| | | || #| | | |+- day of week (1 - 7) (monday = 1) #| | | +--- month (1 - 12) #| | +- day of month (1 - 31) #| +--- hour (0 - 23) #+- min (0 - 59) 0515 5 2* /path/to/executable /path/to/logfile cron hourly 00** ** /path/to/executable /path/to/logfile will run at the top of each hour 30 ** ** /path/to/executable /path/to/logfile will run at the bottom of each hour etc... reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: irc
beau wrote: Hi all, I had just gotten used to irssi when I had to give up the debian box; anyone know how hard it is to get it going on cygwin? Also, I don't seem to have a man page for the irc that I've got. Thanks, beau $ tar xvfj irssi-0.8.9.tar.bz2 $ cd irssi-0.8.9 $ ./configure --with-perl=no $ make compiles ok. reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Postgres 7.2
there id the option of just downloading the srcs from www.postgresql.org for 7.2.X and building them yourself. reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Re: rxvt problem: Prompt doesn't look very nice
Thanks for the link, now it looks much better. Now I just need to find a font I like. Thanks for replying so quickly Jonathan with such excellent help, it helps make this world a kinder place. Jonathan Arnold (mailto:jdarnold at buddydog dot org) Amazing Developments http://www.buddydog.org I feel like a fugitive from the law of averages. - William H. Mauldin / M PS. I edited your signature because I was afraid to quote raw email addresses when replying. Please forgive me. i use -fn lucida console-13-bold -- works pretty well reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: does rxvt support cut and paste?
Daniel B. wrote: Does the rxvt application support cutting and pasting? If so, how (what keystrokes)? If not, does anyone know why not? Thanks, Daniel highlight text, click in window to paste to, click middle mouse button( wheel). reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Using vi in UNIX mode instead of DOS mode
Auteria Wally Winzer Jr. wrote: Is there anyway of telling vi to use UNIX-mode editing as supposed to DOS-mode? I want to avoid all the ^M's when transferring files from Windows to UNIX, even though I use dos2unix to remove them, I want to just simply avoid that step. Any and all assistence is grately appreciated. Regards, Auteria W. Winzer Jr. :help fileformat reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: Using vi in UNIX mode instead of DOS mode
at one time i'd pulled these from somewhere also -- currently they are commented out in my .*vimrc. au BufReadPre * if (ff == dos) |au BufReadPost * set fileformat=unix |au BufReadPost * %s/^M\+$// | endif au BufReadPost * if (ff == dos) | set ff=unix | %s/^M\+$// | endif reid -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/