Re: setup-1.7: Wrong install directory

2009-06-16 Thread Corinna Vinschen
On Jun 12 10:30, Georg Blaschke wrote: Hi, When installing cygwin (1.7) on a Windows XP machine without administrator rights the root directory is ignored when extracting the cygwin packages. All packages are extracted to C:\cygwin instead. I found the bug. The basic problem was that a

winsup/cygwin ChangeLog fhandler.cc

2009-06-16 Thread cgf
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: c...@sourceware.org 2009-06-16 19:05:43 Modified files: cygwin : ChangeLog fhandler.cc Log message: * fhandler.cc (fhandler_base::read_overlapped): Preserve len when looping due to received

winsup/cygwin ChangeLog fhandler.cc

2009-06-16 Thread cgf
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: c...@sourceware.org 2009-06-16 20:33:50 Modified files: cygwin : ChangeLog fhandler.cc Log message: * fhandler.cc (fhandler_base::read_overlapped): Use a better variable name. Patches:

Re: how big is a complete cygwin?

2009-06-16 Thread Fergus
I guess the answer depends a bit on cluster size but discounting /home/ and /usr/local/ (you will need to make your own allowances) I get Cygwin [1.5] = 4560M Cygwin [1.7] = 4714M so neither fits on a 4G stick any more. Fergus -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

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

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: 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 the

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: 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: 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 edw...@sidefx.com 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)

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

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

2009-06-16 Thread Sisyphus
- Original Message - From: Edward Lam edw...@sidefx.com 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

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

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 for IPv6 and

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. The last

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! Marc --

[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

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-mingw32ce.sh -j2

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, not a

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 ir0nh...@gmail.com 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 an

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 Enter type ^Z, type bg Enter or fg Enter And it will display cat: -: Bad address Could you please try to reproduce it? --

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 a

Re: job control Bad address error

2009-06-16 Thread Eric Blake
Haojun Bao baohaojun at gmail.com writes: type the command: cat|cat Enter type ^Z, type bg Enter 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

Re: job control Bad address error

2009-06-16 Thread Corinna Vinschen
On Jun 16 15:28, Eric Blake wrote: Haojun Bao baohaojun at gmail.com writes: type the command: cat|cat Enter type ^Z, type bg Enter 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: [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 be just a visual

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 kbrown at cornell dot edu 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

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

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

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 kbrown at cornell dot edu 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

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

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

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 domain

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

2009-06-16 Thread Sisyphus
- Original Message - From: Chris Sutcliffe ir0nh...@gmail.com 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

[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: 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 live in

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 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 versions. You

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. I

[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

[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