Re: Fedora Cygwin RPM repository

2011-03-14 Thread Yaakov (Cygwin/X)
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 manually > > remove /usr/i686-pc-cygwin/lib/libiberty.a

Re: How to read thumb drive volume label

2011-03-14 Thread carolus
On 3/14/2011 4:55 PM, Buchbinder, Barry (NIH/NIAID) [E] wrote: carolus sent the following at Monday, March 14, 2011 1:05 PM I didn't realize that the output of dir depended on whether it was invoked from cygwin or from cmd, and I didn't know about label.exe. dir does not differ depending on fr

Re: FSF releases GCC 4.6.0

2011-03-14 Thread David Billinghurst
On 15/03/2011 12:01 PM, JonY wrote: Btw, can GCC deps like ppl/cloog etc be updated? gcc configure was complaining about them being "buggy but acceptable". Will see what I can do. David -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.co

FSF releases GCC 4.6.0

2011-03-14 Thread JonY
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey list, GCC 4.6.0 was just released into the wild. I was just working on 4.5.2 for mingw-w64 when I saw the news. Btw, can GCC deps like ppl/cloog etc be updated? gcc configure was complaining about them being "buggy but acceptable". Dave, any pla

apache accessible from localhost but not 127.0.0.1

2011-03-14 Thread Todd, John
I've set up apache2 under cygwin on a Windows 7 PC, and through Firefox I can load http://localhost/ and retrieve the "It works!" index page, but cannot retrieve http://127.0.0.1/. "wget http://localhost"; reports that it resolves localhost to 127.0.0.1, connects to port 80, and gets a 404 Not

RE: How to read thumb drive volume label

2011-03-14 Thread Buchbinder, Barry (NIH/NIAID) [E]
carolus sent the following at Monday, March 14, 2011 1:05 PM >I didn't realize that the output of dir depended on whether it was >invoked from cygwin or from cmd, and I didn't know about label.exe. dir does not differ depending on from where it is invoked. Compare the output of the following. In

Re: [ANNOUNCEMENT] Updated: base-files-4.0-4

2011-03-14 Thread David Sastre
On Mon, Mar 14, 2011 at 12:14:19PM +0100, Corinna Vinschen wrote: > Hi David, > > I was just testing some experimental Cygwin code on Windows 2000. > I now get this on every invocation of the shell: > > bash: /proc/registry/HKEY_CURRENT_USER/Software/Microsoft/Windows NT/ > CurrentVersion/Windows

Re: [ANNOUNCEMENT] Updated: base-files-4.0-4

2011-03-14 Thread David Sastre
On Mon, Mar 14, 2011 at 10:42:03AM -0700, Matt Seitz (matseitz) wrote: > "David Sastre" wrote in message > > A detailed list of bugfixes and changes in this release can be > > found in the ChangeLog included in the package. > > In the future, would you make available a list of changes that does

Re: Fedora Cygwin RPM repository

2011-03-14 Thread 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 to be screwed up. > > You need gd

Re: Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread PeterSmith
Jeremy Bopp-3 wrote: > > On 3/14/2011 14:21, PeterSmith wrote: >> Ok, so for now lets focus on the contents of the .bat file. I'll have a >> look >> at the startup of the bat later :) > > Excellent idea, especially considering that it's not really a Cygwin > problem at that point. ;-) > >> I

Re: Fedora Cygwin RPM repository

2011-03-14 Thread René Berber
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 to be screwed up. You need gdb 7.0 or above (current is 7.2 and builds out of the

Re: Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread Jeremy Bopp
On 3/14/2011 14:21, PeterSmith wrote: > Ok, so for now lets focus on the contents of the .bat file. I'll have a look > at the startup of the bat later :) Excellent idea, especially considering that it's not really a Cygwin problem at that point. ;-) > I now have this: > @echo off > C: > chdir C:\

Re: Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread PeterSmith
Jeremy Bopp-3 wrote: > > On 3/14/2011 13:25, PeterSmith wrote: > > FYI, this list prefers bottom posting rather than top posting. > Reformatting... :-) > >> Jeremy Bopp-3 wrote: >>> bash -c "cd >>> /cygdrive/e/solr/apache-solr-4.0-2010-10-12_08-05-48/example/;java >>> -Dsolr.solr.home=\"./exa

Re: Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread Jan Bruun Andersen
On Mar 14, 2011 3:07 PM, "PeterSmith" wrote: > What I want is on Windows start, also run Cygwin AND run a specific command. Why? Why bother with Cygwin? You are starting some Java program that I assume will work just fine when started from a simple CMD-script. @echo off E: cd solr\apache-solr-4.

Re: Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread Jeremy Bopp
On 3/14/2011 13:25, PeterSmith wrote: FYI, this list prefers bottom posting rather than top posting. Reformatting... :-) > Jeremy Bopp-3 wrote: >> bash -c "cd >> /cygdrive/e/solr/apache-solr-4.0-2010-10-12_08-05-48/example/;java >> -Dsolr.solr.home=\"./example-DIH/solr/\" -jar start.jar >> >> If

Re: Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread PeterSmith
First of: sorry for not providing all info. I DO want to run this command as soon as my machine boots. My server sometimes reboots at night after an update. So when Windows starts, in the Startup Folder I will place a shortcut to the .bat file. I the bat file I now have: @echo off C: chdir C:\cy

Re: Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread Jeremy Bopp
On 3/14/2011 09:07, PeterSmith wrote: > > Sometimes my Windows server reboots at night to install new updates. Then the > next day I find out that my cygwin instance has been stopped. > > What I want is on Windows start, also run Cygwin AND run a specific command. > > so, step 1: Right now I hav

Re: Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread Jeremy Bopp
On 3/14/2011 13:10, Jeremy Bopp wrote: > bash -c "cd > /cygdrive/e/solr/apache-solr-4.0-2010-10-12_08-05-48/example/;java > -Dsolr.solr.home=\"./example-DIH/solr/\" -jar start.jar I forgot to append the trailing quote on the above command. It should be as follows: bash -c "cd /cygdrive/e/solr/ap

Re: dd to thumb drive, W7 permission problem

2011-03-14 Thread Roger K. Wells
On 03/14/2011 11:29 AM, Charles Russell wrote: The following works on Windows XP, but fails on Windows 7, apparently because of some permission setting (even in Administrator mode). # dd if=binary.img of=/dev/sdb dd: writing to `/dev/sdb': Permission denied 3+0 records in 2+0 records out 1024 b

Re: [ANNOUNCEMENT] Updated: base-files-4.0-4

2011-03-14 Thread Matt Seitz (matseitz)
"David Sastre" wrote in message news:... > A detailed list of bugfixes and changes in this release can be > found in the ChangeLog included in the package. In the future, would you make available a list of changes that does not require first installing the package? I like to look at the list o

Re: How to read thumb drive volume label

2011-03-14 Thread carolus
On 3/14/2011 11:11 AM, Buchbinder, Barry (NIH/NIAID) [E] wrote: Charles Russell sent the following at Monday, March 14, 2011 10:03 AM Is there some way to read the volume label on a USB flash drive? Something like blkid in linux? Something like this? function label() { $(cygpath --sysdir

Re: dd to thumb drive, W7 permission problem

2011-03-14 Thread carolus
On 3/14/2011 10:58 AM, Corinna Vinschen wrote: On Mar 14 10:29, Charles Russell wrote: The following works on Windows XP, but fails on Windows 7, apparently because of some permission setting (even in Administrator mode). # dd if=binary.img of=/dev/sdb dd: writing to `/dev/sdb': Permission deni

RE: How to read thumb drive volume label

2011-03-14 Thread Buchbinder, Barry (NIH/NIAID) [E]
Charles Russell sent the following at Monday, March 14, 2011 10:03 AM >Is there some way to read the volume label on a USB flash drive? >Something like blkid in linux? Something like this? function label() { $(cygpath --sysdir)/cmd /c dir ${1}:\\ | \ tr \\r \\n | \ sed -n -e '

Re: dd to thumb drive, W7 permission problem

2011-03-14 Thread Corinna Vinschen
On Mar 14 10:29, Charles Russell wrote: > The following works on Windows XP, but fails on Windows 7, > apparently because of some permission setting (even in Administrator > mode). > > # dd if=binary.img of=/dev/sdb > dd: writing to `/dev/sdb': Permission denied > 3+0 records in > 2+0 records out

dd to thumb drive, W7 permission problem

2011-03-14 Thread Charles Russell
The following works on Windows XP, but fails on Windows 7, apparently because of some permission setting (even in Administrator mode). # dd if=binary.img of=/dev/sdb dd: writing to `/dev/sdb': Permission denied 3+0 records in 2+0 records out 1024 bytes (1.0 kB) copied, 0.081 s, 12.6 kB/s I woul

Re: vim-7.3.003-1 signal SEGV after writing to /etc/hosts against cygwin-1.7.8-1 on Windows Vista Home Premium Edition SP2

2011-03-14 Thread Corinna Vinschen
On Mar 13 22:07, Auteria W. Winzer Jr. wrote: > Greetings, > > Upon upgrading to cygwin-1.7.8-1 from 1.7.7-1 whenever I write to /etc/hosts > using vim-7.3.003-1 it immediately catches deadly signal SEGV even though the > change(s) are successful: > > $ vi /etc/hosts > Vim: Caught deadly signal

Autostart Cygwin on Windows boot and run a cygwin command

2011-03-14 Thread PeterSmith
Sometimes my Windows server reboots at night to install new updates. Then the next day I find out that my cygwin instance has been stopped. What I want is on Windows start, also run Cygwin AND run a specific command. so, step 1: Right now I have a cygwin.bat to start cygwin: @echo off C: chdir

How to read thumb drive volume label

2011-03-14 Thread Charles Russell
Is there some way to read the volume label on a USB flash drive? Something like blkid in linux? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/

Re: [ANNOUNCEMENT] Updated: base-files-4.0-4

2011-03-14 Thread Corinna Vinschen
Hi David, On Mar 12 17:28, David Sastre wrote: > Version 4.0-4 of base-files has been uploaded. > > Base-files is a set of system configuration and setup files. > A detailed list of bugfixes and changes in this release can be > found in the ChangeLog included in the package. I was just testing

Re: 1.7.8: write fails with EAGAIN

2011-03-14 Thread Robert Wruck
Hi, just re-tested this with cygwin1-20110313.dll. Here is the result (output of my "writetest" program): writing 78954543 bytes... result is 32505856, errno is 27 writing 46448687 bytes... result is -1, errno is 27 writing 46448687 bytes... result is -1, errno is 27 [ repeating a few hundred ti

Re: Fedora Cygwin RPM repository

2011-03-14 Thread Corinna Vinschen
On Mar 13 23:24, Yaakov (Cygwin/X) wrote: > On Sun, 2011-03-13 at 12:36 +0100, Corinna Vinschen wrote: > > this offer is way cool. Thanks for doing this, because this allows my lazy > > self to switch to the latest gcc to build Cygwin without having to build > > the compiler and all the stuff myse

Re: Compiled program does nothing when executing it under Cygwin

2011-03-14 Thread Csaba Raduly
On Fri, Mar 11, 2011 at 5:36 PM, Larry Hall (Cygwin) wrote: > On 3/11/2011 10:09 AM, Mengsk wrote: >> >> When checking for the 'cygwin1.dll' file in C:\cygwin\bin, I discovered >> that >> there also was a file named 'cygwin1.dll.new' in there. I made a backup of >> my cygwin1.dll, deleted it and r