Re: ncurses problem

2004-04-14 Thread Jim Strathmeyer
From: "Larry Hall" <[EMAIL PROTECTED]> > At 10:48 PM 4/13/2004, you wrote: > > >I'm having problems compiling a c++ program with ncurses. When it links I > >get this message: > There's dozens of packages in the distribution that use ncurses. Just look > at the setup.ini file in the directory you

zsh and cygwin

2004-04-14 Thread Daniel Clausen
Hi I'm a zsh-user since like forever and use cygwin for a several years now. Every now and then when I made an update to my cygwin-environment (on an Win2k platform with NTFS) I had issues with the newest version when it came to running make. It either looped forever or just hung somewhere. I usu

Problem with gzip

2004-04-14 Thread Alex Vinokur
Hi, I have a problem with gzip. Windows 2000 Professional Cygwin 1.5.5(0.94/3/2) gzip 1.3.5 (2002-09-30) guzip 1.3.5 (2002-09-30) - $ gunzip logs.tar.gz gunzip: logs.tar.gz: invalid compressed data--crc error gunzip: logs.tar.gz

Re: reentrant functions

2004-04-14 Thread Corinna Vinschen
I just had a look into this again. On Apr 9 19:18, Bas van Gompel wrote: > Ok then, another try... > > Candidates getgrgid_r, getgrnam_r and getlogin_r are not > implemented. I'm wondering a bit about getgrgid_r and getgrnam_r. As you noted below, we have getpwnam_r and getpwuid_r so why did n

Re: proposed sync() patch

2004-04-14 Thread Corinna Vinschen
This patch isn't a trivial patch so it requires a copyright assignment. See http://cygwin/com/contrib.html for details. Corinna P.S.: I'm still not convinced, though, that it's actually necessary to implement anything in sync. Also, why only drives with drive letters? What about drives which are

RE: Does anyone know how to invoke a bash process via a dos batch program so commands after bash execute?

2004-04-14 Thread Hughes, Bill
> Sent: 13 April 2004 19:33 From: Igor Pechtchanski > > Does anyone know how to invoke a bash process via a dos > batch program so > > commands after bash execute? > > Do you want to wait for bash to finish or not? See below. ..snip.. > The batch file called from a batch file is a red herring

RE: Comparative Performance of C++ Compilers (including gcc cygming special)

2004-04-14 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Frédéric L. W. Meunier > Sent: 14 April 2004 07:35 > Anyway, does anybody know if GCC in Cygwin is compiled with > --disable-checking ? gcc -v didn't return it, so it doesn't > look like. It seems using it causes compilation times to >

RE: proposed sync() patch

2004-04-14 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Dmitry Karasik > Sent: 13 April 2004 23:05 > ChangeLog: > > 2004-13-04 Dmitry Karasik <[EMAIL PROTECTED]> > > * syscalls.cc: Implement sync() for letter-mapped drives Just a couple of style suggestions for your consideratio

Re: proposed sync() patch

2004-04-14 Thread Corinna Vinschen
On Apr 14 11:14, Dave Korn wrote: > and GNU coding style would be > > +static int > +sync_drive (char drive) > > which is probably the more appropriate here. GNU coding style is what we're trying to follow. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to C

1.5.9-1: socket() appears NOT to be thread-safe

2004-04-14 Thread Enzo Michelangeli
While porting to Cygwin the Linux application "sipd" (http://www.sxdesign.com/index.php?page=developer&submnu=sipd ), which uses pthreads, I noticed that socket() calls issued concurrently by several threads often failed, with strerror(errno) saying "operation not permitted". Once I protected all t

co-linux

2004-04-14 Thread Pinhas Krengel
I have just read about beta release of co-linux (linux on windows). Is this product going to kill cygwin. What will be the benefits of using cygwin in that case. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentati

RE: co-linux

2004-04-14 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Pinhas Krengel > Sent: 14 April 2004 13:51 > I have just read about beta release of co-linux (linux on > windows). Is this > product going to kill cygwin. > What will be the benefits of using cygwin in that case. Having a Unix-ali

Re: 1.5.9-1: socket() appears NOT to be thread-safe

2004-04-14 Thread Corinna Vinschen
On Apr 14 18:42, Enzo Michelangeli wrote: > While porting to Cygwin the Linux application "sipd" > (http://www.sxdesign.com/index.php?page=developer&submnu=sipd ), which > uses pthreads, I noticed that socket() calls issued concurrently by > several threads often failed, with strerror(errno) saying

Re: co-linux

2004-04-14 Thread Jan Nieuwenhuizen
Dave Korn writes: >> What will be the benefits of using cygwin in that case. > > Having a Unix-alike, rather than a Linux-alike, for one. Yah, Unix was so much cooler than Linux. Don't we all pine for those times, where we would make all kinds of interesting workarounds for non-POSIX compliant

RE: co-linux

2004-04-14 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Jan Nieuwenhuizen > Sent: 14 April 2004 14:26 > Dave Korn writes: > > >> What will be the benefits of using cygwin in that case. > > > > Having a Unix-alike, rather than a Linux-alike, for one. > > Yah, Unix was so much cooler than

Re: co-linux

2004-04-14 Thread Christopher Faylor
On Wed, Apr 14, 2004 at 02:50:42PM +0200, Pinhas Krengel wrote: >I have just read about beta release of co-linux (linux on windows). Is this >product going to kill cygwin. No. >What will be the benefits of using cygwin in that case. Having a nicely integrated UNIX environment. Colinux just allo

Re: ncurses problem

2004-04-14 Thread Larry Hall
At 03:01 AM 4/14/2004, you wrote: >From: "Larry Hall" <[EMAIL PROTECTED]> >> At 10:48 PM 4/13/2004, you wrote: >> >> >I'm having problems compiling a c++ program with ncurses. When it links I >> >get this message: >> There's dozens of packages in the d

Re: zsh and cygwin

2004-04-14 Thread Larry Hall
At 03:28 AM 4/14/2004, you wrote: >Hi > >I'm a zsh-user since like forever and use cygwin for a several years >now. Every now and then when I made an update to my cygwin-environment >(on an Win2k platform with NTFS) I had issues with the newest >version when it came to running make. It either loope

Re: Gold stars for an anonymous contributor

2004-04-14 Thread Christopher Faylor
On Fri, Apr 09, 2004 at 10:19:43AM +0200, Ralf Habacker wrote: >After looking at the gold star list and for what the gold stars are >given, I'm wondering why the initiator of the /proc interface is not >listed. Just a question. I guess it must be the WJM principal. What else could it possibly be

Re: Problem with gzip

2004-04-14 Thread Christopher Faylor
On Wed, Apr 14, 2004 at 10:29:54AM +0300, Alex Vinokur wrote: >Hi, > >I have a problem with gzip. > > >Windows 2000 Professional >Cygwin 1.5.5(0.94/3/2) >gzip 1.3.5 (2002-09-30) >guzip 1.3.5 (2002-09-30) > > >- >$ gunzip logs.tar.gz >

RE: Problem with gzip

2004-04-14 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Christopher Faylor > Sent: 14 April 2004 15:36 > How about some *details* about how you made the suspect logs.tar.gz > file. He made it by taking a valid .gz file and running it through u2d! Or perhaps some accident with textmode m

Re: zsh and cygwin

2004-04-14 Thread Daniel Clausen
On Wednesday, April 14, 2004, at 04:25PM, Larry Hall <[EMAIL PROTECTED]> wrote: [snip] >>Most of my co-workers already switched to using bash, since there never >>was an issue with it. Now I could do that too but I love zsh. ;) >> >>Anyone else experiencing this? Comments? Ideas? Shrieking epitap

RE: Problem with gzip

2004-04-14 Thread Larry Hall
At 10:57 AM 4/14/2004, you wrote: >> -Original Message- >> From: cygwin-owner On Behalf Of Christopher Faylor >> Sent: 14 April 2004 15:36 > >> How about some *details* about how you made the suspect logs.tar.gz >> file. > > He made it by taking a valid .gz file and running it through u2d!

Re: zsh and cygwin

2004-04-14 Thread Larry Hall
At 11:15 AM 4/14/2004, you wrote: >On Wednesday, April 14, 2004, at 04:25PM, Larry Hall <[EMAIL PROTECTED]> wrote: >[snip] > >>>Most of my co-workers already switched to using bash, since there never >>>was an issue with it. Now I could do that too b

RE: Problem with gzip

2004-04-14 Thread Dave Korn
> -Original Message- > From: Larry Hall > Sent: 14 April 2004 16:16 > >> The above errors seem to indicate that gzip is correctly > >> detecting a damaged .gz file. > > > > Absolutely so. Every $0a byte got a bogus $0d prepended > to it. No wonder > >it wouldn't unpack! > > > Yeah?

RE: Unable to get CRON to work

2004-04-14 Thread Harig, Mark
> -Original Message- > Sent: Monday, April 12, 2004 5:52 PM > To: '[EMAIL PROTECTED]' > Subject: Unable to get CRON to work > > > Cygwin Support, > > I have done a new installation of cygwin into the C:\cygwin > folder. CRON > does not seem to be waking up and executing the crontab.

Re: Problem with gzip

2004-04-14 Thread Brian Ford
On Wed, 14 Apr 2004, Alex Vinokur wrote: > I have a problem with gzip. [snip] > Cygwin 1.5.5(0.94/3/2) [snip] > $ gunzip logs.tar.gz > > gunzip: logs.tar.gz: invalid compressed data--crc error > > gunzip: logs.tar.gz: invalid compressed data--length error http://www.cygwin.com/ml/cygwin-announce/

Re: zsh and cygwin

2004-04-14 Thread Peter A. Castro
On Wed, 14 Apr 2004, Larry Hall wrote: > At 11:15 AM 4/14/2004, you wrote: > >On Wednesday, April 14, 2004, at 04:25PM, Larry Hall <[EMAIL PROTECTED]> wrote: > > > > >[snip] > > > >>>Most of my co-workers already switched to using bash, since there never

RE: Comparative Performance of C++ Compilers (including gcc cygming special)

2004-04-14 Thread Frédéric L. W. Meunier
On Wed, 14 Apr 2004, Dave Korn wrote: > > From: cygwin-owner On Behalf Of Frédéric L. W. Meunier > > Sent: 14 April 2004 07:35 > > > Anyway, does anybody know if GCC in Cygwin is compiled with > > --disable-checking ? gcc -v didn't return it, so it doesn't > > look like. It seems using it causes c

Re: 1.5.9-1: socket() appears NOT to be thread-safe

2004-04-14 Thread Brian Ford
On Wed, 14 Apr 2004, Enzo Michelangeli wrote: > While porting to Cygwin the Linux application "sipd" > (http://www.sxdesign.com/index.php?page=developer&submnu=sipd ), which > uses pthreads, I noticed that socket() calls issued concurrently by > several threads often failed, with strerror(errno) s

cygwin install failing at download/progress stage

2004-04-14 Thread Ben
Hi, I am trying to reinstall cygwin after an upgrade to XP. I run setup to install from the internet (DSL) and get a list of the ftp sites but regardless of which one I choose it freezes at the download window never changing from the "Connecting..." message. An error window titled "Internet Error"

Reformatting C/C++/Java code (RE: proposed sync() patch)

2004-04-14 Thread Hannu E K Nevalainen
> From: Corinna Vinschen > On Apr 14 11:14, Dave Korn wrote: > > and GNU coding style would be > > > > +static int > > +sync_drive (char drive) > > > > which is probably the more appropriate here. > > GNU coding style is what we're trying to follow. > > Corinna i.e: $ indent -gnu read more

Re: compilation with -mno-cygwin

2004-04-14 Thread Hans Horn
Hi Chris, I have no used mingw per se for this. I just happened to have a spare time slot when I was reading the posting about the compiler performance comparison. So I simply added -mno-cygwin to the compile flags used to compile my sources (which btw, don't use anything cygwin specific - I think

Re: co-linux

2004-04-14 Thread Sam Steingold
> * Dave Korn <[EMAIL PROTECTED]> [2004-04-14 12:55:10 +0100]: > >> I have just read about beta release of co-linux (linux on >> windows). Is this product going to kill cygwin. What will be the >> benefits of using cygwin in that case. > > Having a Unix-alike, rather than a Linux-alike, for one.

Re: Reformatting C/C++/Java code (RE: proposed sync() patch)

2004-04-14 Thread Robert Collins
On Thu, 2004-04-15 at 04:29, Hannu E K Nevalainen wrote: > Assuming you do not use strange formatting/style - the > output of indent will be perfectly acceptable, I presume. indent breaks nastily on C++. - it appears to work, but actually gets a number of things wrong. Just FYI. Rob -- GPG key

someone just for you

2004-04-14 Thread Sidney Lanier
Dating in your area http://www.dateto.com/confirm/?oc=52979231 We have someone for you http://www.findingsite.com/x/?oc=52971007 Whoever you trust controls your future Your significance is not in you similarity to another but in your point of difference from another. Less is the first step

df reports negative values on Network Shares

2004-04-14 Thread Carl Peto
I had exactly the same problem as Thomas... $ df -h FilesystemSize Used Avail Use% Mounted on C:\Program Files\Borland\Interbase 1.0G -64Z 37M 101% /opt/interbase C:\cygwin\usr\X11R6\lib\X11\fonts 1.0G -64Z 37M 101% /usr/X11R6/lib/X11/

Re: df reports negative values on Network Shares

2004-04-14 Thread Larry Hall
At 02:55 PM 4/14/2004, you wrote: >I had exactly the same problem as Thomas... > >$ df -h >FilesystemSize Used Avail Use% Mounted on >C:\Program Files\Borland\Interbase > 1.0G -64Z 37M 101% /opt/interbase >C:\cygwin\usr\X11R6\lib\X11\fonts >

Re: cygwin install failing at download/progress stage

2004-04-14 Thread Larry Hall
At 02:27 PM 4/14/2004, you wrote: >Hi, > >I am trying to reinstall cygwin after an upgrade to XP. I run setup to >install from the internet (DSL) and get a list of the ftp sites but >regardless of which one I choose it freezes at the download window never >changing from the "Connecting..." message.

Re: cygwin install failing at download/progress stage

2004-04-14 Thread cygwin . temp1 . benalt
Larry Hall - [EMAIL PROTECTED] wrote: At 02:27 PM 4/14/2004, you wrote: I am trying to reinstall cygwin after an upgrade to XP. I run setup to install from the internet (DSL) and get a list of the ftp sites but regardless of which one I choose it freezes at the download window never changing fr

RE: co-linux

2004-04-14 Thread DePriest, Jason R.
>-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pinhas Krengel >Sent: Wednesday, April 14, 2004 7:51 AM >To: [EMAIL PROTECTED] >Subject: co-linux > > >I have just read about beta release of co-linux (linux on windows). Is this >product going to kill cygwi

Re: cygwin install failing at download/progress stage

2004-04-14 Thread Larry Hall
At 03:34 PM 4/14/2004, you wrote: >Larry Hall - [EMAIL PROTECTED] wrote: >>At 02:27 PM 4/14/2004, you wrote: >> >> >>>I am trying to reinstall cygwin after an upgrade to XP. I run setup to >>>install from the internet (DSL) and get a list of the ftp s

permission problems (and more)

2004-04-14 Thread none none
Running cygwin (on Windows 2000) for a few months, and finally decided that I wanted sshd and cron activated. Logged on as administrator and did: cron: cygrunsrv -I cron -p /bin/cron -a -D sshd: run the ssh-host-config script and answer the questions (I read several tutorials that all said about

Re: permission problems (and more)

2004-04-14 Thread Larry Hall
At 04:43 PM 4/14/2004, you wrote: >Running cygwin (on Windows 2000) for a few months, and >finally decided that I wanted sshd and cron activated. > >Logged on as administrator and did: > >cron: >cygrunsrv -I cron -p /bin/cron -a -D > >sshd: >run the ssh-host-config script and answer the questions (

Re: cygwin install failing at download/progress stage

2004-04-14 Thread cygwin . temp1 . benalt
Larry Hall - [EMAIL PROTECTED] wrote: get_url_to_membuf failed! 2004/03/24 00:48:36 mbox note: Unable to get setup.ini from 2004/03/24 00:48:41 site: ftp://ftp.easynet.be/cygwin get_url_to_membuf ftp://ftp.easynet.be/cygwin/setup.bz2 getUrlToStream ftp:/

ls gets lost in /proc/registry

2004-04-14 Thread Buchbinder, Barry (NIH/NIAID)
I did an ls -R through /proc/registry. When ls hit the mount table, with cygdrive = / , it got lost, thought the / entry was the root directory, and went to / before continuing with the rest of /proc/registry. I don't know if this is a bug, feature, quirk, "by design", or "none of the above", but

RE: co-linux

2004-04-14 Thread Buchbinder, Barry (NIH/NIAID)
> * Dave Korn <[EMAIL PROTECTED]> [2004-04-14 12:55:10 +0100]: > >> I have just read about beta release of co-linux (linux on >> windows). Is this product going to kill cygwin. What will be the >> benefits of using cygwin in that case. > > Having a Unix-alike, rather than a Linux-alike, for one.

Re: ls gets lost in /proc/registry

2004-04-14 Thread Christopher Faylor
On Wed, Apr 14, 2004 at 06:35:45PM -0400, Buchbinder, Barry (NIH/NIAID) wrote: >I did an ls -R through /proc/registry. When ls hit the mount table, with >cygdrive = / , it got lost, thought the / entry was the root directory, and >went to / before continuing with the rest of /proc/registry. Known

Re: co-linux

2004-04-14 Thread Alejandro Lopez-Valencia
On Wed, 14 Apr 2004 14:34:09 -0400, Sam Steingold wrote in <[EMAIL PROTECTED]>: >This is confusing. >Unix is a class of OSes. >Linux is an instance of that class. >The syntax of your sentence implies that, when you say Unix, you mean >an instance, not the class. Which instance? SCO UNIX? AIX?

Re: cygwin install failing at download/progress stage

2004-04-14 Thread Larry Hall
At 05:22 PM 4/14/2004, you wrote: >Larry Hall - [EMAIL PROTECTED] wrote: Didn't I mention about this last time? >>>get_url_to_membuf failed! >>>2004/03/24 00:48:36 mbox note: Unable to get setup.ini from >>>

Re: 1.5.9-1: socket() appears NOT to be thread-safe

2004-04-14 Thread Enzo Michelangeli
- Original Message - From: "Brian Ford" <[EMAIL PROTECTED]> To: "Enzo Michelangeli" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, April 15, 2004 1:05 AM Subject: Re: 1.5.9-1: socket() appears NOT to be thread-safe > On Wed, 14 Apr 2004, Enzo Michelangeli wrote: > > > While p

Re: cygwin install failing at download/progress stage

2004-04-14 Thread cygwin . temp1 . benalt
Didn't I mention about this last time? Eeks - sorry. I missed it amongst the response and skipped over it. I have to make a transition from newsgroup to listserver. (Wish there was an English newsgroup for this too) That's the log from a failed

Re: cygwin install failing at download/progress stage

2004-04-14 Thread Christopher Faylor
On Wed, Apr 14, 2004 at 11:38:37PM -0400, [EMAIL PROTECTED] wrote: >(Wish there was an English newsgroup for this too) There is an unofficial newsgroup gateway for this mailing list. See the main cygwin web page for a link. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: 1.5.9-1: socket() appears NOT to be thread-safe

2004-04-14 Thread Enzo Michelangeli
I wrote: - Original Message - From: "Enzo Michelangeli" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: ""Brian Ford"" <[EMAIL PROTECTED]> Sent: Thursday, April 15, 2004 11:16 AM Subject: Re: 1.5.9-1: socket() appears NOT to be thread-safe [...] > By the way, even in case of no error the

Re: 1.5.9-1: socket() appears NOT to be thread-safe

2004-04-14 Thread Christopher Faylor
On Thu, Apr 15, 2004 at 11:16:03AM +0800, Enzo Michelangeli wrote: >What I can do for the time being is to provide the testcase that Corinna >asked for (attached below). Here are the results: I can duplicate the behavior noted here. I sent Corinna a patch in private email. I'm not thrilled with

Re: cat: snapshot 20040409 cures problem

2004-04-14 Thread Jos Backus
On Mon, Apr 12, 2004 at 07:06:21AM +0100, [EMAIL PROTECTED] wrote: > The current cygwin-1.5.9 and snapshots up to 20040406 have exhibited an > intermittent problem with cat: the error msg "input file is output file" has > been presented during a long sequence > > cat f.1 f.2 f.3 ... f.n > f.

Re: cygwin install failing at download/progress stage

2004-04-14 Thread Robert Collins
On Thu, 2004-04-15 at 04:27, Ben wrote: > Hi, > > I am trying to reinstall cygwin after an upgrade to XP. Did you reinstall windows, or do an in-place upgrade? If it was in-place, your cygwin install should have just kept working... If its not working, or if you deleted it, you'll need to repair