Re: cygport: latest diffutils issues warning

2009-12-30 Thread Christopher Faylor
On Wed, Dec 30, 2009 at 09:37:27PM -0600, Yaakov (Cygwin/X) wrote: >On 30/12/2009 20:04, Charles Wilson wrote: >> The -u0 syntax has been deprecated, and now causes this message: >> > Checking packages for missing or duplicate files >> diff: `-0' option is obsolete; use `-U 0' >> diff: Try `dif

Re: cygport: latest diffutils issues warning

2009-12-30 Thread Yaakov (Cygwin/X)
On 30/12/2009 20:04, Charles Wilson wrote: The -u0 syntax has been deprecated, and now causes this message: Checking packages for missing or duplicate files diff: `-0' option is obsolete; use `-U 0' diff: Try `diff --help' for more information. diff: `-0' option is obsolete; use `-U 0' diff: T

cygport: latest diffutils issues warning

2009-12-30 Thread Charles Wilson
The -u0 syntax has been deprecated, and now causes this message: >>> Checking packages for missing or duplicate files diff: `-0' option is obsolete; use `-U 0' diff: Try `diff --help' for more information. diff: `-0' option is obsolete; use `-U 0' diff: Try `diff --help' for more information. Fi

Re: 1.7.1: Mintty/bash window start: -bash: regtool: command not found

2009-12-30 Thread Dave Trollope
Hi, I too have seen this behaviour on both my work and home systems. Whats interesting is I ran cygcheck -c on each when exhibiting this problem and it said OK for the cygwin package. Is there a check that needs to be added to cygcheck which reports this as a problem? Or perhaps this is not

Re: Problem with wildcard from Windows

2009-12-30 Thread Christopher Faylor
On Wed, Dec 30, 2009 at 01:30:19PM -0500, Christopher Faylor wrote: >On Wed, Dec 30, 2009 at 05:36:05PM +0100, Bengt Larsson wrote: >>I seem to have a problem with wildcards from the Windows command line >>when there are high-bit characters in a filename. >> >>A directory contains only the two file

Re: "C" compiler is broken under 1.7.1-1

2009-12-30 Thread Paul McFerrin
Now that's been cleared up, I've reinstalled the default package and the C compiler now works. Should have noticed the ps.exe missing is a clue. I'm off to getting PHP installed now. Dave Korn wrote: Paul McFerrin wrote: Dave Korn wrote: File crt0.o is missing. Is it supposed to

Re: cygpath and spaces in filenames when reading from a file

2009-12-30 Thread Christopher Faylor
On Wed, Dec 30, 2009 at 01:18:50PM -0500, Christopher Faylor wrote: >On Wed, Dec 30, 2009 at 01:01:29PM +0100, Corinna Vinschen wrote: >>On Dec 29 17:11, Jon Beniston wrote: >>>cygpath can read a list of paths to convert from a file, when started >>>with -file. However, how do you specify paths wi

Re: Problem with wildcard from Windows

2009-12-30 Thread Christopher Faylor
On Wed, Dec 30, 2009 at 08:17:21PM +0100, Bengt Larsson wrote: >Dave Korn wrote: >>Bengt Larsson wrote: >> >>> Every port of Unix utilities to Windows such as ls, grep and so forth do >>> this globbing internally. >> >> No. Not "every port". Specifically, not Cygwin ones: they get it done for >>

Re: Problem with wildcard from Windows

2009-12-30 Thread Bengt Larsson
Christopher Faylor wrote: >On Wed, Dec 30, 2009 at 05:36:05PM +0100, Bengt Larsson wrote: >>I seem to have a problem with wildcards from the Windows command line >>when there are high-bit characters in a filename. >> >>A directory contains only the two files "user" and "anv?ndare" >>("anv?ndare" be

Re: Problem with wildcard from Windows

2009-12-30 Thread Bengt Larsson
Dave Korn wrote: >Bengt Larsson wrote: > >> Every port of Unix utilities to Windows such as ls, grep and so forth do >> this globbing internally. > > No. Not "every port". Specifically, not Cygwin ones: they get it done for >them, by the shell that launches them, or in fallback cases by the Cygw

Re: cygpath and spaces in filenames when reading from a file

2009-12-30 Thread Mark J. Reed
On Wed, Dec 30, 2009 at 1:18 PM, Christopher Faylor wrote: > That's an option that I added.  I am surprised that it is space delimited > since > I thought I intended to make it newline delimited. It looks pretty intentional - it reads through the input line by line using fgets, but then calls arg

Re: Problem with wildcard from Windows

2009-12-30 Thread Dave Korn
Bengt Larsson wrote: > Every port of Unix utilities to Windows such as ls, grep and so forth do > this globbing internally. No. Not "every port". Specifically, not Cygwin ones: they get it done for them, by the shell that launches them, or in fallback cases by the Cygwin DLL. They don't ha

Re: Problem with wildcard from Windows

2009-12-30 Thread Warren Young
On 12/30/2009 11:33 AM, Bengt Larsson wrote: It doesn't work for echo because "echo" is a builtin in the Windows shell. Okay, imatwit, of course it is. One bug, then. :) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Re: Problem with wildcard from Windows

2009-12-30 Thread Bengt Larsson
Warren Young wrote: >On 12/30/2009 11:16 AM, Larry Hall (Cygwin) wrote: >> On 12/30/2009 01:08 PM, Warren Young wrote: >>> Another thing that doesn't work: >>> >>> c:\> echo W* >> >> Ah, right. So my idea doesn't make sense. Never mind. ;-) > >I think we're looking at two bugs, though. The origina

Re: Problem with wildcard from Windows

2009-12-30 Thread Christopher Faylor
On Wed, Dec 30, 2009 at 05:36:05PM +0100, Bengt Larsson wrote: >I seem to have a problem with wildcards from the Windows command line >when there are high-bit characters in a filename. > >A directory contains only the two files "user" and "anv?ndare" >("anv?ndare" being user in Swedish): > > C:\Do

Re: Problem with wildcard from Windows

2009-12-30 Thread Bengt Larsson
Warren Young wrote: >On 12/30/2009 10:18 AM, Bengt Larsson wrote: >>> Try "noglob" if your shell is not Cygwin-aware. >> >> Eh? The problem is that it doesn't glob when it should. The shell is >> standard CMD.EXE, ie Windows console. > >The behavior you're relying on is a nonstandard Cygwin extens

Re: Problem with wildcard from Windows

2009-12-30 Thread Warren Young
On 12/30/2009 11:16 AM, Larry Hall (Cygwin) wrote: On 12/30/2009 01:08 PM, Warren Young wrote: Another thing that doesn't work: c:\> echo W* Ah, right. So my idea doesn't make sense. Never mind. ;-) I think we're looking at two bugs, though. The original post appears to be about a Unicode

Re: Problem with wildcard from Windows

2009-12-30 Thread Larry Hall (Cygwin)
On 12/30/2009 01:08 PM, Warren Young wrote: Another thing that doesn't work: c:\> echo W* Ah, right. So my idea doesn't make sense. Never mind. ;-) -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalt

Re: Problem with wildcard from Windows

2009-12-30 Thread Christopher Faylor
On Wed, Dec 30, 2009 at 06:20:32PM +, Dave Korn wrote: >Hang on though, isn't there some code in the cygwin dll to do globbing >for just this situation, when you want to launch a cygwin executable >from a non-cygwin context? Yes. cgf -- Problem reports: http://cygwin.com/problems.html

Re: cygpath and spaces in filenames when reading from a file

2009-12-30 Thread Christopher Faylor
On Wed, Dec 30, 2009 at 01:01:29PM +0100, Corinna Vinschen wrote: >On Dec 29 17:11, Jon Beniston wrote: >> Hi, >> >> cygpath can read a list of paths to convert from a file, when started with >> -file. However, how do you specify paths with spaces in them in this mode? >> It seems quoting the path

Re: Problem with wildcard from Windows

2009-12-30 Thread Larry Hall (Cygwin)
On 12/30/2009 01:20 PM, Dave Korn wrote: Thorsten Kampe wrote: * Bengt Larsson (Wed, 30 Dec 2009 18:18:21 +0100) Try "noglob" if your shell is not Cygwin-aware. Eh? The problem is that it doesn't glob when it should. The shell is standard CMD.EXE, ie Windows console. The shell (Cmd) does the

Re: Problem with wildcard from Windows

2009-12-30 Thread Warren Young
On 12/30/2009 10:18 AM, Bengt Larsson wrote: Try "noglob" if your shell is not Cygwin-aware. Eh? The problem is that it doesn't glob when it should. The shell is standard CMD.EXE, ie Windows console. The behavior you're relying on is a nonstandard Cygwin extension which most Cygwin users, I

Re: /var/lib/alternatives/gcc missing for alternatives 1.3.30c

2009-12-30 Thread Dave Korn
Larry Hall (Cygwin) wrote: > On 12/30/2009 08:07 AM, neil.mowb...@calgacus wrote: >> Can someone please provide a valid /var/lib/alternatives/gcc file or link >> me to either it's syntax or the programs source? > > This is created when alternatives runs for gcc. If you're missing it, it > sugges

Re: Problem with wildcard from Windows

2009-12-30 Thread Dave Korn
Thorsten Kampe wrote: > * Bengt Larsson (Wed, 30 Dec 2009 18:18:21 +0100) >>> Try "noglob" if your shell is not Cygwin-aware. >> Eh? The problem is that it doesn't glob when it should. The shell is >> standard CMD.EXE, ie Windows console. > > The shell (Cmd) does the globbing. Describe your proble

Re: Cygwin Apache installation problem

2009-12-30 Thread mtuma
Thank you for your relpy. You were right. I've extracted the tar file onto a different directory and it did worked like a charm. This is a COE system so I might have space issues in the previous folder, as you said. The reason I want to use apache for cygwin is because I need to use cygwin's per

Re: Cygwin Apache installation problem

2009-12-30 Thread Dave Korn
Warren Young wrote: > On 12/30/2009 8:23 AM, mtuma wrote: >> >> checking for APR... reconfig >> configuring package in srclib/apr now >> /bin/sh: /cygdrive/c/Documents: No such file or directory >> configure failed for srclib/apr > > It's clearly barfing on the space in "c:\Documents and Settings"

Re: Problem with wildcard from Windows

2009-12-30 Thread Thorsten Kampe
* Bengt Larsson (Wed, 30 Dec 2009 18:18:21 +0100) > >Try "noglob" if your shell is not Cygwin-aware. > > Eh? The problem is that it doesn't glob when it should. The shell is > standard CMD.EXE, ie Windows console. The shell (Cmd) does the globbing. Describe your problem in a Microsoft newsgroup.

Re: High CPU consumption with git tab completion in zsh

2009-12-30 Thread Thorsten Kampe
* Steven E. Harris (Tue, 29 Dec 2009 21:21:13 -0500) > > I've noticed that using tab completion with git in zsh often causes zsh > to consume 100% of my CPU for around ten minutes before the completion > request completes. The zsh completion commands look rather old: > > , > | % ls -l /usr/sh

Re: Symbolic links problem with cygwin 1.7.1 in 64-bit Win7 Command Prompt

2009-12-30 Thread Larry Hall (Cygwin)
On 12/30/2009 08:30 AM, tuli tanssi wrote: Hi, I've been using gcc and other tools in older versions of cygwin with 32-bit Windows XP and Vista from windows command prompt (cmd.exe) without problems. But now I'm using 64-bit Windows 7, and some command line tools like gcc.exe do not work anymore

Re: /var/lib/alternatives/gcc missing for alternatives 1.3.30c

2009-12-30 Thread Larry Hall (Cygwin)
On 12/30/2009 08:07 AM, neil.mowb...@calgacus.com wrote: Can someone please provide a valid /var/lib/alternatives/gcc file or link me to either it's syntax or the programs source? This is created when alternatives runs for gcc. If you're missing it, it suggests to me that alternatives wasn't

Re: Problem with wildcard from Windows

2009-12-30 Thread Bengt Larsson
>Try "noglob" if your shell is not Cygwin-aware. Eh? The problem is that it doesn't glob when it should. The shell is standard CMD.EXE, ie Windows console. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.

Re: Cygwin Apache installation problem

2009-12-30 Thread Warren Young
On 12/30/2009 8:23 AM, mtuma wrote: checking for APR... reconfig configuring package in srclib/apr now /bin/sh: /cygdrive/c/Documents: No such file or directory configure failed for srclib/apr It's clearly barfing on the space in "c:\Documents and Settings". The question is why it thinks it

Re: Problem with wildcard from Windows

2009-12-30 Thread Larry Hall (Cygwin)
On 12/30/2009 11:36 AM, Bengt Larsson wrote: I seem to have a problem with wildcards from the Windows command line when there are high-bit characters in a filename. A directory contains only the two files "user" and "användare" ("användare" being user in Swedish): C:\Documents and Settings\B

Problem with wildcard from Windows

2009-12-30 Thread Bengt Larsson
I seem to have a problem with wildcards from the Windows command line when there are high-bit characters in a filename. A directory contains only the two files "user" and "användare" ("användare" being user in Swedish): C:\Documents and Settings\Bengt2\Desktop\test\ttt>ls -l total 0 -rw-r--

Re: Can't use key authentication on x64 Server 2003 R2

2009-12-30 Thread Gordon Messmer
On 12/30/2009 12:56 AM, Csaba Raduly wrote: If I understand this correctly, it is the ssh client which quits abruptly. Error 126 is "The notorious error 126 (ERROR_MOD_NOT_FOUND) when loading DLL/DSO's in Win32" (first hit when googling "Win32 error 126"). However, WSAGetLastError is in ws2_32.d

Cygwin Apache installation problem

2009-12-30 Thread mtuma
Hi, I've downloaded last apache stable version (2.0.63) and when I tried to install it on my cygwin is giving me this error: $ ./configure --prefix=/usr/local/apache2 checking for chosen layout... Apache checking for working mkdir -p... yes checking build system type... i686-pc-cygwin checking h

Re: setup 1.7.1 hangs on 000-cygwin-post-install.sh

2009-12-30 Thread Dave Korn
Brian Wilson wrote: > Basically boot in "Safe Mode with Networking" and run setup then select > reinstall on all the base files. For me this got me to the point where I > could get basic Cygwin working again and I could get a command shell > running (sometimes). While this didn't eliminate the

Re: 1.7.1 Install freeze of Cygwin post install.sh

2009-12-30 Thread Dave Korn
Brian Wilson wrote: > Okay here's what worked for me on my home PC. [ ... snip ... ] You don't mention anything about the Cisco VPN client, but according to your cygcheck output it's still installed and (probably) running. That's the reason why cygcheck detects ZoneAlarm; it contains a bundled

RE: Bash v4.0 does not respect $PATH

2009-12-30 Thread Neil.Mowbray
Sorry I missing the last question. To answer it: yes perl really is visible as /opt/perl/bin/perl which bash fails to execute it as the third line below shows. In this shell bash execute cygwin perl on line 5. ls: cannot access /opt/site/bin/perl: No such file or directory ls: cannot access /opt

[OT] RE: Bash v4.0 does not respect $PATH

2009-12-30 Thread Jason Pyeron
Forgot to strip the email addresses, my apologies. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West

RE: Bash v4.0 does not respect $PATH

2009-12-30 Thread Jason Pyeron
> -Original Message- > From: cygwin-ow...@cygwin.com > [mailto:cygwin-ow...@cygwin.com] On Behalf Of > neil.mowb...@calgacus.com > Sent: Wednesday, December 30, 2009 8:38 > To: 'Csaba Raduly'; cygwin@cygwin.com > Subject: RE: Bash v4.0 does not respect $PATH > > As requested the outpu

Re: setup 1.7.1 hangs on 000-cygwin-post-install.sh

2009-12-30 Thread Brian Wilson
I had the same problem and have written up the detailed solution on my own problem thread; but will share it again here. It looks like the issue is the shell is not starting (heap space error) so the installation won't complete it's last steps (which require running shell scripts). Don't know

RE: Bash v4.0 does not respect $PATH

2009-12-30 Thread Neil.Mowbray
As requested the output from perl -e "print $^X;" Bash 3 => c:\opt\perl\bin\perl.exe Bash 4 => /usr/bin/perl As you would expect the program that is actually running. But again Bash 4 is incorrectly getting /usr/bin/perl rather than /opt/perl/bin/perl -Original Message- From: Csaba Radu

Re: gcc4[1.7] printf treats differently a string constant and a character array

2009-12-30 Thread Rodrigo Medina
Hi, Eric Blake on Dec 2009 06:41:33 wrote: >According to Andy Koppe on 12/29/2009 6:30 AM: >>> Remember, POSIX states that any use in a character context of bytes with >>> the 8th-bit set is specifically undefined in the C locale (whether that be >>> C.ASCII or C.UTF-8). >> >> I very much disagre

RE: cygpath and spaces in filenames when reading from a file

2009-12-30 Thread Jason Pyeron
> -Original Message- > From: Behalf Of Mark J. Reed > Sent: Wednesday, December 30, 2009 8:12 > Subject: Re: cygpath and spaces in filenames when reading from a file > > On Wed, Dec 30, 2009 at 7:01 AM, Corinna Vinschen wrote: > > No, it doesn't.  Space is used as the field separator i

Symbolic links problem with cygwin 1.7.1 in 64-bit Win7 Command Prompt

2009-12-30 Thread tuli tanssi
Hi, I've been using gcc and other tools in older versions of cygwin with 32-bit Windows XP and Vista from windows command prompt (cmd.exe) without problems. But now I'm using 64-bit Windows 7, and some command line tools like gcc.exe do not work anymore (from cmd.exe). They do work ok from Cygwin'

Re: Defeated by "alternatives": unison

2009-12-30 Thread Steven E. Harris
Csaba Raduly writes: > You can try reinstalling unison; maybe one of the components of the > symlink chain got "lost" Reinstalling solved the problem. Thanks for the suggestion. -- Steven E. Harris -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin

RE: Bash v4.0 does not respect $PATH

2009-12-30 Thread Neil.Mowbray
Yes I'm certain. Below is a log of the following script #--- script $ echo "bash version = ${BASH_VERSINFO[0]}" $ for i in $(echo $PATH | sed -r -e "s/:/ /g"); do echo $i; done $ which perl $ perl --version $ /bin/bash $ echo "bash version = ${BASH_VERSINFO[0]}" $ for i in $(echo $P

Re: cygpath and spaces in filenames when reading from a file

2009-12-30 Thread Mark J. Reed
On Wed, Dec 30, 2009 at 7:01 AM, Corinna Vinschen wrote: > No, it doesn't.  Space is used as the field separator in the file.  I > assume we need an extension like allowing to specify another separator. > Another one for next year... As a first step, maybe just adding an xargs-style "--null/-0" t

/var/lib/alternatives/gcc missing for alternatives 1.3.30c

2009-12-30 Thread Neil.Mowbray
Dear Folks, The scripts /bin/set-gcc-default-[34].sh are written to use alternatives to install gcc-3 and gcc-4. But /var/lib/alternatives/gcc is missing. I tried to create it using g++ as an example but all functions failed with an error failed to read link /usr/bin/gcc.exe (which is the orgina

Re: cygpath and spaces in filenames when reading from a file

2009-12-30 Thread Corinna Vinschen
On Dec 29 17:11, Jon Beniston wrote: > Hi, > > cygpath can read a list of paths to convert from a file, when started with > -file. However, how do you specify paths with spaces in them in this mode? > It seems quoting the path or using \ doesn't seem to work. E.g: No, it doesn't. Space is used a

Re: "mount -a" has no effect on the cygdrive prefix

2009-12-30 Thread Corinna Vinschen
On Dec 29 16:27, Karl M wrote: > > > Date: Thu, 24 Dec 2009 12:10:47 +0100 > > From: corinna-cygwin > > Subject: Re: "mount -a" has no effect on the cygdrive prefix > > > > On Dec 23 08:32, Karl M wrote: > >> Hi All... > >> > >> With the last 1.7.0 version and with a clean 1.7.1 install on an XP P

Re: Goldstar please (Re: [ANNOUNCEMENT] Updated: xinit-1.2.0-2)

2009-12-30 Thread Andrew Schulman
> On Tue, Dec 29, 2009 at 07:31:07PM -0500, Charles Wilson wrote: > >Yaakov (Cygwin/X) wrote: > >> On 29/12/2009 16:27, Charles Wilson wrote: > >>> Sounds like a good idea, but I wish I'd known this was coming before > >>> wasting time on: > >>> > >>> * Improve checkX behavior when used as

Re: [Patch] chere-1.1-1: fix uninstall from Control Panel

2009-12-30 Thread Dave
Christian Franke wrote: > Uninstalling a chere item from Control Panel does not work if > C:\cygwin\bin is not in Windows default PATH. > The attached patch fixes this. Thanks, I'll apply this. I'm wondering whether I should just nuke that option... Regards, Dave. chere maintainer. -- Probl

Re: 1.7.1: Does 'chere' work with Vista 64b? Can't tell by me.

2009-12-30 Thread Dave
Larry Hall (Cygwin) wrote: > On 12/28/2009 06:23 PM, Lee D. Rothstein wrote: >> Larry Hall (Cygwin) wrote: >>> Lee D. Rothstein wrote: Are you running Vista 64bit? If not, I suspect the registry keys set in Vista 64 are not correct as set by 'chere'. >>> No, actually I'm not, so if you'r

Re: Can't use key authentication on x64 Server 2003 R2

2009-12-30 Thread Csaba Raduly
On Wed, Dec 30, 2009 at 4:56 AM, Gordon Messmer <> wrote: > Since upgrading to Cygwin 1.7, I'm no longer able to use key authentication > on one of several Windows systems.  All of the working systems are 32 bit > installs, the one which isn't working is 64 bit. . > When the client connects, I

Re: Defeated by "alternatives": unison

2009-12-30 Thread Csaba Raduly
On Wed, Dec 30, 2009 at 4:28 AM, Steven E. Harris <> wrote: > Since updating my Cygwin installation to version 1.7, I can no longer > run "unison" from the command line. Unison uses the "alternatives" > facility to select among multiple installed versions. The symbolic links > all look to be set up

Is there anyway to reduce cygwin perl's String memory usage?

2009-12-30 Thread Zhao, Dong
Dear All: Recently our Perl project run into the "Out of memory" issue on Windows Cygwin, while it works well on Linux, after optimized the code ,it still didn't work on Windows Cygwin perl(Because we do a lot of analysis bases on string arrays and hashes) . We found the reason is Cygwin perl us