Re: Problems with Windows threads and cygwin sleep()

2005-08-24 Thread Raul Metsma
Sorry no Makefile based project, but in Visual C http://rtedev.com/~raul/threads/Threads.zip Now when I execute this program and run some amount threads (like 600) and then run the "while(1) sleep(1);", which is compiled under cygwin, then the first program will use 100% CPU. Actually my CPU usag

[ANNOUNCEMENT] New packages: docbook-xml412, docbook-xml44

2005-08-24 Thread Marcel Telka
docbook-xml412 package contains Docbook XML DTD version 4.1.2 as published by OASIS. docbook-xml44 package contains Docbook XML DTD version 4.4 as published by OASIS. To install this package, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to yo

Re: please try latest snapshot

2005-08-24 Thread Christopher Faylor
On Wed, Aug 24, 2005 at 06:05:31PM +, Eric Blake wrote: >I'm having a problem with the 20050824 snapshot. execl() and friends >are in violation of POSIX, which requires EACCESS (pathname is not >regular file and cannot be executed) or ENOEXEC (pathname is not >executable i

Re: Please try a snapshot - complete request

2005-08-24 Thread Christopher Faylor
[pasted from another thread] On Wed, Aug 24, 2005 at 09:48:42AM -0700, David Rothenberger wrote: Content-Description: message body and .signature >I'm having a problem with the 20050824 snapshot. Running "procps -ef" >

Re: Please try a snapshot - complete request

2005-08-24 Thread Christopher Faylor
[pasted from another thread] On Thu, Aug 25, 2005 at 02:13:23AM +0200, Samuel Thibault wrote: >Christopher Faylor, le Wed 24 Aug 2005 00:49:55 -0400, a ?crit : >> On Tue, Aug 23, 2005 at 10:51:44PM +0200, Samuel Thibault wrote: >> >The attached program doesn't work as expected: if I run it and try

Re: threads and signals

2005-08-24 Thread Christopher Faylor
On Thu, Aug 25, 2005 at 02:13:23AM +0200, Samuel Thibault wrote: >Christopher Faylor, le Wed 24 Aug 2005 00:49:55 -0400, a ?crit : >> On Tue, Aug 23, 2005 at 10:51:44PM +0200, Samuel Thibault wrote: >> >The attached program doesn't work as expected: if I run it and try to >> >kill it (-15), nothing

Re: Install: setup behavior on downloading only

2005-08-24 Thread Larry Hall
At 07:01 PM 8/24/2005, you wrote: >I am trying to do a Download Without Install to place everything >I want onto a CD. > >I have several questions.. > >1. When downloading only, what does the "Uninstall" option > mean? Since I have not actuall installed anything, does it erase it > from the cac

Re: zsh: command not found => hangs

2005-08-24 Thread Larry Hall
At 08:11 PM 8/24/2005, you wrote: >Are snapshots compiled differently than release versions? No. >Is there >anything particular to do when installing them, except closing programs, >replacing the old one with the new one, and relaunch programs? No, not with your configuration. -- Larry Hall

Re: threads and signals

2005-08-24 Thread Samuel Thibault
Christopher Faylor, le Wed 24 Aug 2005 00:49:55 -0400, a écrit : > On Tue, Aug 23, 2005 at 10:51:44PM +0200, Samuel Thibault wrote: > >The attached program doesn't work as expected: if I run it and try to > >kill it (-15), nothing seem happens. I if comment out > >pthread_sigmask(), it does work a

Re: zsh: command not found => hangs

2005-08-24 Thread Samuel Thibault
ts=2005/7/5 22:23 9303k 2005/08/07 C:\cygwin\bin\cygwin1-20050709.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2005/7/9 19:18 9310k 2005/08/07 C:\cygwin\bin\cygwin1-20050716.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2005/7/1

RE: 1.5.18 ( 0.132/4/2 ) - read() - blocks ( serial programming )

2005-08-24 Thread Gary R. Van Sickle
> From: Hannu E K Nevalainen > Sent: Wednesday, August 24, 2005 1:16 PM > To: cygwin > Subject: Re: 1.5.18 ( 0.132/4/2 ) - read() - blocks ( serial > programming ) > > > > Google: posix serial <- Does this help? POSIX cereal?!?! You better believe it helps!!! "POSIX-Brand Breakfast Cerea

Re: zsh: command not found => hangs

2005-08-24 Thread Peter A. Castro
On Tue, 23 Aug 2005, Samuel Thibault wrote: Hi, With latest snapshot, whenever I mistype a command in zsh, I get proper zsh: command not found: foobar but then it hangs. This doesn't happen with bash though. Umm... some details about your config would be helpful :) Regards, Samuel -- Pete

Install: setup behavior on downloading only

2005-08-24 Thread Brian Kirkland
I am trying to do a Download Without Install to place everything I want onto a CD. I have several questions.. 1. When downloading only, what does the "Uninstall" option mean? Since I have not actuall installed anything, does it erase it from the cache directory? What does it do in this cas

Re: "Application key pad mode" in cygwin console

2005-08-24 Thread Igor van den Hoven
On 8/22/05, Igor Pechtchanski <[EMAIL PROTECTED]> wrote: > On Mon, 22 Aug 2005, Igor van den Hoven wrote: > > > After sending \e= (see man console_codes) to either rxvt and the > > windows console to enable application key pad mode, pressing keypad 1 > > to 9 shows: > > > > \e[8~\e[B\e[6~\e[D\C-k\

Re: File Permissions

2005-08-24 Thread Brian Dessent
Duane Barb wrote: > I'm runnig the latest cygwin release on Windows XP. I'm having problems with > file permissions in cygwin, chmod doesn't seem to work. After googling this I > set the CYGWIN variable to "ntsec" and it still doesn't work. I first > discovered ntsec is enabled by default, so ad

File Permissions

2005-08-24 Thread Duane Barb
I'm runnig the latest cygwin release on Windows XP. I'm having problems with file permissions in cygwin, chmod doesn't seem to work. After googling this I set the CYGWIN variable to "ntsec" and it still doesn't work. I first discovered this when trying to use a pub/priv key with ssh, ssh complains

Re: Problems with Windows threads and cygwin sleep()

2005-08-24 Thread René Berber
raul wrote: [snip] > how about 6 windows 2003 servers, my laptop with XP and couple more > desktops wit windows 2000 and xp [snip] Are you running the same compiled program? or have you compiled on more than one machine? I can corroborate that there is no problem with sleep() and latest Cygwin

Re: readline clash with bash/PS1 escapes

2005-08-24 Thread Eric Blake
> Hi, > > After a recent cygwin update (including one just today), I'm seeing a bug > in the readline completion that I finally tracked down to the control > sequences in my PS1 for setting the title bar and coloring my prompt. It > looks like the '\[' and '\]' delimeters are screwing it up. Her

RE: Re: RE: Problems with Windows threads and cygwin sleep()

2005-08-24 Thread raul
Just tested it at home, seems like it doesnt occure on Windows Mediacenter I send tomorrow the test cases Algne kiri - Kellelt: Jason Pyeron <[EMAIL PROTECTED]> Kellele: [EMAIL PROTECTED] Kuupäev: Kolmapäev, 24 August, 2005, 14:59 Pealkiri: Re: RE: Problems with Windows threads and cygwin

readline clash with bash/PS1 escapes

2005-08-24 Thread Suan Yong
Hi, After a recent cygwin update (including one just today), I'm seeing a bug in the readline completion that I finally tracked down to the control sequences in my PS1 for setting the title bar and coloring my prompt. It looks like the '\[' and '\]' delimeters are screwing it up. Here are the sy

RE: Problems with Windows threads and cygwin sleep()

2005-08-24 Thread raul
> > > One more note, I tested cygwin dll versions 1.5.12 - 1.5.18, > > all have the same problem > > I'm running 1.5.18-1 here, and it doesn't have the problem. > > Also, nobody else has reported such a problem. There's no > way that a > function as fundamental as sleep (...) could have bee

Re: System environment variables

2005-08-24 Thread Jason Pyeron
On Wed, 24 Aug 2005, Larry Hall wrote: did not find the second message no mention of sshd, thanks -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -

Re: System environment variables

2005-08-24 Thread Jason Pyeron
On Wed, 24 Aug 2005, Corinna Vinschen wrote: On Aug 24 13:08, Jason Pyeron wrote: How can I get the ssh service to inherit the environment variables as set in the system properties control panel applet? You can't. Use one of the methods to propagate environment variables thats what I tho

Re: 1.5.18 ( 0.132/4/2 ) - read() - blocks ( serial programming )

2005-08-24 Thread Hannu E K Nevalainen
Google: posix serial <- Does this help? -- /Hannu E K Nevalainen -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

RE: RE: Problems with Windows threads and cygwin sleep()

2005-08-24 Thread Dave Korn
Original Message >From: raul >Sent: 24 August 2005 18:59 Raul, please keep these posts on the mailing list. http://cygwin.com/acronyms#PPIOSPE > I uploaded sample programs to http://rtedev.com/~raul/threads/ > threads.exe is written in delphi and Threads2.exe in visual c++ That was

Re: System environment variables

2005-08-24 Thread Larry Hall
At 01:08 PM 8/24/2005, you wrote: >How can I get the ssh service to inherit the environment variables as set in >the system properties control panel applet? > >Of course /etc/profile, etc.. could override any setting.

Re: System environment variables

2005-08-24 Thread Corinna Vinschen
On Aug 24 13:08, Jason Pyeron wrote: > > > How can I get the ssh service to inherit the environment variables as set > in the system properties control panel applet? You can't. Use one of the methods to propagate environment variables to child processes as described in `man sshd', `man sshd_co

RE: Problems with Windows threads and cygwin sleep()

2005-08-24 Thread Dave Korn
Original Message >From: Raul Metsma >Sent: 24 August 2005 17:11 > Now when I compile simple c program under cygwin > > while(1) { sleep(1); } > > and execute it, the first program will eat 100% CPU. I can't reproduce this. When I tried it, sleep worked as expected, and the program c

Re: please try latest snapshot

2005-08-24 Thread Christopher Faylor
On Wed, Aug 24, 2005 at 09:48:42AM -0700, David Rothenberger wrote: Content-Description: message body and .signature >I'm having a problem with the 20050824 snapshot. Running "procps -ef" >displays "" for all processes except for procps. > >% procps -

System environment variables

2005-08-24 Thread Jason Pyeron
How can I get the ssh service to inherit the environment variables as set in the system properties control panel applet? Of course /etc/profile, etc.. could override any setting. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -

Re: please try latest snapshot

2005-08-24 Thread David Rothenberger
I'm having a problem with the 20050824 snapshot. Running "procps -ef" displays "" for all processes except for procps. % procps -ef UIDPID PPID C STIME TTY TIME CMD drothe6932 1 0 09:26 tty0 00:00:01 drothe7592 6932 1 09:26 tty0

Problems with Windows threads and cygwin sleep()

2005-08-24 Thread Raul Metsma
There seems to be some kind issues with cygwin sleep() and Windows threads. I created one test program which creates 600 threads with native windows Sleep(1). Now when I compile simple c program under cygwin while(1) { sleep(1); } and execute it, the first program will eat 100% CPU. It does not

Donations page updated

2005-08-24 Thread Christopher Faylor
The Cygwin donations page has been updated. It now includes four package maintainers. http://cygwin.com/donations.html . If you've been wondering how to let someone know how much you appreciate their package, all you have to do click on a link to send them $$$. cgf -- Unsubscribe info: ht

Re: problem extending v5.8.7 via CPAN: cygintl-3.dll

2005-08-24 Thread Brian Dessent
Ruben Moretti wrote: > C:\cygwin\bin\perl.exe (2272): *** unable to remap > C:\cygwin\bin\cygintl-3.dll t > o same address as parent(0xC8) != 0xC9 > ... > Can you give me a hint? You need to run rebaseall. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem

problem extending v5.8.7 via CPAN: cygintl-3.dll

2005-08-24 Thread Ruben Moretti
Hi List! I have a problem updating modules within the CPAN Shell. Perl itself crashes due to problems with cygintl-3.dll ? $ cpan Gtk2 ... Gtk2-1.083/maps_pango-1.6 Gtk2-1.083/maps-2.0 CPAN.pm: Going to build T/TS/TSCH/Gtk2-1.083.tar.gz C:\cygwin\bin\perl.exe (2272): *** unable to remap C:\

Re: Unable to access forced mounts from /bin/sh

2005-08-24 Thread Christopher Faylor
On Wed, Aug 24, 2005 at 07:03:21AM -0600, Eric Blake wrote: >According to Eric Blake on 8/22/2005 6:09 AM: Huh? Strace shows that sh fails when trying to stat /a. Does this, perhaps, have something to do with bash switching to POSIX mode when invoked as "sh"? >> >> Yes it does. I'll

Re: Unable to access forced mounts from /bin/sh

2005-08-24 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 8/22/2005 6:09 AM: >>>Huh? Strace shows that sh fails when trying to stat /a. Does this, >>>perhaps, have something to do with bash switching to POSIX mode when >>>invoked as "sh"? > > Yes it does. I'll have to look into

Re: Cygwin gcc and g90 compilers...

2005-08-24 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to René Berber on 8/23/2005 4:48 PM: > First, the line above should be written like: > >make -f gcc-mingw.mak "CXXFLAGS_COMMON=-mno-cygwin -I/usr/include/mingw" > > A space between -f and the makefile name. Actually, make, like any oth

Re: Cygwin gcc and g90 compilers...

2005-08-24 Thread Brian Dessent
Juan Carlos Morataya wrote: > I think that I need to Building a native STLport with Cygwin gcc in my > installed system by the mean of > > make -fgcc-mingw.mak "CXXFLAGS_COMMON=-mno-cygwin -I/usr/include/mingw" > > is that correct? There is no need to build STLport, since gcc comes with a full

[ANNOUNCEMENT] Updated: inetutils-1.3.2-30

2005-08-24 Thread Corinna Vinschen
I've updated the version of inetutils to 1.3.2-30. Changes in 1.3.2-30: - The HOME environment variable was set in rshd, but not propagated to its child process. That's fixed now. = IMPORTANT NOT

Re: Unable to read/write to a tape with tar

2005-08-24 Thread Corinna Vinschen
On Aug 24 07:18, cyril bonnard wrote: > Hello! it works! actually i changed the driver (archqic.sys instead of > qic157.sys) and reading and writing is ok. So u were right the driver was > the pb! > > Cyril I'm relieved to hear that. Corinna -- Corinna Vinschen Please, sen

Re: Unable to read/write to a tape with tar

2005-08-24 Thread cyril bonnard
Hello! it works! actually i changed the driver (archqic.sys instead of qic157.sys) and reading and writing is ok. So u were right the driver was the pb! Cyril From: Corinna Vinschen <[EMAIL PROTECTED]> Reply-To: cygwin@cygwin.com To: cygwin@cygwin.com Subject: Re: Unable to read/write to a