RE: how to bring job to foreground?
Matt wrote: >and the console in which I suspended the script has not given me a >prompt so I can't issue any more commands. What if you suspend it like "vi &" instead. That definitely gives me a prompt and the "fg" command works. Theory: something with ctrl+z doesn't work so you don't get it suspended properly - but maybe the ampersand will? Maybe the tar process isn't too keen on accepting the keystrokes you feed it? Regards, Jesper Vad Kristensen -- 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 bughunt (snapshot...)
Christopher Faylor wrote: > If that was really true, you'd be using a snapshot by now. Ok, ok, I can take a hint (sort of). I'll give up trying to drill down bugs in 1.5.10. >>> Has the problem been found that results in this error?: >>> MapViewOfFileEx(0x188, in_h 0x188) failed, Win32 error 6 At first glance, it seems to be gone. Great! So far a couple of things have popped up in testing. Only one of them is a new item since I started using the 20050221 snapshot. It has occurred 2 times over 2 days so far, so I feel that it is reproducible. Bash hangs. Both occurrences have been at the same specific script line, and both produce similar gdb output. Script line: lffields[$counter]=`echo $lfline|cut -d'|' -f$fieldno` Script line - process 592: +++ echo '0007-02-2005-01-29-22-15-24-xferslowevlog.log|0|1107034112|1107034112|1 107034675|1107035470' +++ cut '-d|' -f5 Script line - process 3164: +++ echo '0007-02-2005-02-10-06-02-55-xferslowevlog.log|0|1108012113|-1|110801244 7|1108012465' +++ cut '-d|' -f1 Backtrace, dumped process 592: #0 0x77f8a1eb in ntdll!ZwSetInformationThread () #1 0x7c4fb5bf in SetThreadPriority () #2 0x610035c6 in getprogname () #3 0x6105ad27 in cygwin_split_path () #4 0x61019478 in cygwin_internal () #5 0x6107bc25 in getppid () #6 0x6107ba4d in getppid () #7 0x610723ff in cygwin1!aclcheck () #8 0x0042562a in ?? () #9 0x0005 in ?? () #10 0x0022cf20 in ?? () #11 0x0080 in ?? () #12 0x610749bb in writev () Backtrace, dumped process 3163: #0 0x77f8a1eb in ntdll!ZwSetInformationThread () #1 0x7c4fb5bf in SetThreadPriority () #2 0x610035c6 in getprogname () #3 0x6105ad27 in cygwin_split_path () #4 0x61019478 in cygwin_internal () #5 0x6107bc25 in getppid () #6 0x6107ba4d in getppid () #7 0x610723ff in cygwin1!aclcheck () #8 0x0042562a in ?? () #9 0x0005 in ?? () #10 0x0022cf20 in ?? () #11 0x0080 in ?? () #12 0x610749bb in writev () (I'm obviously a n00b with gdb. The similar output could be a side effect from debugging the processes?..) -- 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: Command-Line Mail Client?
Mike Dillinger wrote: > I was wondering if there is a command-line mail client for Cygwin? There's smtppush. -- 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/
coreutils wishlist
The following two wishes are not essential, but would improve coreutils. Unfortunately, I am not in a position to assign copyright to Red Hat at the moment, so I can't contribute an implementation. POSIX requires statvfs() in , but cygwin currently only provides statfs() in . stat(1) can print more accurate information from a working statvfs than it currently does with the existing statfs interface. Linux provides /dev/full at major device 1, minor 7, and the properties of world readable/writable, writes error out with ENOSPC, reads behave like /dev/zero, seeks succeed. The coreutils testsuite tries to use /dev/full to ensure that utilities behave correctly in the face of write errors. It looks like it would not be too hard to extend the existing fhandler_zero functionality into supporting /dev/full. -- Someday, I might put a cute statement here. Eric Blake [EMAIL PROTECTED] -- 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: pwd output changed with coreutils upgrade from 5.2.1-4 to 5.3.0-2
On Tue, Feb 22, 2005 at 11:48:17PM -, Max Bowsher wrote: >Wouldn't it be far more appropriate to hold back 5.3.0 as a test package, >leaving 5.2.1 as current until such time as 5.3.0 can be considered ready? 5.3.0 is a test package. cgf -- 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 install apache with perl on cygwin
Erwin wrote: > Hi all I'm a newbia in cygwin. Thus sorry for my simple question. > > I've installed cygwin on WinXP SP2 and all its packages needed to run apache > and perl, because I need to run cgi:irc on my windows. > > My problem I used the "How to install" documentation from > http://perl.apache.org/docs/1.0/guide/getwet.html and didnt come out > successful. So anyone know where can I find documentation for installing > apache and perl on cygwin? There's a huge difference between running perl in the normal CGI way and running mod_perl. As far as I know mod_perl has not been ported to cygwin and would require a great deal of effort to get working. However, if you just want to run perl CGI scripts you don't have to do anything special, just run the script as a CGI and have the normal "#!/usr/bin/perl" shebang. Brian -- 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/
how to install apache with perl on cygwin
Hi all I'm a newbia in cygwin. Thus sorry for my simple question. I've installed cygwin on WinXP SP2 and all its packages needed to run apache and perl, because I need to run cgi:irc on my windows. My problem I used the "How to install" documentation from http://perl.apache.org/docs/1.0/guide/getwet.html and didnt come out successful. So anyone know where can I find documentation for installing apache and perl on cygwin? Thanks and Regards Erwin Purnomo Get Firefox! = This mail was scanned by Trend Micro IMSS 5.5 Running at e-intidata.com mail server = -- 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: pwd output changed with coreutils upgrade from 5.2.1-4 to 5.3.0-2
[EMAIL PROTECTED] wrote: Hi all, I'm using the pwd.exe command from a standard winXP command prompt ( for building Mozilla ). However, when I upgrade to coreutils 5.3.0-2 I get this weird result: C:\devel\lgo\mozilla>pwd pwd: reading directory `../../../..' Even more strange, is that when I execute pwd from the command prompt, I hear my floppy disk being accessed. Can somebody help me out on this? Is this expected behaviour? I can reproduce the bug. It is because coreutils switched in 5.3.0 to using opendir("..")/readdir()/closedir() to find the child directory in .. with the same inode as stat("."). However, using the readdir() sequence on "/cygdrive": a) scans all Windows drives, including floppies (hence the sound of your disk access) b) tickles a cygwin bug where closedir() incorrectly returns -1 without setting errno (hence the cryptic error message from pwd) The bug never bit me in testing because I tested from mount points other than /cygdrive. Also, there is a known bug in coreutils, http://lists.gnu.org/archive/html/bug-coreutils/2005-02/msg00085.html, that pwd(1) is not POSIX compliant because it does not have a -L option that defaults to reading $PWD rather than assuming -P and scanning inodes. Until such time as a cygwin snapshot fixes closedir() to work correctly (hopefully by cygwin 1.5.13), or such time as I release a coreutils with a compiled in hack to ignore the return of closedir if errno is unchanged, you have two workarounds: a) rather than using /bin/pwd, use the builtin pwd of /bin/sh or /bin/bash b) use mount(1) to ensure that your files can be accessed without having to use /cygdrive as their prefix Wouldn't it be far more appropriate to hold back 5.3.0 as a test package, leaving 5.2.1 as current until such time as 5.3.0 can be considered ready? In fact, unless you think that is a bad idea, I'll go ahead and change setup.hint accordingly. Waiting an hour for possible reply Max. -- 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: pwd output changed with coreutils upgrade from 5.2.1-4 to 5.3.0-2
> Hi all, > > I'm using the pwd.exe command from a standard winXP command prompt > ( for building Mozilla ). > > However, when I upgrade to coreutils 5.3.0-2 I get this weird result: > C:\devel\lgo\mozilla>pwd > pwd: reading directory `../../../..' > > Even more strange, is that when I execute pwd from the command prompt, I hear > my floppy disk being accessed. > > Can somebody help me out on this? Is this expected behaviour? > I can reproduce the bug. It is because coreutils switched in 5.3.0 to using opendir("..")/readdir()/closedir() to find the child directory in .. with the same inode as stat("."). However, using the readdir() sequence on "/cygdrive": a) scans all Windows drives, including floppies (hence the sound of your disk access) b) tickles a cygwin bug where closedir() incorrectly returns -1 without setting errno (hence the cryptic error message from pwd) The bug never bit me in testing because I tested from mount points other than /cygdrive. Also, there is a known bug in coreutils, http://lists.gnu.org/archive/html/bug-coreutils/2005-02/msg00085.html, that pwd(1) is not POSIX compliant because it does not have a -L option that defaults to reading $PWD rather than assuming -P and scanning inodes. Until such time as a cygwin snapshot fixes closedir() to work correctly (hopefully by cygwin 1.5.13), or such time as I release a coreutils with a compiled in hack to ignore the return of closedir if errno is unchanged, you have two workarounds: a) rather than using /bin/pwd, use the builtin pwd of /bin/sh or /bin/bash b) use mount(1) to ensure that your files can be accessed without having to use /cygdrive as their prefix -- Eric Blake -- 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/
pwd output changed with coreutils upgrade from 5.2.1-4 to 5.3.0-2
Hi all, I'm using the pwd.exe command from a standard winXP command prompt ( for building Mozilla ). When coreutils 5.2.1-4 is installed, that gives me: C:\devel\lgo\mozilla>pwd /cygdrive/c/devel/lgo/mozilla However, when I upgrade to coreutils 5.3.0-2 I get this weird result: C:\devel\lgo\mozilla>pwd pwd: reading directory `../../../..' C:\devel\lgo\mozilla>bash bash-2.05b$ pwd /cygdrive/c/devel/lgo/mozilla Even more strange, is that when I execute pwd from the command prompt, I hear my floppy disk being accessed. Can somebody help me out on this? Is this expected behaviour? thanks, Lieven. -- 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 in 'find' 4.2.11-CVS when traversing NTFS mount points
--- Corinna Vinschen wrote: > On Feb 18 09:58, Corinna Vinschen wrote: > > On Feb 17 01:52, Tim Hubberstey wrote: > > > $ find /cygdrive/c -name @@@F\* > > > find: Filesystem loop detected; `/cygdrive/c/aa/aa' has the same > device > > > number and inode as a directory which is 2 levels higher in the > > > filesystem hierarchy. > > > > But I'm sure you don't want that. [blah] > > Sorry, but there's currently no good solution for that. > > In contrast to what I said, there seemed to have been a pretty simple > solution which doesn't slow down Cygwin at all. Please try the > latest > developer snapshot from http://cygwin.com/snapshots . Thanks! Snapshot 20050221 seems to have fixed the problem. Is snapshot 20050221 "safe" for regular use or should I back out of it? Thanks, Tim __ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.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/
rsync throttling (Was: children of init ignore STOP and CONT signals)
Sam Inala wrote: Cygwin 1.5.12(0.116/4/2) on W2K SP4 Not all signals are ignored. The TERM and INT signals correctly terminate the process. I would like to send STOP and CONT to throttle the CPU usage of a rsync process. I want to avoid spawning a bash process to start rsync because it is started from a Windows process. If I invoke a shell process to invoke rsync, it will be difficult to get the windows process id so I can translate it to a cygwin process id and send it a signal. Any suggestions? Use --bwlimit=KBPS. This should indirectly throttle cpu usage. This won't have an impact on the initial cpu-usage if you specify -c to force check-summing of all files. -- 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 bring job to foreground?
On Tue, 22 Feb 2005, Mike wrote: > On Tue, 22 Feb 2005, Matt Wilkie might have said: > > > Hi, > > > > I just suspended a short commandline script to the background using ctrl-z > > How do I bring it forward again? The bash prompt didn't come up after > > ctrl-z. > > The script is: > > > > for dir in *; do tar czf $dir.tgz $dir;done > > > > If I open up another console I can see the processes are still active > > using 'ps -a' > > but the commands 'jobs, fg, bg' say there is nothing to control > > > > thanks in advance for your time, > $ fg I am not sure how "fg" would work. Matt doesn't not have a shell prompt (as mentioned above) on the same terminal. Does ps tell you it is in a suspended state (stopped process with state flag "T")? Use kill -SIGCONT on the suspended process ID. Jeremy C. Reed open source, Unix, *BSD, Linux training http://www.pugetsoundtechnology.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/
Re: how to bring job to foreground?
Thanks for your incredibly swift response Mike! but I said: > > If I open up another console I can see the processes are still active > > using 'ps -a' but the commands 'jobs, fg, bg' say there is nothing to > > control and the console in which I suspended the script has not given me a prompt so I can't issue any more commands. cheers, -- -matt -- 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: Command-Line Mail Client?
On Tue, 22 Feb 2005 12:29:33 -0800, Mike Dillinger wrote: > Hello, > > I was wondering if there is a command-line mail client for Cygwin? I > was looking for something along the lines of 'mail' or 'mailx' found in > Linux distros. ssmtp, mutt -- 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 bring job to foreground?
On Tue, 22 Feb 2005, Matt Wilkie might have said: > Hi, > > I just suspended a short commandline script to the background using ctrl-z > How do I bring it forward again? The bash prompt didn't come up after ctrl-z. > The script is: > > for dir in *; do tar czf $dir.tgz $dir;done > > If I open up another console I can see the processes are still active > using 'ps -a' > but the commands 'jobs, fg, bg' say there is nothing to control > > thanks in advance for your time, > > -- > -matt > > -- > 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/ > > $ fg -- 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/
how to bring job to foreground?
Hi, I just suspended a short commandline script to the background using ctrl-z How do I bring it forward again? The bash prompt didn't come up after ctrl-z. The script is: for dir in *; do tar czf $dir.tgz $dir;done If I open up another console I can see the processes are still active using 'ps -a' but the commands 'jobs, fg, bg' say there is nothing to control thanks in advance for your time, -- -matt -- 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: Directory names
On Tue, 22 Feb 2005, Shankar Unni wrote: > Dave Korn wrote: > > > First off, even on POSIX, * isn't a valid filename character > > [Clang!] > > % mkdir '*' > % ls > */ > % POSIX makes some recommendations about what constitutes portable filenames. The above is a nonportable name that your operating system or file system accepts. -- 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: Directory names
Dave Korn wrote: First off, even on POSIX, * isn't a valid filename character [Clang!] % mkdir '*' % ls */ % -- 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: Command-Line Mail Client?
How about email v 2.3.2 ? On Tue, 22 Feb 2005 12:29:33 -0800, Mike Dillinger <[EMAIL PROTECTED]> wrote: > Hello, > > I was wondering if there is a command-line mail client for Cygwin? I > was looking for something along the lines of 'mail' or 'mailx' found in > Linux distros. > > Thanks, > -MikeD > > -- > 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: Command-Line Mail Client?
On Tue, 22 Feb 2005, Mike Dillinger wrote: > I was wondering if there is a command-line mail client for Cygwin? I > was looking for something along the lines of 'mail' or 'mailx' found in > Linux distros. On some Unix systems, I use: http://www.reedmedia.net/misc/mail/mailx.sh http://www.reedmedia.net/misc/mail/mailx.sh.1 # This is a shell script to emulate the standard mail(1) aka mailx(1) # aka Mail(1) tool usage for sending emails. This shell script is not # a client for checking or reading mail. Also, this version of mail # does not touch any mail boxes. Also, maybe http://nail.sourceforge.net/ will build and work under cygwin. (It is an enhanced mail(1).) Jeremy C. Reed technical support & remote administration http://www.pugetsoundtechnology.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/
Re: children of init ignore STOP and CONT signals
On Tue, Feb 22, 2005 at 06:13:29PM +, Sam Inala wrote: >The stop and continue signals seem to be ignored by cygwin processes if >they are children of init (process id 1). The signals are handled >correctly if the targets are children of a bash process. Correct. This is longstanding behavior. Stop signals are ignored if there is no parent process. Apparently, the theory is that since SIGSTOP is a UNIX thing, it makes no sense to stop a process if no other process is around to recognize that fact. This prevents a user from typing CTRL-Z and creating a suspended process which requires restarting from another window. cgf -- 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/
Command-Line Mail Client?
Hello, I was wondering if there is a command-line mail client for Cygwin? I was looking for something along the lines of 'mail' or 'mailx' found in Linux distros. Thanks, -MikeD -- 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/
children of init ignore STOP and CONT signals
Cygwin 1.5.12(0.116/4/2) on W2K SP4 The stop and continue signals seem to be ignored by cygwin processes if they are children of init (process id 1). The signals are handled correctly if the targets are children of a bash process. For example, if I run "yes hello" from one command window, I can see its process id from a second command window using ps. But executing a "kill -STOP 1900" does not stop the process; the signal is ignored. The process id is the cygwin process id, not the windows process id. Not all signals are ignored. The TERM and INT signals correctly terminate the process. I would like to send STOP and CONT to throttle the CPU usage of a rsync process. I want to avoid spawning a bash process to start rsync because it is started from a Windows process. If I invoke a shell process to invoke rsync, it will be difficult to get the windows process id so I can translate it to a cygwin process id and send it a signal. Any suggestions? --Sam Inala _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ Cygwin Configuration Diagnostics Current System Time: Tue Feb 22 10:25:23 2005 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4 Path: C:\WINNT\system32 C:\WINNT C:\WINNT\System32\Wbem "C:\Program Files\SSH Communications Security\SSH Secure Shell" e:\util E:\Sun\AppServer\jdk\bin c:\cygwin\bin Output from C:\cygwin\bin\id.exe (nontsec) UID: 500(Administrator) GID: 513(None) 513(None) Output from C:\cygwin\bin\id.exe (ntsec) UID: 500(Administrator) GID: 513(None) 0(root) 513(None) 544(Administrators) 545(Users) SysDir: C:\WINNT\system32 WinDir: C:\WINNT Path = `C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;"C:\Program Files\SSH Communications Security\SSH Secure Shell";e:\util;E:\Sun\AppServer\jdk\bin;c:\cygwin\bin' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\Administrator\Application Data' CommonProgramFiles = `C:\Program Files\Common Files' COMPUTERNAME = `VICTOR' ComSpec = `C:\WINNT\system32\cmd.exe' DRIVERWORKS = `C:\PROGRA~1\COMPUW~1\DRIVER~1\DRIVER~1' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\Administrator' INCLUDE = `C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\include\' JAVA_HOME = `E:\Sun\AppServer\jdk' LIB = `C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Lib\' LOGONSERVER = `\\VICTOR' NUMBER_OF_PROCESSORS = `2' OS = `Windows_NT' Os2LibPath = `C:\WINNT\system32\os2\dll;' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 9, GenuineIntel' PROCESSOR_LEVEL = `15' PROCESSOR_REVISION = `0209' ProgramFiles = `C:\Program Files' PROMPT = `$P$G' SV_BUILD_OS = `W2K' SystemDrive = `C:' SystemRoot = `C:\WINNT' TEMP = `C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp' TMP = `C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp' USERDOMAIN = `VICTOR' USERNAME = `Administrator' USERPROFILE = `C:\Documents and Settings\Administrator' VSCOMNTOOLS = `"C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\"' WINDDK = `C:\tools\winddk\3790' windir = `C:\WINNT' POSIXLY_CORRECT = `1' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x0020 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `C:\cygwin' flags = 0x0008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `C:\cygwin/bin' flags = 0x0008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `C:\cygwin/lib' flags = 0x0008 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/X11R6/lib/X11/fonts (default) = `C:\cygwin\usr\X11R6\lib\X11\fonts' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/AN/A c: hd NTFS 4Mb 37% CP CS UN PA FC d: cd N/AN/A e: hd NTFS 14998Mb 6% CP CS UN PA FC E_VICTOR f: hd NTFS 2000Mb 36% CP CS UN PA FC F_VICTOR g: hd NTFS 2000Mb 1% CP CS UN PA FC G_VICTOR h: hd NTFS 2000Mb 1% CP CS UN PA FC H_VICTOR i: hd NTFS 2000Mb 6% CP CS UN PA FC I_VICTOR j: hd N/AN/A k: hd NTFS 2721Mb 1% CP CS UN PA FC K_VICTOR l: net NTFS 4000Mb 95% CP CS UN PA FC C:\cygwin / system textmode C:\cygwin/bin
Re: apache start problem
On Tue, 22 Feb 2005, Brian Dessent wrote: > Dou Wen wrote: > > > > hi, > > i follow the /usr/share/doc/Cygwin/apache-1.3.29-1.README and get the > > following error, it seem 1.3.33 does not recognize the EAPI rule , > > That's because it has to be patched for EAPI. But you don't need to > build from source, so don't bother. The thing that Igor was trying to > point out was how to install Apache as a service, which is how it should > be run under Cygwin. On second look, that's not obvious when looking at the top of the README. Perhaps something like this could be added right after the first divider for the impatient: For instructions on installing and running Apache under Cygwin, see the "Installing apache as service" section below. > (Don't use apachectl, use "net start"/"net stop" or cygrunsrv.) ...Namely, "cygrunsrv -S"/"cygrunsrv -E". 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 -- 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: apache start problem
Dou Wen wrote: > > hi, > i follow the /usr/share/doc/Cygwin/apache-1.3.29-1.README and get the > following error, it seem 1.3.33 does not recognize the EAPI rule , That's because it has to be patched for EAPI. But you don't need to build from source, so don't bother. The thing that Igor was trying to point out was how to install Apache as a service, which is how it should be run under Cygwin. (Don't use apachectl, use "net start"/"net stop" or cygrunsrv.) Brian -- 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: apache start problem
hi, i follow the /usr/share/doc/Cygwin/apache-1.3.29-1.README and get the following error, it seem 1.3.33 does not recognize the EAPI rule , [EMAIL PROTECTED] ~/apache_1.3.33 $ configure --with-layout=Cygwin \ --with-port=80 \ --enable-rule=EAPI \ --enable-module=most \ --enable-shared=max Configuring for Apache, Version 1.3.33 + using installation path layout: Cygwin (config.layout) configure:Error: No such rule named 'EAPI' --douwen "Igor Pechtchanski" <[EMAIL PROTECTED]> ??:[EMAIL PROTECTED] > On Tue, 22 Feb 2005, Dou Wen wrote: > >> hi, >> today i installed cygwin (including apache), >> but i meet some problem when i try to start apache, >> --- >> $ /usr/sbin/apachectl start >> /usr/sbin/apachectl start: httpd could not be started >> >> then i try >> -- >> $ /usr/sbin/httpd >> -- >> it quit without any message. >> >> when i check /var/log/apache.log, it is empty. >> >> someone can help me? > > Start here: > >> Problem reports: http://cygwin.com/problems.html > > You may also want to see /usr/share/doc/Cygwin/apache-1.3.29-1.README on > your system. > 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 > -- 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: cygpath -m (and -w) sometimes emits multi-line names
Original Message >From: cygwin-owner On Behalf Of Raul Miller >Sent: 21 February 2005 23:58 > On Sun, Feb 20, 2005 at 03:21:35PM -0500, I wrote: >> My mistake. Sorry. > > On second thought: > > Both the man page and the usage information on cygpath indicate > that it only accepts a single file name argument. These should > probably be updated. A fair point. Attached :) Hmm. Anyone out there know about utils.sgml better than me? I have two questions: 1) Does it matter that the usage line is now longer than 80 chars? 2) What's with the CDATA section ? Example cygpath usage When I look at the generated manpage in info or man, the opening tag has disapperared. I think it's probably not meant to be this way? cheers, DaveK -- Can't think of a witty .sigline today cygpath-usage-patch.diff Description: Binary data -- 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: apache start problem
On Tue, 22 Feb 2005, Dou Wen wrote: > hi, > today i installed cygwin (including apache), > but i meet some problem when i try to start apache, > --- > $ /usr/sbin/apachectl start > /usr/sbin/apachectl start: httpd could not be started > > then i try > -- > $ /usr/sbin/httpd > -- > it quit without any message. > > when i check /var/log/apache.log, it is empty. > > someone can help me? Start here: > Problem reports: http://cygwin.com/problems.html You may also want to see /usr/share/doc/Cygwin/apache-1.3.29-1.README on your system. 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 -- 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/
apache start problem
hi, today i installed cygwin (including apache), but i meet some problem when i try to start apache, --- $ /usr/sbin/apachectl start /usr/sbin/apachectl start: httpd could not be started then i try -- $ /usr/sbin/httpd -- it quit without any message. when i check /var/log/apache.log, it is empty. someone can help me? --douwen -- 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/
new mirror of cygwin
Hi, I represent Helvetic Association for Open Source Developpement and I would like to let you know that the mirror I have been setting up for you is ready. My mirror is up you can reach it at http://cygwin.mirror.fr Its location is Neuchatel in Switzerland. The update of the mirror is daily. Best regards julien. FRANCOIS University of Neufchatel -- 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/
env command seems to take all CPU
Hi, first, thanks to Rolf Campbell for the answer about the "gmake -r -p -n" problem. The last version of Cygwing fixes the issue. But now I have a new problem :^) I run Perl scripts in lower priority (under tcsh) by: \nice -n 19 script.pl The header of the script.pl is: /usr/bin/env perl for portability reasons. I launched 2 Perl scripts in this way, and in the Windows Task Manager I see the 2 "env" cmd take all CPU time (sum of the both near 70 or 80% and the Perl interpreters have between 1 to 10%). This is on Windows Server 2003 with AMD Opteron 244, 1.49GHz, 2.00GB of RAM. On older machines with Win XP Pro and older Cygwin, the "env" does not appear in the Windows Task Manager (may be used only to start the Perl interpreter). If someone can help... Best regards, Yves cygcheck.out Description: Binary data -- 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: Grep for tab character
> Because that starts up auto-complete. In other words, I don't know > how to insert a literal tab into a command line. > But I do not like that idea for scripts either - it can be difficult > to visually discriminate a tab from a space character, which can too > easily lead to errors. Then try sed -n '/\t/p' file -- 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: rxvt installation results in broken man/info pages, & unreadable shell prompt
Original Message >From: cygwin-owner On Behalf Of Matthew Johnson >Sent: 21 February 2005 22:13 > Igor Pechtchanski writes: > >> Ah, very true. I should've actually included >> the link to the message I >> was referring to. But see below. > > Yes, that would have helped. And please keep in mind > that it is still not true that all browsers handle > such links uniformly: I could not be sure whether > 'SEC65' was placed at the top of the frame or the > center without looking at the HTML source, which I did > not feel like doing. Most people who want to know where a link points just hover their cursor over it and see what the status bar says. Seems like a whole lot less trouble than reading the source to me. > That said, thanks to your two posts, I now have enough > information to resolve these issues by myself, > although I am still left in amazement at what has been > left undone in Cygwin. It really amazes me that > _users_ are still expected to run a sed script to get > the man pages for rxvt to display correctly. Hell, that's nothing. Users are also expected to RTFM and STFW, to compile software from source, to debug problems in the dll and submit patches, to maintain packages. You don't quite *get* open source, do you? Still, if you find the support package unsatisfactory, you _are_ entitled to a full refund, no questions asked. cheers, DaveK -- Can't think of a witty .sigline today -- 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 libio.h?
On Feb 22 12:35, Bertalan Fodor wrote: > Hello, > > I'm trying to locate the package where libio.h is in, but I can't find > it. Is it available in cygwin? No. Libio.h doesn't define anything which is available in Cygwin. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc. -- 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/
Where is libio.h?
Hello, I'm trying to locate the package where libio.h is in, but I can't find it. Is it available in cygwin? Thanks, Bert -- 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: snapshots are breaking shred
On Feb 17 13:14, Corinna Vinschen wrote: > On Feb 14 21:19, Eric Blake wrote: > > But fsync() is implemented with > > FlushFileBuffers, which requires write access to the handle it is about to > > flush, so it now fails with EACCES. > > > > I don't know if it is better to patch open_fs() to additionally grant > > GENERIC_WRITE access when opening directories as O_RDONLY (since that is > > the > > only way to open a directory), or to patch fsync() to temporarily grant > > write > > access to a directory for the duration of the flush. I've implemented a workaround which just ignores directories on fsync(). Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc. -- 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 in 'find' 4.2.11-CVS when traversing NTFS mount points
On Feb 18 09:58, Corinna Vinschen wrote: > On Feb 17 01:52, Tim Hubberstey wrote: > > $ find /cygdrive/c -name @@@F\* > > find: Filesystem loop detected; `/cygdrive/c/aa/aa' has the same device > > number and inode as a directory which is 2 levels higher in the > > filesystem hierarchy. > > But I'm sure you don't want that. [blah] > Sorry, but there's currently no good solution for that. In contrast to what I said, there seemed to have been a pretty simple solution which doesn't slow down Cygwin at all. Please try the latest developer snapshot from http://cygwin.com/snapshots . Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc. -- 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/