ls -lR too slow

2009-03-19 Thread Vinod Gupta
I have a shared folder on my desktop which I have mapped as Z: drive on my laptop. Both machines are running Vista+SP1. My laptop has a recent version of Cygwin. When I do "ls -lR /cygdrive/z" it takes very long. There are only about 700 files on Z: totalling only 100 MB. When I monitor network

Re: ls -lR too slow

2009-03-19 Thread Dave Korn
Vinod Gupta wrote: > When I do "ls -lR /cygdrive/z" it takes very long. > There are only about 700 files on Z: totalling only 100 MB. When I > monitor network counters on laptop, I see that a whopping 90 MB were > downloaded for a payload (file list) of only 60 KB. Out of curiosity, I > did the sa

Re: gcc4: cc

2009-03-19 Thread Dave Korn
Yaakov (Cygwin/X) wrote: > AFAIK there is no reason for a cc *script* Good point! > As for c89/c99, +1 on the script idea; separate versions are definitely > not necessary. Are there supposed to be similar names for the ISO C++ > standards (c++98 and c++0x)? Would be trivial to add on top

Re: 'bash' is not recognized as an internal or external command, operable program or batch file.

2009-03-19 Thread Fabian Cenedese
>> PROBLEM - Still get 'bash' is not recognized as an internal or external >> command. >> >> Any suggestions please? > > Tell us what's going on because we're not mind-readers? > > Actually some of us are. *puts fingers to forehead, closes eyes, frowns >with concentration* I'm getting somethi

NTFS problem with very large files on Vista and Win2008 (ddrescue)

2009-03-19 Thread Christian Franke
Just for Info: Writing very large files to NTFS may fail on Vista and Windows Server 2008: http://support.microsoft.com/kb/957065 This may be the case if ddrescue is used on Cygwin to create an image file of a large disk. Here a problem report from the ddrescue mailing list: http://lists.gnu.

[1.7] /usr/bin no longer in default LD_LIBRARY_PATH

2009-03-19 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 With 1.7, dlopen() no longer automatically searches /usr/bin by default. This was definitely not the case with 1.5, but I don't see any mention of this in the release notes or ChangeLog. Am I missing something here? Yaakov -BEGIN PGP SIGNATU

Want to convert html to rss feeds.

2009-03-19 Thread Hongyi Zhao
Hi all, Are there some tools within cygwin to do the following task: convert html to rss feeds. -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Docume

Re: [1.7] /usr/bin no longer in default LD_LIBRARY_PATH

2009-03-19 Thread Corinna Vinschen
On Mar 19 04:31, Yaakov S wrote: > With 1.7, dlopen() no longer automatically searches /usr/bin by default. > This was definitely not the case with 1.5, but I don't see any mention > of this in the release notes or ChangeLog. Am I missing something here? The default path if LD_LIBRARY_PATH isn't

Re: chere doesn't work anymore with MinTTY

2009-03-19 Thread Corinna Vinschen
On Mar 18 21:27, Andy Koppe wrote: > Corinna Vinschen: > > Accepting `-e command' additionally would make the usage comaptible to > > xterm/rxvt and mintty could be used easier as drop-in replacement... > > Can't say I'm keen on doing that, because it looks like the start of > a slippery slope do

Re: A few cygwin issues, mostly for 1.7

2009-03-19 Thread Corinna Vinschen
http://cygwin.com/acronyms/#PCYMTWLL On Mar 19 00:51, Chris Mirchandani wrote: > 1) cygwin release on site is not easy to match using uname or > cygcheck.exe. e.g. On the site the version is 1.5.25-15 and uname -a > returns "CYGWIN_NT-5.1 Family1-d 1.5.25(0.156/4/2) 2008-06-12 19:34 If you're ru

Re: A few cygwin issues, mostly for 1.7

2009-03-19 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Chris Mirchandani on 3/18/2009 10:51 PM: > First the less significant, maybe dumb, questions. In addition to Corinna's answers, please http://cygwin.com/acronyms/#PCYMTWLL - your long lines are painful to read. > > 5) Any chance we will

Re: under cygwin, zsh cannot run when built against ncurses9-5.7-13

2009-03-19 Thread Corinna Vinschen
On Mar 18 07:13, Dave Korn wrote: > Ah, gottit. The bug happens because the libraries are not quite correctly > constructed. When you add -lm to the link line, you see this in the map file, > in the imports section: > > /usr/lib/gcc/i686-pc-cygwin/4.3.2/libgcc_s.dll.a(d000104.o) > > /usr/lib/

Re: 'bash' is not recognized as an internal or external command, operable program or batch file.

2009-03-19 Thread SystemOverload
All Apologies for the lack of information, it's easy to assume the prospective readers know what your talking about. I have solved my problems, but I'll outline them for you and future readers. I'm running the NetBeans IDE 6.5.1 which I installed no problems. I checked the NetBeans forums for

Re: 'bash' is not recognized as an internal or external command, operable program or batch file.

2009-03-19 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to SystemOverload on 3/19/2009 6:55 AM: > Apologies for the lack of information, it's easy to assume the prospective > readers know what your talking about. I have solved my problems, but I'll > outline them for you and future readers. You

Q: Is anybody here using the CYGWIN=codepage:oem setting?

2009-03-19 Thread Corinna Vinschen
Hi, as the subject says, here's a question I have. So far we have a setting in the $CYGWIN environment variable called "codepage", which allows to switch the codepage used for file names from the ANSI ("codepage:ansi", default) to the OEM character set ("codepage:oem"). In Cygwin 1.7 this is ext

Message during linking

2009-03-19 Thread Eric Lilja
Hi, I have a small utility written in C++ that I made for cygwin 1.5.x and g++ 3.4.4 a few years ago. I just tried to build it under the latest test release of cygwin 1.7 with the latest test release of g++ 4.3.2. First it didn't compile due to a missing include but I remember that one of the t

Re: Message during linking

2009-03-19 Thread Kai Tietz
Hello Eric, > Here's the very simple Makefile that was used: > CXX = g++ > CXXFLAGS = -Wall -Wextra -std=c++98 -pedantic -Werror -c > LDFLAGS = -s -o $(EXEC) Add to your LDFLAGS --enable-auto-import That should remove those warnings for you. Cheers, Kai Regards, i.A. Kai Tietz | (\_/) Thi

Re: Message during linking

2009-03-19 Thread Eric Lilja
Kai Tietz wrote: Hello Eric, Hello Kai and thanks for your swift reply! Here's the very simple Makefile that was used: CXX = g++ CXXFLAGS = -Wall -Wextra -std=c++98 -pedantic -Werror -c LDFLAGS = -s -o $(EXEC) Add to your LDFLAGS --enable-auto-import --enable-auto-import did nothing, ho

Re: Message during linking

2009-03-19 Thread Dave Korn
Eric Lilja wrote: > g++ command_line.o grep.o scanner.o -s -o my_grep.exe > Info: resolving typeinfo for std::runtime_error by linking to > __imp___ZTISt13runtime_error (auto-import) > Info: resolving std::cout by linking to __imp___ZSt4cout (auto-import) > Info: resolving std::cerr by linking t

Re: Message during linking

2009-03-19 Thread Eric Lilja
Dave Korn wrote: It has started to happen now because libstdc++ is a DLL for the first time. We've fixed upstream ld to enable the feature by default and these warnings will disappear in the next binutils release. Ok, sounds great! And the benefits of a libstdc++ as a DLL is reduced code si

Re: Message during linking

2009-03-19 Thread Dave Korn
Eric Lilja wrote: > Dave Korn wrote: >> It has started to happen now because libstdc++ is a DLL for the first >> time. We've fixed upstream ld to enable the feature by default and these >> warnings will disappear in the next binutils release. Hmm, it occurs to me that for the benefit of users w

sshd problems on specific host [1.5.25-15]

2009-03-19 Thread Tom Rodman
Several hours after a reboot with no apparent trigger, sshd stops working - 'ssh localhost' hangs prior to prompt for manual password authentication. For example when trying: ssh -v -v localhost # same issue for ssh HOSTNAME-HERE.FQDN-HERE ## cygwin version and test case: $ date;uname

Re: ls -lR too slow

2009-03-19 Thread Larry Hall (Cygwin)
Dave Korn wrote: Vinod Gupta wrote: When I do "ls -lR /cygdrive/z" it takes very long. There are only about 700 files on Z: totalling only 100 MB. When I monitor network counters on laptop, I see that a whopping 90 MB were downloaded for a payload (file list) of only 60 KB. Out of curiosity, I

Re: A few cygwin issues, mostly for 1.7

2009-03-19 Thread Larry Hall (Cygwin)
On 03/19/2009, Chris Mirchandani wrote: 2) Could the setup.exe version be posted on the web site? We used to do this but then we got all sorts of posts to this list which showed that people didn't understand that this was the version of the 'setup.exe' program and not the version of the Cygwin

Re: sshd problems on specific host [1.5.25-15]

2009-03-19 Thread Larry Hall (Cygwin)
On 03/19/2009, Tom Rodman wrote: This snip from cygcheck.out: Potential app conflicts: ZoneAlarm Personal Firewall Detected: HKLM Registry Key, Named file. is interesting/important!?; but I have searched the entire registry for 'ZoneAlarm', using regedit and have found nothing; also chec

Re: [1.7] /usr/bin no longer in default LD_LIBRARY_PATH

2009-03-19 Thread Yaakov (Cygwin/X)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Corinna Vinschen wrote: > If a DLL can't be found in a given PATH, Cygwin 1.5.25's function > searching for the DLL (get_full_path_of_dll) just left the filename > alone. The following LoadLibrary call then used the default DLL search > order, which

Re: gcc4: cc

2009-03-19 Thread Matthew Woehlke
Yaakov (Cygwin/X) wrote: Are there supposed to be similar names for the ISO C++ standards (c++98 and c++0x)? My guess would be "no"; at least, there isn't anything with near the penetration of 'cc', given that I can name about a half dozen c++ compiler names off the top of my head. -- Matth

Re: Q: Is anybody here using the CYGWIN=codepage:oem setting?

2009-03-19 Thread David Rothenberger
On 3/19/2009 6:09 AM, Corinna Vinschen wrote: > If you've set $LANG to, say, "en_US.UTF-8", Cygwin would use the UTF-8 > charset *iff* the application switched the codepage by calling something > along the lines of `setlocale(LC_ALL, "");'. > An application which does not call setlocale (which mean

Re: [1.7] /usr/bin no longer in default LD_LIBRARY_PATH

2009-03-19 Thread Corinna Vinschen
On Mar 19 11:57, Yaakov S wrote: > Corinna Vinschen wrote: > > From a POSIX perspective it's > > wrong to rely on the default Win32 DLL load order in dlopen() and the > > behaviour of dlopen() in 1.5.25 was a bug rather than a feature. I spoke nonsense here. See below. > > Bottom line is, I'm

Re: Q: Is anybody here using the CYGWIN=codepage:oem setting?

2009-03-19 Thread Corinna Vinschen
On Mar 19 10:33, David Rothenberger wrote: > On 3/19/2009 6:09 AM, Corinna Vinschen wrote: > > If you've set $LANG to, say, "en_US.UTF-8", Cygwin would use the UTF-8 > > charset *iff* the application switched the codepage by calling something > > along the lines of `setlocale(LC_ALL, "");'. > > An

Re: Q: Is anybody here using the CYGWIN=codepage:oem setting?

2009-03-19 Thread David Rothenberger
On 3/19/2009 11:13 AM, Corinna Vinschen wrote: On Mar 19 10:33, David Rothenberger wrote: On 3/19/2009 6:09 AM, Corinna Vinschen wrote: If you've set $LANG to, say, "en_US.UTF-8", Cygwin would use the UTF-8 charset *iff* the application switched the codepage by calling something along the lines

Re: Q: Is anybody here using the CYGWIN=codepage:oem setting?

2009-03-19 Thread Corinna Vinschen
On Mar 19 11:48, David Rothenberger wrote: > On 3/19/2009 11:13 AM, Corinna Vinschen wrote: >> On Mar 19 10:33, David Rothenberger wrote: >>> On 3/19/2009 6:09 AM, Corinna Vinschen wrote: If you've set $LANG to, say, "en_US.UTF-8", Cygwin would use the UTF-8 charset *iff* the application

Re: Q: Is anybody here using the CYGWIN=codepage:oem setting?

2009-03-19 Thread Corinna Vinschen
On Mar 19 20:20, Corinna Vinschen wrote: > On Mar 19 11:48, David Rothenberger wrote: > >> Not exactly. However, assuming you have a file using characters which > >> are not in your current ANSI codeset, then you could only manipulate > >> that file when setting LANG="xx_YY.UTF-8", and only in app

Re: Q: Is anybody here using the CYGWIN=codepage:oem setting?

2009-03-19 Thread David Rothenberger
On 3/19/2009 12:22 PM, Corinna Vinschen wrote: On Mar 19 20:20, Corinna Vinschen wrote: On Mar 19 11:48, David Rothenberger wrote: Not exactly. However, assuming you have a file using characters which are not in your current ANSI codeset, then you could only manipulate that file when setting L

Re: Q: Is anybody here using the CYGWIN=codepage:oem setting?

2009-03-19 Thread Eric Blake
Corinna Vinschen cygwin.com> writes: > > > I have no idea whether du calls setlocale() or not. It, and all the other coreutils, do call setlocale. Pretty much any application that ships with *.mo files does so (that is, any application that used gettext). > > ...unless Cygwin itself would c

Re: Q: Is anybody here using the CYGWIN=codepage:oem setting?

2009-03-19 Thread Corinna Vinschen
On Mar 19 19:41, Eric Blake wrote: > Corinna Vinschen cygwin.com> writes: > > ...unless Cygwin itself would call setlocale(). > > I'm not a fan of that. POSIX is explicit that an application that > intentionally avoids calling setlocale() shall behave as though it had called > setlocale(LC_ALL

Re: Q: Is anybody here using the CYGWIN=codepage:oem setting?

2009-03-19 Thread Corinna Vinschen
On Mar 19 21:11, Corinna Vinschen wrote: > On Mar 19 19:41, Eric Blake wrote: > > Corinna Vinschen cygwin.com> writes: > > > ...unless Cygwin itself would call setlocale(). > > > > I'm not a fan of that. POSIX is explicit that an application that > > intentionally avoids calling setlocale() sha

Re: ls -lR too slow

2009-03-19 Thread Vinod Gupta
Dave Korn wrote: Vinod Gupta wrote: When I do "ls -lR /cygdrive/z" it takes very long. There are only about 700 files on Z: totalling only 100 MB. When I monitor network counters on laptop, I see that a whopping 90 MB were downloaded for a payload (file list) of only 60 KB. Out of curiosity, I

Re: ls -lR too slow

2009-03-19 Thread Larry Hall (Cygwin)
On 03/19/2009, Vinod Gupta wrote: "smbntsec" made a huge difference, a factor of 10x! "ls -lR /cygdrive/z" still transferred 10 MB, 50x more than "DIR /S Z:" but far better than 400x it was doing with "nosmbntsec". It improves rsync too which does some thing similar to "ls -lR" to get file mtim

Re: syslog-ng: some packaging glitches

2009-03-19 Thread Julio Emanuel
On Thu, Mar 19, 2009 at 18:29, Corinna Vinschen wrote: > On Mar 19 16:36, Julio Emanuel wrote: >> Hi Corinna (I think this is with you), > > Nevertheless, this is the wrong mailing list.  Next time, please report > problems always to the cygwin AT cygwin dot com ML, except you're a > package mainta

Cannot find SSH in the installer ?

2009-03-19 Thread Aaron Gray
Hi, I cannot find SSH in the Cygwin installer, I am pretty sure it used to be there ? Help, Aaron -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ:

Re: Cannot find SSH in the installer ?

2009-03-19 Thread Christopher Faylor
On Fri, Mar 20, 2009 at 02:25:15AM -, Aaron Gray wrote: >I cannot find SSH in the Cygwin installer, I am pretty sure it used to >be there ? "openssh" cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: Cannot find SSH in the installer ?

2009-03-19 Thread Aaron Gray
Sorry what catagory ? Aaron - Original Message - From: "Christopher Faylor" To: Sent: Friday, March 20, 2009 2:27 AM Subject: Re: Cannot find SSH in the installer ? On Fri, Mar 20, 2009 at 02:25:15AM -, Aaron Gray wrote: I cannot find SSH in the Cygwin installer, I am pretty

Re: Cannot find SSH in the installer ?

2009-03-19 Thread Aaron Gray
Net ! Sorry for being annoying ! Aaron - Original Message - From: "Christopher Faylor" To: Sent: Friday, March 20, 2009 2:27 AM Subject: Re: Cannot find SSH in the installer ? On Fri, Mar 20, 2009 at 02:25:15AM -, Aaron Gray wrote: I cannot find SSH in the Cygwin installer,