RE: Weird interaction between Visual C++ and Cygwin

2004-12-10 Thread Gary R. Van Sickle
> If any Cygwin program is running, e.g. a compilation, Visual > C++ takes an incredibly long time to start up. This has been > the case for me for years. *Any* cygwin program? If I just have an rxvt terminal up with bash running, there's no impact on any other apps. > Does anyone know if the

RE: Wrapping long lines (Was Re: FAQ update suggestion for "I'm having basic problems with find. Why?")

2004-12-10 Thread Gary R. Van Sickle
[snip] > I am now using Thunderbird 1.0, which does support format=flowed. > > So *this* message should come out nicely for everyone, both > in e-mail and in the archive, *and* with no extra effort > required on my part. > Hmmm, sehr intressant. Flows fine in Outlook 2003, but I don't know if

Re: cygwin-gcc-fopen bug?

2004-12-10 Thread Lester Ingber
Jim: Hi. On Solaris9 I use leak and there are no leaks, and I see no errors at all. One of the errors on Cywin, using the most Current Cygwin1.dll occurs before any memory is created, ner the top of main(): if ((Portfolio->ptr_err = fopen (infoFile, "a")) == NULL) { ... Now, I do have a

Re: cygwin-gcc-fopen bug?

2004-12-10 Thread Jim Kleckner
Lester Ingber wrote: Jim: Hi. On Solaris9 I use leak and there are no leaks, and I see no errors at all. Valgrind implements an x86 interpreter and, among other things, checks use of uninitialized memory or referencing outside of allocated memory. Dave's conjecture was that the problem was of th

Re: cygwin-gcc-fopen bug? (Purify, valgrind)

2004-12-10 Thread Jim Kleckner
Jim Kleckner wrote: Dave Korn wrote: ... Maybe we should try and port the free open-source equivalent valgrind (http://valgrind.kde.org/) instead? I haven't ever looked at this, but it ought to be possible. I note that you can use (a special variant version of) valgrind to verify win32 apps

Re: cygwin-gcc-fopen bug? (Purify)

2004-12-10 Thread Jim Kleckner
Dave Korn wrote: -Original Message- From: cygwin-owner On Behalf Of Jim Kleckner Sent: 10 December 2004 19:01 We used to use Purify to find these sorts of problems often just by running the program once. Unfortunately for us using cygwin, Purify appears to have moved toward a firm depende

RE: cygwin 5.1 and XP?

2004-12-10 Thread Igor Pechtchanski
On Fri, 10 Dec 2004, Dave Korn wrote: > > -Original Message- > > From: cygwin-owner On Behalf Of Barry Gold > > Sent: 10 December 2004 18:00 > > > I installed CYGWIN_NT-5.1 on Windows XP. It mostly works, > > but there are > > a few anomalies that bother me. > > > > 1. CYGWIN_NT-5.0, whic

Re: sshd in Windows 2003 server

2004-12-10 Thread Larry Hall
At 01:10 PM 12/10/2004, you wrote: >On Fri, Dec 10, 2004 at 12:40:37PM -0500, Larry Hall wrote: >>At 12:34 PM 12/10/2004, you wrote: >>>On Fri, 10 Dec 2004, Brian Dessent wrote: >>> Larry Hall wrote: > > The shortcut for all of that process is to run the below: > > mount -f

Re: Firing up latest zsh with latest cygwin OOPS!

2004-12-10 Thread Andrew Markebo
/ "Peter A. Castro" <[EMAIL PROTECTED]> wrote: | On Tue, 7 Dec 2004, Andrew Markebo wrote: | |> Been messing around with my .zshell initfiles I have noticed that it |> is my configuration of history file that makes it hang. [...] | Commenting out HISTFILE means no history will be written. Are th

RE: cygwin-gcc-fopen bug? (Purify)

2004-12-10 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Jim Kleckner > Sent: 10 December 2004 19:01 > We used to use Purify to find these sorts of problems > often just by running the program once. Unfortunately > for us using cygwin, Purify appears to have moved toward > a firm dependence

Re: cygwin-gcc-fopen bug? (Purify)

2004-12-10 Thread Jim Kleckner
Dave Korn wrote: -Original Message- From: cygwin-owner On Behalf Of Lester Ingber Sent: 10 December 2004 16:14 ... Your code has a bug: a stray pointer or array overwrite that is trashing some memory. The only reason you get away with it on Solaris is by sheer luck; either the stack or h

RE: cygwin 5.1 and XP?

2004-12-10 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Barry Gold > Sent: 10 December 2004 18:00 > I installed CYGWIN_NT-5.1 on Windows XP. It mostly works, > but there are > a few anomalies that bother me. > > 1. CYGWIN_NT-5.0, which I have installed on my Win 2000 > system, displays

Re: Wrapping long lines (Was Re: FAQ update suggestion for "I'm having basic problems with find. Why?")

2004-12-10 Thread William Blunn
I have been doing some reading today, and have come across RFC3676 (which supersedes RFC2646) which describes format=flowed. http://www.faqs.org/rfcs/rfc3676.html A bit of a revelation. format=flowed wasn't what I thought it might be, but it turned out to be much better. It doesn't look that

RE: floppy drive accesses

2004-12-10 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Eric Schweitz > Sent: 10 December 2004 17:56 > To: Cygwin List > Subject: Re: floppy drive accesses > > > My guess is it's some configuration thing as well. But > I'm not sure where to look. I've checked the more obvious > things su

Re: sshd in Windows 2003 server

2004-12-10 Thread Christopher Faylor
On Fri, Dec 10, 2004 at 12:40:37PM -0500, Larry Hall wrote: >At 12:34 PM 12/10/2004, you wrote: >>On Fri, 10 Dec 2004, Brian Dessent wrote: >> >>> Larry Hall wrote: >>> > >>> > The shortcut for all of that process is to run the below: >>> > >>> > mount -f -s -b "/bin" >>> > "/usr/bin" >>> > mount

cygwin 5.1 and XP?

2004-12-10 Thread Barry Gold
I installed CYGWIN_NT-5.1 on Windows XP. It mostly works, but there are a few anomalies that bother me. 1. CYGWIN_NT-5.0, which I have installed on my Win 2000 system, displays the CWD in the title bar. 5.1 does not. I prefer the 5.0 behavior. 2. Problem with cp utility: bgold $ cp foo /tmp cp

Re: floppy drive accesses

2004-12-10 Thread Eric Schweitz
My guess is it's some configuration thing as well. But I'm not sure where to look. I've checked the more obvious things such as PATH settings, /etc files, ... The machine (a DELL) is running Win XP SP2. I'll have to try on another machine... later. I guess I'm just going to pull the drive, since

Re: HELP: Cygwin ruined my WinXP files/HDD"!!!!

2004-12-10 Thread Igor Pechtchanski
On Thu, 9 Dec 2004, KevinGPO wrote: > I got a problem in WindowsXP. I installed some sourcecode to compile using > Cygwin. Now I cannot seem to be able to remove/delete folders/files using the > "rm -Rf" force command in Cygwin. Here is a detailed listing of the > folder/files: > [snip] > Compiled

Re: sshd in Windows 2003 server

2004-12-10 Thread Larry Hall
At 12:34 PM 12/10/2004, you wrote: >On Fri, 10 Dec 2004, Brian Dessent wrote: > >> Larry Hall wrote: >> > >> > The shortcut for all of that process is to run the below: >> > >> > mount -f -s -b "/bin" "/usr/bin" >> > mount -f -s -b "/lib" "/usr/lib" >> > mount -f -s -b "" "/" >> > >> > FWIW, follow

Re: sshd in Windows 2003 server

2004-12-10 Thread Igor Pechtchanski
On Fri, 10 Dec 2004, Brian Dessent wrote: > Larry Hall wrote: > > > > The shortcut for all of that process is to run the below: > > > > mount -f -s -b "/bin" "/usr/bin" > > mount -f -s -b "/lib" "/usr/lib" > > mount -f -s -b "" "/" > > > > FWIW, following the reporting guidelines at > >

Re: sshd in Windows 2003 server

2004-12-10 Thread Brian Dessent
Larry Hall wrote: > > The shortcut for all of that process is to run the below: > > mount -f -s -b "/bin" "/usr/bin" > mount -f -s -b "/lib" "/usr/lib" > mount -f -s -b "" "/" > > FWIW, following the reporting guidelines at > would have given the list this infor

Re: sshd in Windows 2003 server

2004-12-10 Thread Larry Hall
The shortcut for all of that process is to run the below: mount -f -s -b "/bin" "/usr/bin" mount -f -s -b "/lib" "/usr/lib" mount -f -s -b "" "/" FWIW, following the reporting guidelines at would have given the list this information in your initial post. In othe

Re: sshd in Windows 2003 server

2004-12-10 Thread daniel
Thanks Bill, your suggestion did the trick. It wouldn't be a bad idea to remind at /usr/share/doc/Cygwin/openssh.README that sshd only works if cygwin is installed for all users (which is obvious, though) That's what I did to fix it *delete the sshd_server *remove the NT service with "cygrunsrv

P.S.: cygwin-gcc-fopen bug?

2004-12-10 Thread Lester Ingber
P.S. I don't know if this is relevant, but I use sprintf() to prepare a path/file (or path\file using -mno-cygwin, needed for my DLLs) to define dataFile and infoFile below. The dataFile is the char array being mangled under Cygwin. Lester +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

RE: cygwin-gcc-fopen bug?

2004-12-10 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Lester Ingber > Sent: 10 December 2004 16:14 > I have a good-sized vanilla-C code that was running just fine a month > or two ago under XPPro/Cygwin and under SPARC/Solaris9, and STILL runs > just fine under SPARC/Solaris9. > All my o

cygwin-gcc-fopen bug?

2004-12-10 Thread Lester Ingber
I have a good-sized vanilla-C code that was running just fine a month or two ago under XPPro/Cygwin and under SPARC/Solaris9, and STILL runs just fine under SPARC/Solaris9. I've been using the snapshot cygwin1-20041117.dll for my /bin/cygwin1.dll since it was prepared to fix a bug in the now-curre

Re: Environment variables & system privilages

2004-12-10 Thread Benjamin Lindner
>> >> 1. What's the "right" way to add add environment variables into the user >> and system maps? > >Well, that's probably the best you could hope for, if you want system-wide >settings. I'm not aware of any other command-line tool that would set >these. If you only want to set environment varia

Re: floppy drive accesses

2004-12-10 Thread Larry Hall
At 12:30 AM 12/10/2004, you wrote: >No. It doesn't appear in the output from mount. I didn't >change mounts; just ran Setup.exe and got the latest updates. > >--> mount >C:\cygwin\bin on /usr/bin type system (binmode) >C:\cygwin\lib on /usr/lib type system (binmode) >C:\cygwin on / type system (

Re: defaultprograms / setup.exe

2004-12-10 Thread Larry Hall
At 03:05 AM 12/10/2004, you wrote: >Brian Keener thesoftwaresource.com> writes: > >> >> Bruno Schneidhuber wrote: >> > But I didn't find out, where setup.exe reads the default list what to >> > install. >> > Could someone pleas help me? >> > >> This is probably better discussed in cygwin-apps bu

Re: PostgreSQL: Bad system call

2004-12-10 Thread Corinna Vinschen
On Dec 9 23:40, Reini Urban wrote: > Corinna just answered to this problem, which I suspected to be a > cygserver problem, but she said that the caller is responsible for > allocating the msg buffer, so it should be a postgresql problem. > > I'm still scratching my head also, because I'm not re

Re: cygwin, tar, dlt

2004-12-10 Thread Corinna Vinschen
On Dec 10 00:51, David wrote: > i'm trying to TAR to DLT using Cygwin. I'm using the command -b 512, but for > some reason, the Tape will max out at 128bytes. If I use a Windows based TAR > program it works fine at 512. Any suggestions? Thanks I don't know the Windows tar, but the Cygwin tar (co

RE: short fread(), but no ferror/feof

2004-12-10 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Jason Tishler > Sent: 10 December 2004 12:15 > Peter, > > On Fri, Dec 10, 2004 at 11:18:12AM +0100, Peter Astrand wrote: > > However, since my example code > > (http://cygwin.com/ml/cygwin/2004-12/msg00305.html) still fails, > > somet

RE: Cygwin setup via RDP fails

2004-12-10 Thread Dr John Halewood
Peter Åstrand wrote: > I've discovered that it's not possible to install Cygwin on a Terminal > Server via RDP: The installation hangs somewhere between 0% > and 5%. The > installation succeeds if installing from the server console, though. > Known bug? Not to me. I've installed it successfully

Re: short fread(), but no ferror/feof

2004-12-10 Thread Jason Tishler
Peter, On Fri, Dec 10, 2004 at 11:18:12AM +0100, Peter Astrand wrote: > However, since my example code > (http://cygwin.com/ml/cygwin/2004-12/msg00305.html) still fails, > something is still wrong. Is it possible the the "fix" above actually > caused this problem? AFAICT, the problems indicate by

Re: short fread(), but no ferror/feof

2004-12-10 Thread Peter Astrand
On Thu, 9 Dec 2004, Igor Pechtchanski wrote: > > >> I've discovered that fread(ptr, size, nitems, stream) sometimes returns a > > >> value less than "nitems", but does not set feof() nor ferror(). As I > > > > >A simple, compilable test case with results shown on both linux and > > >cygwin would p

Re: defaultprograms / setup.exe

2004-12-10 Thread Bruno Schneidhuber
Brian Keener thesoftwaresource.com> writes: > > Bruno Schneidhuber wrote: > > But I didn't find out, where setup.exe reads the default list what to > > install. > > Could someone pleas help me? > > > This is probably better discussed in cygwin-apps but > > I believe if you look in the setu