Bash/wget gets confused by trailing carriage return

2011-03-15 Thread siegfried
I'm sorry if this appears twice. I'm posting it again because I did not see it appear. I have the following script that does not work! #!/usr/bin/bash /usr/bin/wget ftp://mirrors.kernel.org/debian-cd/6.0.0/i386/iso-dvd/debian-6.0.0-i386-DVD-2.iso when I type bash.exe -v it says version 3.9-

Re: git fails with "error 487" in winmm.dll

2011-03-15 Thread Kevin Layer
Eric Blake wrote: >> On 03/15/2011 06:40 PM, Kevin Layer wrote: >> > Anyone else seen this? >> > >> > hobart$ git reset --hard a000933 >> > 5 [main] git 2832 C:\cygwin\bin\git.exe: *** fatal error - could not >> > load C:\WINDOWS\system32\winmm.dll, Win32 error 487 >> >> Yes. Multiple p

Re: git fails with "error 487" in winmm.dll

2011-03-15 Thread Eric Blake
On 03/15/2011 06:40 PM, Kevin Layer wrote: > Anyone else seen this? > > hobart$ git reset --hard a000933 > 5 [main] git 2832 C:\cygwin\bin\git.exe: *** fatal error - could not > load C:\WINDOWS\system32\winmm.dll, Win32 error 487 Yes. Multiple people. And it's already fixed in the latest

git fails with "error 487" in winmm.dll

2011-03-15 Thread Kevin Layer
Anyone else seen this? hobart$ git reset --hard a000933 5 [main] git 2832 C:\cygwin\bin\git.exe: *** fatal error - could not load C:\WINDOWS\system32\winmm.dll, Win32 error 487 Stack trace: Frame Function Args 0022AAF4 6102792B (0022AAF4, , , 28602020) 0022ADE4 61027

Re: How do I make a COM port in windows accessible using cygwin?

2011-03-15 Thread Václav Haisman
Vinod Pillai wrote, On 15.3.2011 21:03: > > Im sorry but Im a complete novice at this. I cd-ed into the /dev folder. But > I could not find a ttyS1. If you could elaborate what exactly I must do, it > would be helpful. Thank you. Read the page I have linked: "These devices cannot be seen with the

Re: How do I add a follow-on post to a thread in this mailing list?

2011-03-15 Thread Peter Binney
Many thanks - I'm using gmail. Any idea how I would do that with it? Also, is there no way then to join into a thread unless one has access to a mail from the mailing list? On 15 March 2011 20:44, Bruce Cran wrote: > On Tue, 15 Mar 2011 19:13:47 + > Peter Binney wrote: > >> But that reply h

mtr compilation problem

2011-03-15 Thread Olivier Lefevre
I am trying to compile mtr-0.80. configure completed without errors but make puts: net.h:25:25: error: netinet/ip6.h: No such file or directory net.h:26:27: error: netinet/icmp6.h: No such file or directory I couldn't find what additional packages I should download to get IPv6 headers (which I a

Probably dumb question about apropos

2011-03-15 Thread Lee Maschmeyer
I don't think this is specific to my machine so I'll forego the cygcheck stuff. If it develops I'm wrong I'll do it... I did "makewhatis -w" to get the database. When I do an apropos command each entry has [] after the name: $ apropos perl a2p [] (1) - Awk to Perl translator al

Re: Calling sem_wait() in DllMain( DLL_THREAD_DETACH) crashes

2011-03-15 Thread Jon TURNEY
On 15/03/2011 20:42, Charles Wilson wrote: > Given that Jon mentioned other, similar reports, involving other > libraries/extensions for python...I wonder if there's something in the > core of python (e.g. "how to build an extension DLL: this glue code will > be included in the xDLL automatically b

Re: Calling sem_wait() in DllMain( DLL_THREAD_DETACH) crashes

2011-03-15 Thread Jon TURNEY
On 15/03/2011 20:28, Christopher Faylor wrote: > On Tue, Mar 15, 2011 at 04:01:35PM -0400, Charles Wilson wrote: >> On 3/15/2011 3:07 PM, Christopher Faylor wrote: >>> On Tue, Mar 15, 2011 at 06:34:27PM +, Jon TURNEY wrote: I've come across a problem whilst trying to run the twisted t

Re: How do I add a follow-on post to a thread in this mailing list?

2011-03-15 Thread Bruce Cran
On Tue, 15 Mar 2011 19:13:47 + Peter Binney wrote: > But that reply has not appeared (though I got no delivery error > message). You might be able to save the "Raw text" version to disk and open it within your email client. Click "reply" and the correct headers will be included. -- Bruce C

Re: Calling sem_wait() in DllMain( DLL_THREAD_DETACH) crashes

2011-03-15 Thread Charles Wilson
On 3/15/2011 4:28 PM, Christopher Faylor wrote: > On Tue, Mar 15, 2011 at 04:01:35PM -0400, Charles Wilson wrote: >> There are cases where cygwin-ish code does win32-ish things, like >> login.exe, or the PyWin32 extensions for Python-on-Windows(and cygwin). >> Maybe twisty uses PyWin32? > > The py

Re: Calling sem_wait() in DllMain( DLL_THREAD_DETACH) crashes

2011-03-15 Thread Christopher Faylor
On Tue, Mar 15, 2011 at 04:01:35PM -0400, Charles Wilson wrote: >On 3/15/2011 3:07 PM, Christopher Faylor wrote: >> On Tue, Mar 15, 2011 at 06:34:27PM +, Jon TURNEY wrote: >>> >>> I've come across a problem whilst trying to run the twisted test suite, >>> where >>> some tests just cause python

Re: How do I make a COM port in windows accessible using cygwin?

2011-03-15 Thread Vinod Pillai
Im sorry but Im a complete novice at this. I cd-ed into the /dev folder. But I could not find a ttyS1. If you could elaborate what exactly I must do, it would be helpful. Thank you. Vinod Vaclav Haisman wrote: > > On Tue, 15 Mar 2011 06:18:00 -0700 (PDT), Vinod Pillai wrote: >> I have a virtu

Re: Calling sem_wait() in DllMain( DLL_THREAD_DETACH) crashes

2011-03-15 Thread Charles Wilson
On 3/15/2011 3:07 PM, Christopher Faylor wrote: > On Tue, Mar 15, 2011 at 06:34:27PM +, Jon TURNEY wrote: >> >> I've come across a problem whilst trying to run the twisted test suite, where >> some tests just cause python to segfault. It seems to be the same issue with >> libcrypto as reported

How do I add a follow-on post to a thread in this mailing list?

2011-03-15 Thread Peter Binney
Sorry to be really dim, but I can't see how to do this. I am trying to add a follow-on message to http://www.cygwin.com/ml/cygwin/2011-03/msg00167.html (which I initiated). But, I posted my original message before I had subscribed to the list under my posting email address (gmail.com). I had sub

Re: Calling sem_wait() in DllMain( DLL_THREAD_DETACH) crashes

2011-03-15 Thread Christopher Faylor
On Tue, Mar 15, 2011 at 06:34:27PM +, Jon TURNEY wrote: > >I've come across a problem whilst trying to run the twisted test suite, where >some tests just cause python to segfault. It seems to be the same issue with >libcrypto as reported in [2],[3] > >A small test case is attached to [2] as cy

Re: cygpath, cygcheck not working

2011-03-15 Thread Tod
On 3/11/2011 4:08 AM, Csaba Raduly wrote: Hi Tod, On Thu, Mar 10, 2011 at 5:31 PM, Tod wrote: I just ran an update and now I can't get either of these two programs to display anything. �I execute them and get nothing back. �I tried getting out of X (I use WindowMaker) to see if that was an issu

Calling sem_wait() in DllMain( DLL_THREAD_DETACH) crashes

2011-03-15 Thread Jon TURNEY
I've come across a problem whilst trying to run the twisted test suite, where some tests just cause python to segfault. It seems to be the same issue with libcrypto as reported in [2],[3] A small test case is attached to [2] as cygwin_crash.zip, referred to in msg76086, which shows that manipula

cat: write error: File too large

2011-03-15 Thread EXCOFFIER Denis
Hello! I'm currently testing the last snapshot 20110313. I've found something curious. % uname -a CYGWIN_NT-5.1 JUPITER043890 1.7.9s(0.236/5/3) 20110313 16:22:37 i686 Cygwin % bzip2 -cd < gcc-4.5.2.tar.bz2 > /tmp/1 % wc /tmp/1 11426953 43063570 448358400 /tmp/1 % rm /tmp/1 % cat gcc-4.5.2.t

BLODA detection (was Re: Debugging help for fork failure: resource temporarily unavailable)

2011-03-15 Thread Henry S. Thompson
Ryan Johnson writes: > BTW, I found a good way to identify, if not fix, BLODA: given an app > which loads no libraries at runtime -- such as 'ls' -- any dlls > mentioned in /proc/$$/maps which cygcheck does not mention are > probably dodgy. In my case, Windows Live (which I didn't think was > even

Running vssadmin in a bash shell?

2011-03-15 Thread Pippo Baudo
Sorry, I forgot: using Windows 7 64bit but I got similar problems with Windows XP and 2003. I also tried VSHADOW.EXE to create a snapshot and I get: VSHADOW.EXE 3.0 - Volume Shadow Copy sample client. Copyright (C) 2005 Microsoft Corporation. All rights reserved. (Option: Create shadow copy se

Running vssadmin in a bash shell?

2011-03-15 Thread Pippo Baudo
Can you run the vssadmin tool in a cygwin bash shell? It seems not. I get an error saying something like "unexpected error: the interface is unregistered" (sorry translated from Italian I currently don't have an English version of Windows at hand). Thanks, PB -- Problem reports: http:/

Re: How do I make a COM port in windows accessible using cygwin?

2011-03-15 Thread Václav Haisman
On Tue, 15 Mar 2011 06:18:00 -0700 (PDT), Vinod Pillai wrote: I have a virtual serial port set up on my COM2 port. I am trying to run a program on cygwin which will require the use of this serial port on COM2. I was wondering how I could connect to the COM port using cygwin? See

Re: Fedora Cygwin RPM repository

2011-03-15 Thread Reini Urban
2011/3/14 Corinna Vinschen: > On Mar 14 14:08, René Berber wrote: >> On 3/14/2011 3:59 AM, Corinna Vinschen wrote: >> >> [snip] >> > I also found another strange problem.  It's practically impossible to >> > debug a Cygwin DLL built with this gcc/g++.  The debug line number >> > information appears

Re: Re: Debugging help for fork failure: resource temporarily unavailable

2011-03-15 Thread Ryan Johnson
On 2:59 PM, Jon TURNEY wrote: On 09/03/2011 17:04, Ryan Johnson wrote BTW, while looking at the code I noticed a potential source of remap problems: if B depends on A, and we remap A first, then only A's location will be checked carefully; B will be pulled in wherever it happens to end up when w

How do I make a COM port in windows accessible using cygwin?

2011-03-15 Thread Vinod Pillai
I have a virtual serial port set up on my COM2 port. I am trying to run a program on cygwin which will require the use of this serial port on COM2. I was wondering how I could connect to the COM port using cygwin? -- View this message in context: http://old.nabble.com/How-do-I-make-a-COM-port-in

Re: Fedora Cygwin RPM repository

2011-03-15 Thread Corinna Vinschen
On Mar 15 08:58, Corinna Vinschen wrote: > On Mar 15 00:48, Yaakov (Cygwin/X) wrote: > > P.S. I see that you already used this to fix the gcc-4.5 warnings in > > winsup/cygwin, but you only applied those to your post-1.7.9 branch. > > Any chance you could commit those to HEAD now as well? > > I ra

Re: Fedora Cygwin RPM repository

2011-03-15 Thread Corinna Vinschen
On Mar 15 00:48, Yaakov (Cygwin/X) wrote: > On Mon, 2011-03-14 at 10:59 +0100, Corinna Vinschen wrote: > > On Mar 13 23:24, Yaakov (Cygwin/X) wrote: > > > I just added a cygwin-binutils-devel package with the necessary headers > > > and static libraries. > > > > > > The only trick is you need to m

[ANNOUNCEMENT] Released : netcdf-4.1.1-1

2011-03-15 Thread marco atzeri
Versions 4.1.1-1 of netcdf / libnetcdf-devel / libnetcdf6 are available in the Cygwin distribution: CHANGES 1st Release for cygwin. It is linked against hdf5-1.8.6 libnetcdf6 includes shared libs for: usr/bin/cygnetcdf-6.dll C usr/bin/cygnetcdf_c++-5.dll C++ (n