Re: Add requirement for SYSTEMROOT to FAQ?

2004-10-08 Thread David A. Rogers
On Thu, 7 Oct 2004, Christopher Faylor wrote: > There is a snapshot up there now which contains Corinna's workaround for > this problem. We both came up with very similar solutions to the > problem. So that means it just has to be perfect. > > Please try out the snapshot: http://cygwin.com/snaps

Re: Add requirement for SYSTEMROOT to FAQ?

2004-10-07 Thread David A. Rogers
On Thu, 7 Oct 2004, Christopher Faylor wrote: > On Thu, Oct 07, 2004 at 01:21:48PM -0500, David A. Rogers wrote: > >On Thu, 7 Oct 2004, Corinna Vinschen wrote: > >> On Oct 7 10:52, Christopher Faylor wrote: > > No, I didn&#

Re: Add requirement for SYSTEMROOT to FAQ?

2004-10-07 Thread David A. Rogers
On Thu, 7 Oct 2004, Corinna Vinschen wrote: > On Oct 7 10:52, Christopher Faylor wrote: > > Why is that a requirement anyway? Why is it necessary to hide > $SYSTEMROOT? I don't see a reason for that? > > Corinna > > apache strips it out before launching cgi programs. cgi programs that need to

Re: Add requirement for SYSTEMROOT to FAQ?

2004-10-07 Thread David A. Rogers
I hope that one or the other occurs. I spent free time for weeks trying to figure out why my perl cgi scripts didn't work under cygwin/apache. At least with a faq entry, a google for "cygwin socket error" would turn up something useful. -- Now that I think of it, this thread will probably also c

Fix: Socket problem w/ apache & perl cgi (fwd)

2004-10-06 Thread David A. Rogers
A couple of months ago I reported a problem trying to use Apache and perl for web development. The problem was that all attempts to use any kind of a socket failed. I just got this note from Eric Davis. He's worked out the problem and a work-around. He asked me to forward this to the mailing li

RE: cp to flash drive very slow

2004-09-30 Thread David A. Rogers
Well, yes. The flash drive is a Sandisk Cruzer Mini which is USB 2.0 with fallback to 1.1. The computer is a Dell Dimension 4600 which claims eight USB 2.0 connectiors. Running Windows XP. I don't think caching is the difference. I was able to unzip the .zip file right after xcopy had copied i

RE: cp to flash drive very slow

2004-09-30 Thread David A. Rogers
Thanks for responding, Gary. > Regardless, <3.7Mb/second seems like something's wrong somewhere. Are you > running USB2.0 hub-to-device? I dunno. I'm not very knowledgable about hardware esp. USB. How would I tell? dar On Wed, 29 Sep 2004, Gary R. Van Sickle wrote: > > I tried using cp to c

cp to flash drive very slow

2004-09-29 Thread David A. Rogers
I tried using cp to copy a zip file 106MB from my hard drive to my flash drive (sandisk mini cruzer). After 20 minutes it still had not completed. xcopy copied the file in 22 seconds. Why would cp be so much slower? Any ideas as to work-arounds? cygcheck output is enclosed. TIA, dar Cygwin Co

RE: cygwin 1.5.11: execv doesn't set argv[0] on Windows programs

2004-09-10 Thread David A. Rogers
On Fri, 10 Sep 2004, Chuck McDevitt wrote: > argv and argc are concepts from the C runtime, not the Windows OS. > > The actual entry point to your program is to a routine that calls the > initialization routines of the C library, then calls winMain. > Yes, certainly. The point I was making was t

RE: cygwin 1.5.11: execv doesn't set argv[0] on Windows programs

2004-09-10 Thread David A. Rogers
On Fri, 10 Sep 2004, Dave Korn wrote: > There is no concept of argv in the windows OS itself. The application gets the > entire commmand line as one unparsed string. > Actually, this is not true. Even in a true win32 app, argc and argv are available, they are just not as obvious. The followin

Re: Socket problem w/ apache & perl cgi

2004-07-30 Thread David A. Rogers
Pechtchanski wrote: > On Fri, 30 Jul 2004, David A. Rogers wrote: > > > I have a snippet of perl code that runs fine at the bash prompt but fails > > when run under apache as a cgi app. > > > > === > > #!/usr/bin/perl &g

Socket problem w/ apache & perl cgi

2004-07-29 Thread David A. Rogers
I have a snippet of perl code that runs fine at the bash prompt but fails when run under apache as a cgi app. === #!/usr/bin/perl use strict; use IO::Socket; print "Content-type: text/plain\n\n"; my $socket = IO::Socket::INET->new(PeerAddr => "127.0.0.1",