Re: Is there a script to remove old packages from local disk

2009-06-16 Thread David Arnstein
On Wed, Jun 17, 2009 at 12:50:34AM -0400, Christopher Faylor wrote: > That's what I meant, yes. I think many people don't understand that > those files don't need to be there and since we advocate using > just the straight install from internet, we probably should be nice > and delete the files.

Re: Is there a script to remove old packages from local disk

2009-06-16 Thread Christopher Faylor
On Tue, Jun 16, 2009 at 11:01:15PM -0400, Ralph Hempel wrote: >Christopher Faylor wrote: >>>But those folders do fill up with old cruft after a while. >>But you wouldn't want to keep different versions of bz2 files around in >>that case. > >Right. But I do want to keep only the most current versio

Re: Is there a script to remove old packages from local disk

2009-06-16 Thread Ralph Hempel
Christopher Faylor wrote: But those folders do fill up with old cruft after a while. But you wouldn't want to keep different versions of bz2 files around in that case. Right. But I do want to keep only the most current versions. Not to belabour the point, but if you do a "Download to local

Re: Is there a script to remove old packages from local disk

2009-06-16 Thread Christopher Faylor
On Tue, Jun 16, 2009 at 06:16:17PM -0400, Ralph Hempel wrote: >Christopher Faylor wrote: >>You can just rm -r all of the directories that setup creates when >>installing packages. There is no reason to keep any of them around. > >I think he's talking about the old versions of the .bz2 files that l

[ANNOUNCEMENT] [1.7] Updated: cygport-0.9.7-1

2009-06-16 Thread Yaakov (Cygwin/X)
The following package has been updated for Cygwin 1.7: (*) cygport: 0.9.7-1 Changes in this release: * Default libexecdir changed to /usr/lib. * gnome2.cygclass: Define GIT_URI as GNOME has moved from svn to git. * git.cygclass: Allow GIT_MODULE to be user-defined. * kde4.cygclass: Updated for

Re: Optimize cygwin on recent windows version (Vista and Seven)

2009-06-16 Thread Sisyphus
- Original Message - From: "Chris Sutcliffe" >> Times taken were: >> Linux : 1.5 mimutes >> XP (mingw): 6.5 minutes >> Vista (mingw): 16.5 minutes >> Vista (cygwin): 23.25 minutes If UAC is disabled, does it improve performance? Yes - for Cygwin it reduced the time taken by 2 mi

Possible bug in passwd cygwin 1.7, "you may not change the password for"

2009-06-16 Thread Jerry A
Hi, I am a "local administrator" on an otherwise locked down corporate laptop that is running XP and currently, cygwin 1.7, the beta. I was running the released version of cygwin and having problems installing sshd and passwd. I found a thread from back in March regarding passwd working in domai

Re: Is there a script to remove old packages from local disk

2009-06-16 Thread Charles Wilson
There used to be a script by Michael Chase called "clean_setup.pl" but it has disappeared from the web. I have discovered a truly marvelous copy of it, which the margin of this email is too narrow to contain. Just kidding -- it's attached. I haven't used it in several years, so YMMV. -- Chuck c

Re: Is there a script to remove old packages from local disk

2009-06-16 Thread Ralph Hempel
Christopher Faylor wrote: You can just rm -r all of the directories that setup creates when installing packages. There is no reason to keep any of them around. I think he's talking about the old versions of the .bz2 files that live in the local download folders. I may have a similar usage pa

Re: w32-shell-execute function definition is void

2009-06-16 Thread Ken Brown
On 6/16/2009 2:20 PM, Eli Zaretskii wrote: Date: Tue, 16 Jun 2009 06:49:14 -0400 From: Ken Brown Finally, still in cygwin-init.el, I slightly modify browse-url-of-file: ;; browse-url-of-file doesn't work right under cygwin; I'll just open ;; the file using cygstart instead of trying to convert

Re: Is there a script to remove old packages from local disk

2009-06-16 Thread Christopher Faylor
On Tue, Jun 16, 2009 at 12:59:19PM -0600, Keith Christian wrote: >Has anyone written a script that will remove older .bz2 files in the >release/ directory on local drives, e.g. > > release/bash/bash-3.2.25-17.tar.bz2 > release/bash/bash-3.2.33-18.tar.bz2 > release/bash/bash-3.2.39

Is there a script to remove old packages from local disk

2009-06-16 Thread Keith Christian
Has anyone written a script that will remove older .bz2 files in the release/ directory on local drives, e.g. release/bash/bash-3.2.25-17.tar.bz2 release/bash/bash-3.2.33-18.tar.bz2 release/bash/bash-3.2.39-19.tar.bz2 release/bash/bash-3.2.39-20.tar.bz2 rele

Re: w32-shell-execute function definition is void

2009-06-16 Thread Eli Zaretskii
> Date: Tue, 16 Jun 2009 06:49:14 -0400 > From: Ken Brown > > Finally, still in cygwin-init.el, I slightly modify browse-url-of-file: > > ;; browse-url-of-file doesn't work right under cygwin; I'll just open > ;; the file using cygstart instead of trying to convert the filename > ;; to a URL. >

Re: [1.7.0-49] DuplicateHandle failed

2009-06-16 Thread Andrew Schulman
> >> Every time I run ipconfig from bash, I get the following: > >> > >> $ ipconfig > >> 3 [main] bash 1192! _pinfo::dup_proc_pipe: DuplicateHandle failed, > >> pid 1192, hProcess 0x65C, wr_proc_pipe 0x704, Win32 error 5 > >> > >> The command then runs apparently normally, so this seems to

Re: job control "Bad address" error

2009-06-16 Thread Corinna Vinschen
On Jun 16 15:28, Eric Blake wrote: > Haojun Bao gmail.com> writes: > > > type the command: > > cat|cat > > > > type ^Z, type > > bg > > I can also reproduce it under cygwin 1.7, and further clarified that it is > the > second cat that is failing: > > $ sleep 100 | cat > ^Z > $ bg >

Re: job control "Bad address" error

2009-06-16 Thread Eric Blake
Haojun Bao gmail.com> writes: > type the command: > cat|cat > > type ^Z, type > bg I can also reproduce it under cygwin 1.7, and further clarified that it is the second cat that is failing: $ sleep 100 | cat ^Z $ bg cat: -: Bad address I'm not quite sure how to strace this, since y

Re: fatal error - fork: can't reserve memory for stack

2009-06-16 Thread Marc Girod
Frank-136 wrote: > > As you see, I already tried with Cygwin 1.5 and 1.7 and I also ran the > "rebase" > tool under Cygwin 1.5, but no success. > You need to run it for Cygwin 1.7 as well. I also run, in the same ash window, after every install, a ./peflagsall With those, and since I installed

job control "Bad address" error

2009-06-16 Thread Haojun Bao
hi, I searched the mail list for job control and didnot see my issue, and I can reproduce it both at work and at home: type the command: cat|cat type ^Z, type bg or fg And it will display cat: -: Bad address Could you please try to reproduce it? -- Unsubscribe info:

Re: Optimize cygwin on recent windows version (Vista and Seven)

2009-06-16 Thread Vincent R.
On Tue, 16 Jun 2009 08:17:19 -0400, Chris Sutcliffe wrote: >> >> Times taken were: >> >> Linux : 1.5 mimutes >> >> XP (mingw):  6.5 minutes >> >> Vista (mingw): 16.5 minutes >> >> Vista (cygwin): 23.25 minutes >> >> Yes these figures are a good example of what I am talking about and here >> is >>

Re: [ANNOUNCEMENT] New: run2-0.3.0-1

2009-06-16 Thread Charles Wilson
Corinna Vinschen wrote: > On Jun 15 20:27, Charles Wilson wrote: >> Angelo Graziosi wrote: >>> Perhaps there is a problem on the mirrors: run2 is in the repository but >>> setup.ini is dated 20090609, and it does not contain references to run2. >> Confirmed. This is actually a sourceware problem, n

fatal error - fork: can't reserve memory for stack

2009-06-16 Thread Frank
Hello all, I am having the following problem with Cygwin installed on a Microsoft Windows HPC Server 2008 (x64): Whenever I try to run one of my make file, I get the following error With Cygwin 1.5 [CYGWIN_NT-6.0-WOW64 bensley 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin] 8544 [main] sh 3

Re: Optimize cygwin on recent windows version (Vista and Seven)

2009-06-16 Thread Chris Sutcliffe
> >> Times taken were: > >> Linux : 1.5 mimutes > >> XP (mingw):  6.5 minutes > >> Vista (mingw): 16.5 minutes > >> Vista (cygwin): 23.25 minutes > > Yes these figures are a good example of what I am talking about and here is > an additional benchmark > done when compiling binutils (time ../build-m

[ANNOUNCEMENT] [1.7] Updated setup-1.7.exe (2.629)

2009-06-16 Thread Corinna Vinschen
I just uploaded another new setup-1.7.exe (2.629) to http://cygwin.com/setup-1.7.exe, which contains the following changes and bug fixes: - Add support for both -D and -L on the command line. - Fix a bug which potentially resulted in setup forgetting the correct cygwin root directory when insta

Re: w32-shell-execute function definition is void

2009-06-16 Thread Marc Girod
Ken Brown-6 wrote: > > I haven't tried to write a full-blown replacement, but the following > works for me. > It is now in my .emacs as well. Er... (browse-url "file://c:/cygwin2/home/emagiro/public_html/index.html" nil) I even get it twice! Yes, I know... call that ingratitude... Thanks! Ma

Re: [ANNOUNCEMENT] New: run2-0.3.0-1

2009-06-16 Thread Corinna Vinschen
On Jun 15 20:27, Charles Wilson wrote: > Angelo Graziosi wrote: > > Perhaps there is a problem on the mirrors: run2 is in the repository but > > setup.ini is dated 20090609, and it does not contain references to run2. > > Confirmed. This is actually a sourceware problem, not a mirror problem. > Th

Re: ioctl(sock, SIOCGIFHWADDR, &ifr) fails with 1.7

2009-06-16 Thread Corinna Vinschen
On Jun 16 11:56, Fr?d?ric Bron wrote: > > I applied a patch to Cygwin which also reports the IPv4 addresses of > > disconnected interfaces, fetching the info from the registry.  It's > > a pity that Windows doesn't correctly report these addresses in the > > official API. > > > > This won't work fo

Re: w32-shell-execute function definition is void

2009-06-16 Thread Ken Brown
On 6/16/2009 4:36 AM, Marc Girod wrote: Mark Fisher-4 wrote: i cannot seem to be able to use/find w32-shell-execute. Same thing on 23.0.92 The error comes e.g. as I do: M-x browse-url I can find the function definition in the C sources: src/w32fns.c but I remember that this object is not lin

Re: Optimize cygwin on recent windows version (Vista and Seven)

2009-06-16 Thread Sisyphus
- Original Message - From: "Edward Lam" Times taken were: Linux : 1.5 mimutes XP (mingw): 6.5 minutes Vista (mingw): 16.5 minutes Vista (cygwin): 23.25 minutes Are these tests on 64-bit or 32-bit Windows? All on 32-bit, except for Vista which is 64-bit. It hadn't really occu

Re: Can I install cygwin from my own setup.ini?

2009-06-16 Thread Pan ruochen
I downloaded and ran cygwin setup-1.7 as followed: .\setup-1.7 -P alternatives;bash;ash;base-files;cygutils;make;gcc;gcc-g++;gcc-mingw;gdb;sed;ed;gawk;findutils;diffutils;popt;tar;gzip;gunzip;bzip2;man;vim;expat;libexpat0;libgmp3;libmpfr1;doxygen;upx;which;file;grep;util-linux;gcc-mingw-g++;make;m

Re: Optimize cygwin on recent windows version (Vista and Seven)

2009-06-16 Thread Vincent R.
On Tue, 16 Jun 2009 00:16:11 -0400 (EDT), "Edward Lam" wrote: > On Mon, June 15, 2009 19:53, Sisyphus wrote: >> Here are some timings I did recently for building the mpc-0.6 library. >> On Vista and XP, (in the same version of the MSYS shell, and using the >> same >> version of MinGW's gcc) I ran:

Re: ioctl(sock, SIOCGIFHWADDR, &ifr) fails with 1.7

2009-06-16 Thread Frédéric Bron
> I applied a patch to Cygwin which also reports the IPv4 addresses of > disconnected interfaces, fetching the info from the registry.  It's > a pity that Windows doesn't correctly report these addresses in the > official API. > > This won't work for IPv6 and IPv6-only interfaces.  I didn't find a

Re: how big is a complete cygwin?

2009-06-16 Thread Frédéric Bron
My full installations use: cygwin 1.5: 3.28 Gb (disk 3.48 Gb) cygwin 1.7: 3.32 Gb (disk 3.52 Gb) Frédéric -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: Garbage man pages

2009-06-16 Thread Marc Girod
Bill McCormick-4 wrote: > > Here's some sample output: > > u9Fman.1Z[waAE~i_NE}2Fg'vHjxD.%9x# OdG FaD'?~eO4(Ex > ... > Writing is easy, reading is hard. Nothing new. Marc -- View this message in context: http://www.nabble.com/Garbage-man-pages-tp23989626p24050746.html Sent from t

Re: w32-shell-execute function definition is void

2009-06-16 Thread Marc Girod
Mark Fisher-4 wrote: > > i cannot seem to be able to use/find w32-shell-execute. > Same thing on 23.0.92 The error comes e.g. as I do: M-x browse-url I can find the function definition in the C sources: src/w32fns.c but I remember that this object is not linked to the cygwin emacs. So, there

Re: [ANNOUNCEMENT] [1.7] Updated: git-1.6.3.1-1, git{k,-gui,-completion,-svn}-1.6.3.1-1

2009-06-16 Thread Ian Kelling
Eric Blake wrote: > > This occurs when cloning via the git: protocol. Can you instead clone > with the http: protocol to work around it? I still haven't had time to > try and figure out why this fails for some repositories, but not others. > I've also noticed this failing for a while now. Using