Re: 36 seconds to do /usr/bin/ls, mkdir and other commands

2011-09-15 Thread Marco Atzeri
On 16/09/2011 7.46, J.V. wrote: I install the latest cygwin on Windows XP Pro x32 on a VM under the latest version of VirtualBox. When I do anything it takes a long time. If I do an $ls in a directory it takes 36 seconds or more. Many other commands take just as long like $mkdir etc. What is

36 seconds to do /usr/bin/ls, mkdir and other commands

2011-09-15 Thread J.V.
I install the latest cygwin on Windows XP Pro x32 on a VM under the latest version of VirtualBox. When I do anything it takes a long time. If I do an $ls in a directory it takes 36 seconds or more. Many other commands take just as long like $mkdir etc. What is causing this, and how do I fix i

Re: How do I run a program compiled in cygwin from a program that is running in a Windows CMD shell?

2011-09-15 Thread Andrew DeFaria
On 09/15/11 10:28, Ted Byers wrote: LMH molconn.com> writes: I am a bit confused as to the role of perl here. Hi LMH Thanks I have an installation of Apache's httpd server; directly from the Apache website, not the one available through cygwin (in fact, there'd be no point since that apache

Re: 1.7.9(0.237/5/3): not seeing some Windows files

2011-09-15 Thread Nisha
They didn't choose to make them inaccesiable you just have to know how, try doing: Fri Sep 16 ~ $ cd /cygdrive/c/Windows/Sysnative You'll find all your files are there. Nisha On 16 September 2011 07:02, Robert Perlberg wrote: > Very interesting.  Thank you for that information.  My goal here i

Re: cygwin 1.7.9, problem with cygwin1.dll, path_conv::check, has_acls()? (Windows 7)

2011-09-15 Thread Larry Hall (Cygwin)
On 9/15/2011 4:19 PM, John Ruckstuhl wrote: Meanwhile, thanks for showing a workaround. Other colleagues are affected, so we will discuss whether we want to stay downgraded or start using explicit mounts. Another alternative is to try a snapshot. This issue should be addressed there.

Re: How do I run a program compiled in cygwin from a program that is running in a Windows CMD shell?

2011-09-15 Thread Ted Byers
LMH molconn.com> writes: > > It seems like a cross compiled c app to launch your child process would > be more portable, but I will look at the perl more closely later. I'm > off to the dentist for now, fun, fun, fun. > Well, on a different machine, I installed cygwin fresh, including the min

Re: 1.7.9(0.237/5/3): not seeing some Windows files

2011-09-15 Thread Robert Perlberg
Very interesting. Thank you for that information. My goal here is to run ntbackup via ssh. Based on this information I copied ntbackup.exe to another folder that does not get redirected and I can invoke it from there via ssh. It seems to run fine, so I question why Microsoft chose to ma

RE: cygwin 1.7.9, problem with cygwin1.dll, path_conv::check, has_acls()? (Windows 7)

2011-09-15 Thread John Ruckstuhl
NEW information -- this UNC permissions confusion is new behavior in 1.7.9, it does not show in 1.7.8 (on the same Windows 7 system). > > > It seems you are suspicious of the mount... that a defective mount WOULD > > > interfere when the target is expressed one way, and WOULDNOT interfere > > > wh

Re: How do I run a program compiled in cygwin from a program that is running in a Windows CMD shell?

2011-09-15 Thread LMH
As stated, the mno-cygwin flag was depreciated in gcc 4. This was what you used to link to the windows c runtime instead of the cygwin dll. In other words, it let you compile with cygwin gcc and then run on a windows box that didn't have cygwin installed (very useful). Since some of your issue

Re: How do I run a program compiled in cygwin from a program that is running in a Windows CMD shell?

2011-09-15 Thread Ted Byers
Larry Hall (Cygwin cygwin.com> writes: > > On 9/15/2011 1:28 PM, Ted Byers wrote: > > LMH molconn.com> writes: > > > > > What, exactly, does '-mno-cygwin' do? > > > > BTW: With gcc v 4.5.3, using 'G++ -mno-cygwin' followed by the other > > commandline arguements needed to compile something

Writing to Windows Share issues fixed in cygwin1-20110829.dll.bz2

2011-09-15 Thread Keith Christian
I stumbled across the following snapshot, cygwin1-20110829.dll.bz2, and now I can create files in a Windows Share that I haven't been able to properly access from Cygwin in months! Corinna, whatever changes you made to this snapshot have fixed the problem for me, at least. Hope they can be includ

Re: How do I run a program compiled in cygwin from a program that is running in a Windows CMD shell?

2011-09-15 Thread Larry Hall (Cygwin)
On 9/15/2011 1:28 PM, Ted Byers wrote: LMH molconn.com> writes: I have compiled under cygwin g++ for a long time now and don't run into problems. Are you using the -mno-cygwin flag in your compile rules? I have two processes, where one is a child of the the processed that gets launched, bu

Re: How do I run a program compiled in cygwin from a program that is running in a Windows CMD shell?

2011-09-15 Thread Ted Byers
LMH molconn.com> writes: > > I am a bit confused as to the role of perl here. Hi LMH Thanks I have an installation of Apache's httpd server; directly from the Apache website, not the one available through cygwin (in fact, there'd be no point since that apache install is on a different machine

Re: How do I run a program compiled in cygwin from a program that is running in a Windows CMD shell?

2011-09-15 Thread LMH
I am a bit confused as to the role of perl here. I have compiled under cygwin g++ for a long time now and don't run into problems. Are you using the -mno-cygwin flag in your compile rules? I have two processes, where one is a child of the the processed that gets launched, but both are in c. May

Re: How do I run a program compiled in cygwin from a program that is running in a Windows CMD shell?

2011-09-15 Thread Andrey Repin
Greetings, Ted Byers! > However, when I compile the program using gcc within cygwin (and run it the > same way - Activestate perl from a Windows' CMD console, no output is > produced, and if I try to run qlt from Windows' CMD, it complains about a > missing DLL and dies.. Which DLL? You know, w

Re: plotting from octave: address space already occupied, fork aborts

2011-09-15 Thread Paul
Marco atzeri || Unfortunately, duplicating it at home is a no-go. I am running into a || different problem between octave and gnuplot on Windows 7 Professional || 64-bit. The problem seems to be accurately captured by someone else's || account http://savannah.gnu.org/bugs/?33291 . | | that p

Re: How do I run a program compiled in cygwin from a program that is running in a Windows CMD shell?

2011-09-15 Thread Ted Byers
Thanks Marco and Andrew I have actually been using Perl's back ticks and system (and not so much exec) for years, using Activestate perl, but this is the first time I tried to use them to run a program compiled using gcc within cygwin when I am running a perl program from Windows CMD console.

RE: cygwin 1.7.9, problem with cygwin1.dll, path_conv::check, has_acls()? (Windows 7)

2011-09-15 Thread Thorsten Kampe
* John Ruckstuhl (Wed, 14 Sep 2011 13:31:50 -0700) > Larry Hall wrote: > > On 9/14/2011 1:56 PM, Thorsten Kampe wrote: > > > The obvious way to troubleshoot this would be to use a network > > > drive (Z: for instance) instead of UNC or to mount the share and > > > see if that works. Naturally it wo