pthread cancel event implementation

2003-12-12 Thread Arash Partow
Hi Chris,

I've been following your progress on the cancel event method
and functionality. and well I think you haven't thought the
implementation well through. To some degree, its like your
scratching your left ear with your right hand going over the
top of your head, If you know what I mean
Regards

Arash Partow



__
Be one who knows what they don't know,
Instead of being one who knows not what they don't know,
Thinking they know everything about all things.
http://www.partow.net
_
ninemsn Premium transforms your e-mail with colours, photos and animated 
text. Click here  http://ninemsn.com.au/premium/landing.asp

--
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: pthread cancel event implementation

2003-12-12 Thread Corinna Vinschen
On Dec 12 09:44, Arash Partow wrote:
> Hi Chris,
> 
> I've been following your progress on the cancel event method
> and functionality. and well I think you haven't thought the
> implementation well through. To some degree, its like your
> scratching your left ear with your right hand going over the
> top of your head, If you know what I mean

*That's* a helpful comment!  I'm impressed.  If you know better how to
implement this, why don't you role up your sleeves and just do it?

Nutty comments are easier, I guess.

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.

--
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: GCC G77 Sleep Intrinsic

2003-12-12 Thread Lars Steinke
On Thursday 11 December 2003 02:14, Lars Steinke wrote:
> Hello,
>
> I am using G77 (cygwin, GCC G77 on Windows 98 SE) and
> I have a problem with the following function:
>
> Sleep Intrinsic
> CALL Sleep(Seconds)
>
> Seconds: INTEGER(KIND=1); scalar; INTENT(IN).
>
> Intrinsic groups: unix.
>
> Description:
>
> Causes the process to pause for Seconds seconds. See sleep(2).
>
>  
Intrinsic.html#Sleep%20Intrinsic>
>
> If I write:
>
> CALL Sleep(1)
>
> in my program and if I compile my program with:
>
> g77 -o test test.f
>
> the 'sleep' is so fast that you can not see it.
>
Works fine here on XP. Check the FAQ's to see if C sleep() or the Sleep API
may not be supported on 98.

I did check the FAQ, but without success...
I am not very adept at cygwin and g77... Can you help me?
Thank you very much!

Lars



--
Tim Prince
--
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/
--
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: GCC G77 Sleep Intrinsic

2003-12-12 Thread kevin.lawton
I can confirm that Sleep(n) intrinsic function appears to work as expected under 
Windoze 2000 (SP2). 
Could test under Win95 OSR2 and Win-Me this weekend if any use. 
Kevin.   
   
| -Original Message-
| From: [EMAIL PROTECTED] 
| [mailto:[EMAIL PROTECTED] Behalf
| Of Lars Steinke
| Sent: 12 December 2003 12:25
| To: [EMAIL PROTECTED]
| Subject: Re: GCC G77 Sleep Intrinsic
|  
| On Thursday 11 December 2003 02:14, Lars Steinke wrote:
|  > Hello,
|  >
|  > I am using G77 (cygwin, GCC G77 on Windows 98 SE) and
|  > I have a problem with the following function:
|  >
|  > Sleep Intrinsic
|  > CALL Sleep(Seconds)
|  >
|  > Seconds: INTEGER(KIND=1); scalar; INTENT(IN).
|  >
|  > Intrinsic groups: unix.
|  >
|  > Description:
|  >
|  > Causes the process to pause for Seconds seconds. See sleep(2).
|  >
|  >  
| Intrinsic.html#Sleep%20Intrinsic>
|  >
|  > If I write:
|  >
|  > CALL Sleep(1)
|  >
|  > in my program and if I compile my program with:
|  >
|  > g77 -o test test.f
|  >
|  > the 'sleep' is so fast that you can not see it.
|  >
| Works fine here on XP. Check the FAQ's to see if C sleep() or 
| the Sleep API
| may not be supported on 98.
| 
| I did check the FAQ, but without success...
| I am not very adept at cygwin and g77... Can you help me?
| 
| Thank you very much!
| 
| Lars
|  
| -- 
| Tim Prince
| 
| -- 
| 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/
| 
| 
| --
| 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/
| 
| 

--
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/



Uninstall - SSHD service & sshd.log

2003-12-12 Thread Paul Kraus
I am trying to uninstall cygwin. I have deleted the directory says the
smbd.log is in use. I checked the service and its not running.
How can I delete this log, then delete the service. I am uninstalling so
that I can start over. I had a bunch of things wrong with the
installation. 

TIA,
Paul Kraus
Windows XP Pro Workstation


--
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/



chmod executable

2003-12-12 Thread Yang, Samuel
I loaded cygwin on to my NT machine at work and want to create a workable
executable file which has commnads like: sort, grep, etc.  
How do you make the file executable like the unix machine?

--
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: chmod executable

2003-12-12 Thread Paul Kraus
> I loaded cygwin on to my NT machine at work and want to 
> create a workable executable file which has commands like: 
> sort, grep, etc.  
> How do you make the file executable like the UNIX machine?
> 
Is it a bash script, perl script, C? You would need to compile it if its
see. There are perl2exe apps for perl. I need some more info.

Paul Kraus


--
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: setup crashes on certain packages.

2003-12-12 Thread Matthew Wilson
I am using setup version 2.416.  The problem is when I try to install
certain packages (all from my local directory), the installer just
crashes.

The packages that have caused this crash include perl, python, and
XFree86-base.

Does anyone have any experience with this?


On Thu, Dec 11, 2003 at 06:49:55PM -0500, Matthew Wilson wrote:
> On Thu, Dec 11, 2003 at 05:40:49PM -0500, Larry Hall wrote:
> > I expect it would be helpful to know what version of setup you're running.
> 
> Sorry - I should have mentioned that.  I am running the most recent
> version, whatever that is. I reran the wget script to grab everything
> off the mirrors before installing today.
> 
> --
> 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/


pgp0.pgp
Description: PGP signature


Re: chmod executable

2003-12-12 Thread Baurjan Ismagulov
Hello, Samuel.

On Fri, Dec 12, 2003 at 06:07:23AM -0800, Yang, Samuel wrote:
> I loaded cygwin on to my NT machine at work and want to create a workable
> executable file which has commnads like: sort, grep, etc.  
> How do you make the file executable like the unix machine?

Do you mean shell script?

cat >aaa.sh 

Re: Problem with pthreads and signaling, behavior broken...

2003-12-12 Thread news.gmane.org
Hi all!

I've tested the latest CVS version (2003-12-12 11:00AM GMT+1), and yes
thinks are better, for me the ThreadTest seems to run correctly.

But I you use the compiled version to rebuild cygwin itself, no chance, make
die. Probably a similar case than my previous post "Bash wait indefinitely".
But now die instead sleep. One of my recursive makefile do sleep (6-7
seconds) when executing some bash command and return error 2, but if I
specified "SHELL=/usr/bin/bash -x" that maybe slow bash, no more problem.
Same with "strace make" no problem!

Keep working on signal's, threads, fork's, spawn's.

Thanks, Philippe.




--
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: pthread cancel event implementation

2003-12-12 Thread Christopher Faylor
On Fri, Dec 12, 2003 at 09:44:27AM +, Arash Partow wrote:
>I've been following your progress on the cancel event method and
>functionality.  and well I think you haven't thought the implementation
>well through.  To some degree, its like your scratching your left ear
>with your right hand going over the top of your head, If you know what
>I mean

Yes, I know exactly what you mean.  It is thoughtful comments from great
thinkers like you that make this such a rewarding hobby.

--
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: GCC G77 Sleep Intrinsic

2003-12-12 Thread kevin.lawton
Sorry to re-post on top of my previous one, but I've had another thought (on a Friday 
as well !). 
Given that the problem has shown on Win 98 SE, but seems okay on Win XP & 2K:   Maybe 
the clock 'tick' used in the Win 9x API is different to that used in the Win NT API ?  
I don't have access to a Win 9x machine at the moment, but maybe someone would like to 
try something like a 'CALL Sleep(2000)' in G77 under Win9x and see if it waits for 
around 2 seconds ?   This question seems to have stirred some distant memory in the 
darkest recesses of my brain, about Win 9x clock ticks being at milli-second 
intervals, but those recesses are far too dark to be able to remember clearly.   
Kevin.   
   
| -Original Message-
| From: [EMAIL PROTECTED] 
| [mailto:[EMAIL PROTECTED] Behalf
| Of [EMAIL PROTECTED]
| Sent: 12 December 2003 12:45
| To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
| Subject: RE: GCC G77 Sleep Intrinsic
|  
| I can confirm that Sleep(n) intrinsic function appears to 
| work as expected under Windoze 2000 (SP2). 
| Could test under Win95 OSR2 and Win-Me this weekend if any use. 
| Kevin.   
|
| | -Original Message-
| | From: [EMAIL PROTECTED] 
| | [mailto:[EMAIL PROTECTED] Behalf
| | Of Lars Steinke
| | Sent: 12 December 2003 12:25
| | To: [EMAIL PROTECTED]
| | Subject: Re: GCC G77 Sleep Intrinsic
| |  
| | On Thursday 11 December 2003 02:14, Lars Steinke wrote:
| |  > Hello,
| |  >
| |  > I am using G77 (cygwin, GCC G77 on Windows 98 SE) and
| |  > I have a problem with the following function:
| |  >
| |  > Sleep Intrinsic
| |  > CALL Sleep(Seconds)
| |  >
| |  > Seconds: INTEGER(KIND=1); scalar; INTENT(IN).
| |  >
| |  > Intrinsic groups: unix.
| |  >
| |  > Description:
| |  >
| |  > Causes the process to pause for Seconds seconds. See sleep(2).
| |  >
| |  >  
| | Intrinsic.html#Sleep%20Intrinsic>
| |  >
| |  > If I write:
| |  >
| |  > CALL Sleep(1)
| |  >
| |  > in my program and if I compile my program with:
| |  >
| |  > g77 -o test test.f
| |  >
| |  > the 'sleep' is so fast that you can not see it.
| |  >
| | Works fine here on XP. Check the FAQ's to see if C sleep() or 
| | the Sleep API
| | may not be supported on 98.
| | 
| | I did check the FAQ, but without success...
| | I am not very adept at cygwin and g77... Can you help me?
| | 
| | Thank you very much!
| | 
| | Lars
| |  
| | -- 
| | Tim Prince
| | 
| | -- 
| | 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/
| | 
| | 
| | --
| | 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/
| | 
| | 
| 
| --
| 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/
| 
| 

--
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: Uninstall - SSHD service & sshd.log

2003-12-12 Thread Paul Kraus
I figured this out. 
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Paul Kraus
> Sent: Friday, December 12, 2003 8:26 AM
> To: Cygwin
> Subject: Uninstall - SSHD service & sshd.log
> 
> 
> I am trying to uninstall cygwin. I have deleted the directory 
> says the smbd.log is in use. I checked the service and its 
> not running. How can I delete this log, then delete the 
> service. I am uninstalling so that I can start over. I had a 
> bunch of things wrong with the installation. 
> 
> TIA,
> Paul Kraus
> Windows XP Pro Workstation
> 
> 
> --
> 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/
> 


--
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/



is there a screen for cygwin?

2003-12-12 Thread Matthew Wilson
I can't find it in the installer, although searching through the mailing
list archives shows other people talking about it.  Is there a screen
for cygwin?

--
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: is there a screen for cygwin?

2003-12-12 Thread Baurjan Ismagulov
Hello, Matthew.

On Fri, Dec 12, 2003 at 11:18:15AM -0500, Matthew Wilson wrote:
> Is there a screen for cygwin?

http://cygwin.com/ported.html

Hope this helps,
Baurjan.

--
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/



rxvt and bold directory entries

2003-12-12 Thread Brandon Saxe
I'm using rxvt and do directory listings with the
--color=auto option.

Certain files are not only colored, but are bold as
well. How do I turn off the bolding of certain
listings? I only want colors. The bold makes certain
entries difficult to read.

Thanks,
Brandon

__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

--
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: install native/x11 ghostscript

2003-12-12 Thread Dario Alcocer
On Wed, 3 Dec 2003 17:41:30 +0100
(=?ISO-8859-1?Q?Westeurop=E4ische_Normalzeit?=)
Ulf-Dietrich Braumann <[EMAIL PROTECTED]> wrote:

> My question simply is, why setup recommends installing the
> native gs even if the x11 version was already installed, or even
> further, if there is some mechanism to ensure exclusive installation
> of such packages.

This is a *very* good question; unfortunately my knowledge of
setup.exe's inner workings is very limited.  Hopefully someone else
(cgf, Chuck, Nicholas, ?) might be able to answer this one.

--
Dario Alcocer
Cygwin ghostscript maintainer

--
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: GCC G77 Sleep Intrinsic

2003-12-12 Thread Lars Steinke
At 15:03 12.12.03 +, you wrote:
Sorry to re-post on top of my previous one, but I've had another thought 
(on a Friday as well !).
Given that the problem has shown on Win 98 SE, but seems okay on Win XP & 
2K:   Maybe the clock 'tick' used in the Win 9x API is different to that 
used in the Win NT API ?  I don't have access to a Win 9x machine at the 
moment, but maybe someone would like to try something like a 'CALL 
Sleep(2000)' in G77 under Win9x and see if it waits for around 2 seconds ?
I did and it waits for around 2 seconds. I also tried (1) and then it 
waits for around 10 seconds.
Seems to be milli-second intervals...
What will happen if i run this program (compiled on 98) on 2K? Will it 
waits for 2 seconds or for 2000 ! seconds?

Lars


   This question seems to have stirred some distant memory in the darkest 
recesses of my brain, about Win 9x clock ticks being at milli-second 
intervals, but those recesses are far too dark to be able to remember 
clearly.
Kevin.

| -Original Message-
| From: [EMAIL PROTECTED]
| [mailto:[EMAIL PROTECTED] Behalf
| Of [EMAIL PROTECTED]
| Sent: 12 December 2003 12:45
| To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
| Subject: RE: GCC G77 Sleep Intrinsic
|
| I can confirm that Sleep(n) intrinsic function appears to
| work as expected under Windoze 2000 (SP2).
| Could test under Win95 OSR2 and Win-Me this weekend if any use.
| Kevin.
|
| | -Original Message-
| | From: [EMAIL PROTECTED]
| | [mailto:[EMAIL PROTECTED] Behalf
| | Of Lars Steinke
| | Sent: 12 December 2003 12:25
| | To: [EMAIL PROTECTED]
| | Subject: Re: GCC G77 Sleep Intrinsic
| |
| | On Thursday 11 December 2003 02:14, Lars Steinke wrote:
| |  > Hello,
| |  >
| |  > I am using G77 (cygwin, GCC G77 on Windows 98 SE) and
| |  > I have a problem with the following function:
| |  >
| |  > Sleep Intrinsic
| |  > CALL Sleep(Seconds)
| |  >
| |  > Seconds: INTEGER(KIND=1); scalar; INTENT(IN).
| |  >
| |  > Intrinsic groups: unix.
| |  >
| |  > Description:
| |  >
| |  > Causes the process to pause for Seconds seconds. See sleep(2).
| |  >
| |  > 
| | Intrinsic.html#Sleep%20Intrinsic>
| |  >
| |  > If I write:
| |  >
| |  > CALL Sleep(1)
| |  >
| |  > in my program and if I compile my program with:
| |  >
| |  > g77 -o test test.f
| |  >
| |  > the 'sleep' is so fast that you can not see it.
| |  >
| | Works fine here on XP. Check the FAQ's to see if C sleep() or
| | the Sleep API
| | may not be supported on 98.
| |
| | I did check the FAQ, but without success...
| | I am not very adept at cygwin and g77... Can you help me?
| |
| | Thank you very much!
| |
| | Lars
| |
| | --
| | Tim Prince
| |
| | --
| | 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/
| |
| |
| | --
| | 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/
| |
| |
|
| --
| 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/
|
|
--
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/


--
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: install native/x11 ghostscript (setup.exe question)

2003-12-12 Thread Christopher Faylor
On Fri, Dec 12, 2003 at 08:04:43AM -0800, Dario Alcocer wrote:
>On Wed, 3 Dec 2003 17:41:30 +0100
>(=?ISO-8859-1?Q?Westeurop=E4ische_Normalzeit?=)
>Ulf-Dietrich Braumann <[EMAIL PROTECTED]> wrote:
>
>> My question simply is, why setup recommends installing the
>> native gs even if the x11 version was already installed, or even
>> further, if there is some mechanism to ensure exclusive installation
>> of such packages.
>
>This is a *very* good question; unfortunately my knowledge of
>setup.exe's inner workings is very limited.  Hopefully someone else
>(cgf, Chuck, Nicholas, ?) might be able to answer this one.

Actually, this is one from Robert Collins.

cgf

--
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: GCC G77 Sleep Intrinsic

2003-12-12 Thread kevin.lawton
I would expect that this is an API issue, and therefore the same code (same 
executable, even ?) will produce the different results under Win 9x compared to 
Win-NT. Instead of trying to fathom it all out, it might just be easier to 'suck it 
and see'. 
Quite what other languages with a sleep or wait command do to ensure consistent 
intervals I am not too sure - maybe they are comparing successive reads of the system 
clock instead of counting clock ticks, or possibly detecting the platform and 
multiplying/dividing as appropriate. 
Kevin.   
   
| -Original Message-
| From: Lars Steinke [mailto:[EMAIL PROTECTED]
| Sent: 12 December 2003 16:06
| To: Lawton,K,Kevin,XJH3C C; [EMAIL PROTECTED]
| Subject: RE: GCC G77 Sleep Intrinsic
|  
| At 15:03 12.12.03 +, you wrote:
| >Sorry to re-post on top of my previous one, but I've had 
| another thought 
| >(on a Friday as well !).
| >Given that the problem has shown on Win 98 SE, but seems 
| okay on Win XP & 
| >2K:   Maybe the clock 'tick' used in the Win 9x API is 
| different to that 
| >used in the Win NT API ?  I don't have access to a Win 9x 
| machine at the 
| >moment, but maybe someone would like to try something like a 'CALL 
| >Sleep(2000)' in G77 under Win9x and see if it waits for 
| around 2 seconds ?
| 
| I did and it waits for around 2 seconds. I also tried (1) 
| and then it 
| waits for around 10 seconds.
| Seems to be milli-second intervals...
| What will happen if I run this program (compiled on 98) on 
| 2K? Will it 
| waits for 2 seconds or for 2000 ! seconds?
| 
| Lars
| 
| 
| >This question seems to have stirred some distant memory 
| in the darkest 
| > recesses of my brain, about Win 9x clock ticks being at 
| milli-second 
| > intervals, but those recesses are far too dark to be able 
| to remember 
| > clearly.
| >Kevin.
| >
| >| -Original Message-
| >| From: [EMAIL PROTECTED]
| >| [mailto:[EMAIL PROTECTED] Behalf
| >| Of [EMAIL PROTECTED]
| >| Sent: 12 December 2003 12:45
| >| To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
| >| Subject: RE: GCC G77 Sleep Intrinsic
| >|
| >| I can confirm that Sleep(n) intrinsic function appears to
| >| work as expected under Windoze 2000 (SP2).
| >| Could test under Win95 OSR2 and Win-Me this weekend if any use.
| >| Kevin.
| >|
| >| | -Original Message-
| >| | From: [EMAIL PROTECTED]
| >| | [mailto:[EMAIL PROTECTED] Behalf
| >| | Of Lars Steinke
| >| | Sent: 12 December 2003 12:25
| >| | To: [EMAIL PROTECTED]
| >| | Subject: Re: GCC G77 Sleep Intrinsic
| >| |
| >| | On Thursday 11 December 2003 02:14, Lars Steinke wrote:
| >| |  > Hello,
| >| |  >
| >| |  > I am using G77 (cygwin, GCC G77 on Windows 98 SE) and
| >| |  > I have a problem with the following function:
| >| |  >
| >| |  > Sleep Intrinsic
| >| |  > CALL Sleep(Seconds)
| >| |  >
| >| |  > Seconds: INTEGER(KIND=1); scalar; INTENT(IN).
| >| |  >
| >| |  > Intrinsic groups: unix.
| >| |  >
| >| |  > Description:
| >| |  >
| >| |  > Causes the process to pause for Seconds seconds. See sleep(2).
| >| |  >
| >| |  > 
| >| | Intrinsic.html#Sleep%20Intrinsic>
| >| |  >
| >| |  > If I write:
| >| |  >
| >| |  > CALL Sleep(1)
| >| |  >
| >| |  > in my program and if I compile my program with:
| >| |  >
| >| |  > g77 -o test test.f
| >| |  >
| >| |  > the 'sleep' is so fast that you can not see it.
| >| |  >
| >| | Works fine here on XP. Check the FAQ's to see if C sleep() or
| >| | the Sleep API
| >| | may not be supported on 98.
| >| |
| >| | I did check the FAQ, but without success...
| >| | I am not very adept at cygwin and g77... Can you help me?
| >| |
| >| | Thank you very much!
| >| |
| >| | Lars
| >| |
| >| | --
| >| | Tim Prince
| >| |
| >| | --
| >| | 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/
| >| |
| >| |
| >| | --
| >| | 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/
| >| |
| >| |
| >|
| >| --
| >| 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/
| >|
| >|
| >
| >--
| >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/
| 
| 

--
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: compiling woes (httping 0.0.3 make error)

2003-12-12 Thread Brian Ford
On Thu, 11 Dec 2003 [EMAIL PROTECTED] wrote:
> Brian Ford wrote:
> > [EMAIL PROTECTED] wrote:
> > > $ make install
> > > gcc -ansi -O2   -c -o error.o error.c
> > > error.c:1:21: ncurses.h: No such file or directory
> > > make: *** [error.o] Error 1
> > >
> > Well, does /usr/include/ncurses.h exist?
> >
> No, I can't find ncurses.h anywhere, although ncurses had been installed.
> Entering the command:
> $ find / -name ncurses*
>
> The following is output:
> /etc/setup/ncurses.lst.gz
> /usr/share/doc/Cygwin/ncurses-5.3.README
> /usr/share/doc/ncurses-5.3
> /usr/share/doc/ncurses-5.3/ncurses-intro.html
>
> > If not, using the setup package search facility available here
> > http://cygwin.com/packages/ shows ncurses.h to be part of
> > ncurses/ncurses-5.2-8.  Is that installed?
> >
> Hum, shouldn't it be part of the successor version as well?
>
Partially my mistake.

/usr/include/ncurses.h is now a symbolic link to ncurses/ncurses.h which
itself is a sybolic link to curses.h.  Both of them are created by a
postinstall script for compatability.  So, if you plug curses.h into the
search engine above, you get your answer.  You need
libncurses-devel/libncurses-devel-5.3-4.

However, a casual inspection of /usr/share/doc/Cygwin/ncurses-5.3.README
that turned up in your search would have provided the same information.
Also, you have still not acted on this suggestion:

> > Please see http://www.cygwin.com/problems.html.  If you had attached
> > cygcheck output, I wouldn't have to ask about these.

I *strongly* suggest that you do so before posting further on this, or
other topics.

> > If you want help here, you will have to post more output.  We need to
> > see why the make of parser.c returned 255.
> >
> Funny. Doubting my first attempt, I extracted the archive once again, this
> time right into /tmp
> (i.e. C:\cygwin\tmp).
> Now, the output is different:
>
> $ make
> make -C src build
> make[1]: Entering directory `/tmp/boxes-1.0.1/src'
> make CFLAGS_ADDTL=-O boxes
> make[2]: Entering directory `/tmp/boxes-1.0.1/src'
> gcc -ansi -I. -Iregexp -Wall -W -O   -c -o parser.o parser.c
> parser.y: In function `design_needed':
> parser.y:389: warning: implicit declaration of function `strcasecmp'
> parser.y: In function `yyparse':
> parser.y:537: warning: implicit declaration of function `strdup'
> parser.y:1034: warning: implicit declaration of function `strncasecmp'
> gcc -ansi -I. -Iregexp -Wall -W -O   -c -o lex.yy.o lex.yy.c
> lexer.l: In function `yylex':
> lexer.l:172: warning: implicit declaration of function `strdup'
> lexer.l: At top level:
> lexer.l:1299: warning: `yy_flex_realloc' defined but not used
> gcc -ansi -I. -Iregexp -Wall -W -O   -c -o boxes.o boxes.c
> boxes.c: In function `is_dir':
> boxes.c:328: error: `S_IFMT' undeclared (first use in this function)
> boxes.c:328: error: (Each undeclared identifier is reported only once
> boxes.c:328: error: for each function it appears in.)
> boxes.c:328: error: `S_IFDIR' undeclared (first use in this function)
> boxes.c: In function `get_config_file':
> boxes.c:381: warning: implicit declaration of function `strdup'
> boxes.c: In function `process_commandline':
> boxes.c:653: warning: implicit declaration of function `strncasecmp'
> boxes.c: In function `style_sort':
> boxes.c:901: warning: implicit declaration of function `strcasecmp'
> make[2]: *** [boxes.o] Error 1
> make[2]: Leaving directory `/tmp/boxes-1.0.1/src'
> make[1]: *** [build] Error 2
> make[1]: Leaving directory `/tmp/boxes-1.0.1/src'
> make: *** [build] Error 2
>
> As you might guess already, I haven't got the slightest clue what's going
> on...
>
Yes.  That is why I directed you to the problems URL above.

I will wait until you have submitted the information requested there
before providing further help.  Thanks.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
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: setup crashes on certain packages.

2003-12-12 Thread Brian Ford
On Fri, 12 Dec 2003, Matthew Wilson wrote:

> I am using setup version 2.416.  The problem is when I try to install
> certain packages (all from my local directory), the installer just
> crashes.
>
> The packages that have caused this crash include perl, python, and
> XFree86-base.
>
IIRC, these are all relatively large packages.  Could there have been a
problem with your download?  Or, better yet, try a different mirror.

> Does anyone have any experience with this?
>
No, but if they did, it would be in the archives :).

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
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/



snapshot cygwin1-20031212.dll.bz2

2003-12-12 Thread SMore
I am trying to get a stable rsync to work between 2 windows 2000 boxes and
so far the cygwin1-20031212.dll.bz2 snapshot is working the best. Previous
version only seems to hang after "client_run waiting on ".

If there are no changes to be made the program exits fine.
If changes need to be copied, the copy occurs then a core dump results:

<< snip >>
recv_files phase=1
generate_files phase=2
send files finished
total: matches=2  tag_hits=20  false_alarms=0 data=3500
recv_files finished
client_run waiting on 2684
Segmentation fault (core dumped)

$ less rsync.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=610864C7
eax=0B0C ebx=00409E30 ecx=610EFE64 edx=0004 esi=0014
edi=0022FB48
ebp=0022FB1C esp=0022FB00 program=C:\cygwin\bin\rsync.exe
cs=001B ds=0023 es=0023 fs=0038 gs= ss=0023
Stack trace:
Frame Function  Args
0022FB1C  610864C7  (0022FA94, 0022FA94, 0022FA94, 0022FB40)
End of stack trace


$ rsync --version
rsync  version 2.5.7  protocol version 26
Copyright (C) 1996-2002 by Andrew Tridgell and others
<http://rsync.samba.org/>
Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
  no IPv6, 64-bit system inums, 64-bit internal inums

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.


Is there some permissions that need to be set so this will not core dump ??


-Thanks
Steve More

--
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: snapshot cygwin1-20031212.dll.bz2

2003-12-12 Thread Christopher Faylor
On Fri, Dec 12, 2003 at 12:26:33PM -0500, [EMAIL PROTECTED] wrote:
>Is there some permissions that need to be set so this will not core dump ??

A core dump is always an indication of a problem.  Someone else has
reported problems with the snapshot, too.  I've managed to duplicate a
crash so I'll fix it as soon as I have a chance.

Out of idle curiousity, are you using CYGWIN=tty?  I made some major changes
to that code recently so I'd suspect that as a source of problems.

cgf

--
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: snapshot cygwin1-20031212.dll.bz2

2003-12-12 Thread SMore
When I issue:
$ env | grep CYGWIN
nothing shows up.


Here is a little more info about my setup if it is useful:

I am trying to rsync using ssh.
Note: one of the folders is also a windows share.
 
PC users could drop files onto a windows share, then rsync copies those
files over ssh to mirror it to a different box.


-Thanks
Steve More

-Original Message-
From: Christopher Faylor
[mailto:[EMAIL PROTECTED]
Sent: Friday, December 12, 2003 1:48 PM
To: [EMAIL PROTECTED]
Subject: Re: snapshot cygwin1-20031212.dll.bz2


On Fri, Dec 12, 2003 at 12:26:33PM -0500, [EMAIL PROTECTED] wrote:
>Is there some permissions that need to be set so this will not core dump ??

A core dump is always an indication of a problem.  Someone else has
reported problems with the snapshot, too.  I've managed to duplicate a
crash so I'll fix it as soon as I have a chance.

Out of idle curiousity, are you using CYGWIN=tty?  I made some major changes
to that code recently so I'd suspect that as a source of problems.

cgf

--
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/

--
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/



Minimal set for XFree86

2003-12-12 Thread Vinod Gupta
What is the minimal set of packages I need to download for
running XFree86 X-server?
Vinod.



--
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/


can't use windows with GoBack?

2003-12-12 Thread Lester Ingber
I just installed Symantec GoBack (to compensate for known problems with XP
Pro Systrem Restore).  Most everything runs fine under Cygwin.  However,
anything under XWin (including brining up XWin), runs unbearably slow,
about a factor of at least 100-1000 or more slower.  The System just
consumes all CPU?

I just paid $30 to Symantec to hear that they do have some problems with
GoBack with some applications running much too slow to use.  They're
"working in it."

By chance, has anyone else run into something similar and solved this
problem?

Thanks.

Lester




--
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/



Mozilla Firebird & cygwin

2003-12-12 Thread Doug Jenkinson
Hey everyone,
I saw this in a comment about the latest build of Mozilla, 1.6 beta that 
is, and tried on Firebird.  If you open up a window/tab/whatever and 
goto "about:buildconfig", cygwin is mentioned!  I'm just sharing the 
info, as I really no nothing more about this, but its pretty cool 
nonetheless.
Doug Jenkinson

--
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: Minimal set for XFree86

2003-12-12 Thread SMore
Here is a small X set that I use...it also includes cvs,ssh,perl and vim

XFree86
_update-info-dir
ash
base-files
base-passwd
bash
bzip2
ctags
cvs
cygwin
diffutils
fileutils
findutils
gawk
gdbm
gettext
grep
gzip
libiconv
libxml2
libxslt
login
nano
ncurses
openssh
openssl
pcre
perl
readline
sed
sh-utils
tar
termcap
terminfo
texinfo
textutils
vim
which
zlib

-Steve More

-Original Message-
From: Vinod Gupta [mailto:[EMAIL PROTECTED]
Sent: Friday, December 12, 2003 2:43 PM
To: [EMAIL PROTECTED]
Subject: Minimal set for XFree86


What is the minimal set of packages I need to download for
running XFree86 X-server?

Vinod.



--
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/

--
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: snapshot cygwin1-20031212.dll.bz2

2003-12-12 Thread Christopher Faylor
On Fri, Dec 12, 2003 at 02:39:24PM -0500, [EMAIL PROTECTED] wrote:
>When I issue:
>$ env | grep CYGWIN
>nothing shows up.

Could you *attach* the output of cygcheck -rsv to some email and send it
here, please?

cgf

--
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: Mozilla Firebird & cygwin

2003-12-12 Thread Frédéric L. W. Meunier
On Fri, 12 Dec 2003, Doug Jenkinson wrote:

> Hey everyone,
> I saw this in a comment about the latest build of Mozilla, 1.6 beta that
> is, and tried on Firebird.  If you open up a window/tab/whatever and
> goto "about:buildconfig", cygwin is mentioned!  I'm just sharing the
> info, as I really no nothing more about this, but its pretty cool
> nonetheless.
> Doug Jenkinson

about:buildconfig

Build platform

target
i586-pc-msvc

Build tools

CompilerVersion Compiler flags
$(CYGWIN_WRAPPER) cl12.00.8804 for 80x86-TC -nologo -W3 -nologo -Gy 
-Fd$(PDBFILE)
$(CYGWIN_WRAPPER) cl12.00.8804 for 80x86-TP -nologo -W3 -nologo -Gy 
-Fd$(PDBFILE) -I/usr/X11R6/include

Configure arguments
--without-system-jpg --without-system-zlib --with-extensions=all --enable-crypto 
--disable-auto-deps --disable-debug
--enable-optimize

configure.in: CYGWIN_WRAPPER="${srcdir}/build/cygwin-wrapper"

build/cygwin-wrapper: "Stupid wrapper to avoid win32
dospath/cygdrive issues".

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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: snapshot cygwin1-20031212.dll.bz2[GFI-T7125-3FDB81038CE0FA95]

2003-12-12 Thread SMore
Here is the output you requested.

-Original Message-
From: Christopher Faylor
[mailto:[EMAIL PROTECTED]
Sent: Friday, December 12, 2003 3:47 PM
To: [EMAIL PROTECTED]
Subject: Re: snapshot cygwin1-20031212.dll.bz2


On Fri, Dec 12, 2003 at 02:39:24PM -0500, [EMAIL PROTECTED] wrote:
>When I issue:
>$ env | grep CYGWIN
>nothing shows up.

Could you *attach* the output of cygcheck -rsv to some email and send it
here, please?

cgf

--
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/



output
Description: Binary data
--
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: snapshot cygwin1-20031212.dll.bz2

2003-12-12 Thread Larry Hall
At 02:39 PM 12/12/2003, [EMAIL PROTECTED] you wrote:
>When I issue:
>$ env | grep CYGWIN
>nothing shows up.
>
>
>Here is a little more info about my setup if it is useful:
>
>I am trying to rsync using ssh.
>Note: one of the folders is also a windows share.
> 
>PC users could drop files onto a windows share, then rsync copies those
>files over ssh to mirror it to a different box.


Please note that accessing password-protected shares from ssh won't be 
possible with ssh's public key authenticatio.  Use password authentication
or shares that don't require passwords to make this work.  I'm not saying
this is your problem now.  Just trying to head off a (future?) question if 
you're unaware of this issue.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 



--
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: Third-party products that include Cygwin

2003-12-12 Thread Hannu E K Nevalainen
> From: Larry Hall
> Sent: Tuesday, December 09, 2003 10:19 PM



>David A Cobb:
>> However, I'm
>> wondering if we could make it easier? How about storing
>> /HKLM/Cygnus Solutions/Cygwin/DLL_PATH="native:/path/to/cygwin1.dll and
>>  /HKLM/Cygnus
>> Solutions/Cygwin/DLL_VERSION="1.2.3"
>>
>>And providing a simple C routine to return the critical information.
>>I'm less sure about this piece -- most use things like
>> InstallShield and I don't know how the scripting works there. Of
>> course, if they simply looked at the mount point
>> /HKLM/Cyg.../Cygwin/mounts_v2/bin, they could work it all out!!!

> The prescribed approach is for third parties to not bundle cygwin1.dll
> but instead point to cygwin.com and say "Install This First".

 Not good for users that are unfamiliar with cygwin, uninterested in cygwin
itself or something else on that "line".

>  An
> alternative is a nice automated way in their installer to invoke the
> Cygwin installer.

 Heh... that would IMO require setup.exe to be able to do batch runs. Not
possible, unless changes has been done very recently.

>  If they do this, then there's no chance of having
> more than 1 cygwin1.dll installed and no one needs to check for one.
> Of course, doing the checking is not hard (FindFirstFile()/FindNextFile())
> even if it's not necessary.

 I'm not keen of seeing this kinds of solutions being run on my computer as
it is "low spec" to put it mildly.

First of all; The "FindFirstFile()/FindNextFile()" thingie would probably
run for ten minutes, or even more. I would be sitting there wondering what
the heck was happening, and I would *not* be polite to the person who
created this misnomer.
 Second; how is this "FindFirstFile()/FindNextFile()" thing supposed to
handle the existense of more than one device? i.e:

$ mount | grep -re '^.: .*'
P: on /dev/dvd type system (binmode)
Q: on /dev/zip type system (binmode)
R: on /dev/dcdr type system (binmode)
S: on /dev/dcds type system (binmode)
T: on /dev/dcdt type system (binmode)
U: on /dev/dcdu type system (binmode)
c: on /cygdrive/c type system (binmode,noumount)
d: on /cygdrive/d type system (binmode,noumount)
e: on /cygdrive/e type system (binmode,noumount)
f: on /cygdrive/f type system (binmode,noumount)
g: on /cygdrive/g type system (binmode,noumount)
h: on /cygdrive/h type system (binmode,noumount)
i: on /cygdrive/i type system (binmode,noumount)
w: on /cygdrive/w type system (binmode,noumount)

is what I have available currently. Is that thing supposed to look through
all of it? If I connect my Digicams there will be three more devices to scan
through. What if it finds more than one cygwin1.dll, is it supposed to erase
the second one then?

Please, don't even mention this anymore, that's real bad programming IMO.
Not very likely to end up in something viable.

There got to be better, future-safe, flexible and extendable aproaches to
this. A good *attempt* at this was presented above IMO.


/Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E

** on a mailing list; please keep replies on that particular list **

-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--


--
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: Problem with pthreads and signaling, behavior broken...

2003-12-12 Thread Marcus Van Der Beek
Hi Philippe,

I've tested the latest dll snapshot (12/12), and its still displaying the 
problem.
nothing was changed in the signaling or pthreads area that would
effect the problem.

maybe try using the provided snapshot perhaps?

-Marcus


Hi all!

I've tested the latest CVS version (2003-12-12 11:00AM GMT+1), and yes
thinks are better, for me the ThreadTest seems to run correctly.
But I you use the compiled version to rebuild cygwin itself, no chance, 
make
die. Probably a similar case than my previous post "Bash wait 
indefinitely".
But now die instead sleep. One of my recursive makefile do sleep (6-7
seconds) when executing some bash command and return error 2, but if I
specified "SHELL=/usr/bin/bash -x" that maybe slow bash, no more problem.
Same with "strace make" no problem!

Keep working on signal's, threads, fork's, spawn's.

Thanks, Philippe.



--
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/
_
E-mail just got a whole lot better. New ninemsn Premium. Click here  
http://ninemsn.com.au/premium/landing.asp

--
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: Third-party products that include Cygwin

2003-12-12 Thread Robb, Sam
> >  An
> > alternative is a nice automated way in their installer to invoke the
> > Cygwin installer.
> 
>  Heh... that would IMO require setup.exe to be able to do 
> batch runs. Not
> possible, unless changes has been done very recently.

Huh?  We've been doing things that way with our software
installer for a good 6-9 months now, using a version of
setup.exe built from a CVS snapshot.  If the user needs
Cygwin installed prior to installing our sofware, we
kick off setup.exe and let it do it's thing.

We do this so the end user at least has a fighting chance
of getting questions answered if they post to the mailing
list :-)

We're not up to installing 1.5.x yet, though.  We'll have
to wait and see, but I suspect that the sheer number of
packages has finally pushed it to the point where we'll
need to go with one CD for Cygwin binaries, one CD for
source.

-Samrobb

--
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: snapshot cygwin1-20031212.dll.bz2

2003-12-12 Thread SMore
password-protected vs password authentication

Would that be like a 98/ME box vs a NT/2000/XP Pro ? 

-Original Message-
From: Larry Hall [mailto:[EMAIL PROTECTED]
Sent: Friday, December 12, 2003 4:30 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: snapshot cygwin1-20031212.dll.bz2


At 02:39 PM 12/12/2003, [EMAIL PROTECTED] you wrote:
>When I issue:
>$ env | grep CYGWIN
>nothing shows up.
>
>
>Here is a little more info about my setup if it is useful:
>
>I am trying to rsync using ssh.
>Note: one of the folders is also a windows share.
> 
>PC users could drop files onto a windows share, then rsync copies those
>files over ssh to mirror it to a different box.


Please note that accessing password-protected shares from ssh won't be 
possible with ssh's public key authenticatio.  Use password authentication
or shares that don't require passwords to make this work.  I'm not saying
this is your problem now.  Just trying to head off a (future?) question if 
you're unaware of this issue.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
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: snapshot cygwin1-20031212.dll.bz2

2003-12-12 Thread Christopher Faylor
On Fri, Dec 12, 2003 at 04:25:26PM -0500, [EMAIL PROTECTED] wrote:
>Here is the output you requested.

Ok.  Nothing too interesting there.  Oh well.

I uploaded a new snapshot that fixed the core dump that *I* was seeing.
It might be interesting to try, just for yucks although I haven't done
anything to fix a non-CYGWIN=tty case, AFAIK.

--
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: Third-party products that include cygwin

2003-12-12 Thread Christopher Faylor
On Fri, Dec 12, 2003 at 05:04:11PM -0500, Robb, Sam wrote:
>>>An alternative is a nice automated way in their installer to invoke the
>>>Cygwin installer.
>>
>>Heh...  that would IMO require setup.exe to be able to do batch runs.
>>Not possible, unless changes has been done very recently.
>
>Huh?  We've been doing things that way with our software installer for
>a good 6-9 months now, using a version of setup.exe built from a CVS
>snapshot.  If the user needs Cygwin installed prior to installing our
>sofware, we kick off setup.exe and let it do it's thing.

I think this is how the BitKeeper folks do it, too, FWIW.

cgf

--
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: snapshot cygwin1-20031212.dll.bz2

2003-12-12 Thread Larry Hall
No.  Password-protected means that a share can't be accessed by just anyone.
Password authentication means a user has been authenticated by Windows via
their password.  ssh public key authentication isn't password authentication
so the user you become in this mode has no network access privileges as far
as Windows is concerned.

Larry

At 05:14 PM 12/12/2003, [EMAIL PROTECTED] you wrote:
>password-protected vs password authentication
>
>Would that be like a 98/ME box vs a NT/2000/XP Pro ? 
>
>-Original Message-
>From: Larry Hall [mailto:[EMAIL PROTECTED]
>Sent: Friday, December 12, 2003 4:30 PM
>To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>Subject: RE: snapshot cygwin1-20031212.dll.bz2
>
>
>At 02:39 PM 12/12/2003, [EMAIL PROTECTED] you wrote:
>>When I issue:
>>$ env | grep CYGWIN
>>nothing shows up.
>>
>>
>>Here is a little more info about my setup if it is useful:
>>
>>I am trying to rsync using ssh.
>>Note: one of the folders is also a windows share.
>> 
>>PC users could drop files onto a windows share, then rsync copies those
>>files over ssh to mirror it to a different box.
>
>
>Please note that accessing password-protected shares from ssh won't be 
>possible with ssh's public key authenticatio.  Use password authentication
>or shares that don't require passwords to make this work.  I'm not saying
>this is your problem now.  Just trying to head off a (future?) question if 
>you're unaware of this issue.
>
>--
>Larry Hall  http://www.rfk.com
>RFK Partners, Inc.  (508) 893-9779 - RFK Office
>838 Washington Street   (508) 893-9889 - FAX
>Holliston, MA 01746 
>
>
>--
>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/


--
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: Third-party products that include Cygwin

2003-12-12 Thread Robert Collins
On Sat, 2003-12-13 at 08:53, Hannu E K Nevalainen wrote:

> >  An
> > alternative is a nice automated way in their installer to invoke the
> > Cygwin installer.
> 
>  Heh... that would IMO require setup.exe to be able to do batch runs. Not
> possible, unless changes has been done very recently.

It's been possible to do batch runs for a long time - 1.5 years IIRC.

Rob
-- 
GPG key available at: .


signature.asc
Description: This is a digitally signed message part


cygwin1.dll 20031212 15:46:45

2003-12-12 Thread Pierre A. Humblet
CYGWIN_NT-4.0 x 1.5.6s(0.107/3/2) 20031212 15:46:45 i686 unknown unknown Cygwin

Fixes crashes I had observed when running make & scripts
under rxvt & cygwin.bat with tty, but the inetd problem
is still there.

Pierre

Attaching to program `/usr/sbin/inetd.exe', process 401
[Switching to thread 401.0x21e]
(gdb) c
Continuing.
warning: LDR: Automatic DLL Relocation in inetd.exe

warning: LDR: Dll SXGBSYS.DLL base 1000 relocated due to collision with 
Dynamically Allocated
Memory


Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 401.0x150]
0x610258ae in strerror () from /usr/bin/cygwin1.dll
(gdb) bt
#0  0x610258ae in strerror () from /usr/bin/cygwin1.dll
#1  0x610262cb in strerror () from /usr/bin/cygwin1.dll
#2  0x6108bcb3 in sigfillset () from /usr/bin/cygwin1.dll
#3  0x6100306e in getprogname () from /usr/bin/cygwin1.dll
(gdb) info threads
  5 thread 401.0x1a1  0x77f682db in ntdll!ZwWaitForSingleObject ()
   from /c/WINNT/System32/NTDLL.DLL
  3 thread 401.0x20b  0x77f6830b in ntdll!ZwWriteFile ()
   from /c/WINNT/System32/NTDLL.DLL
* 2 thread 401.0x150  0x610258ae in strerror () from /usr/bin/cygwin1.dll
  1 thread 401.0x1f6  0x77f682cb in ntdll!ZwWaitForMultipleObjects ()
   from /c/WINNT/System32/NTDLL.DLL
(gdb) Segmentation fault (core dumped)

--
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: is there a screen for cygwin?

2003-12-12 Thread Rafael Kitover
Try my extremely modified version here:

http://www.io.com/~rkitover/screen-3.9.13.tar.gz

I haven't worked on it in quite a while, detach is still broken and it's
a few versions behind now, but you will have working screen sessions.

-- 
Rafael

--
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/



vtable with snapshot >=20031123

2003-12-12 Thread Axel Naumann
Hi,

I ran into a problem with gcc 3.3.1, cygwin snapshots>=20031123 (at 
least, probably also earlier versions). The binary built from the 
attached sources (with vtbllib.hpp's INLINE_CTOR defined) coredumps. It 
seems that the vtable is invalid, probably because a class's vtable is 
created for each translation unit (it only crashes if the c'tor is 
inlined; #undef INLINE_CTOR fixes vtbl.exe).

This did not happen with earlier versions of cygwin (1.4*); as far as I 
can remember even gcc 3.3.1 with cygwin 1.4* worked. This is why I 
believe it's a cygwin problem, not a gcc problem - but I'm really just 
guessing.

Could you tell me if you can reproduce this, and whether it's cygwin or 
gcc or me? If you need more info on my system please let me know (in 
general: everything up to date, yesterday's cygwin setup.exe 
installation except for the cygwin snapshot).

Axel.


vtbl_inline.tar.gz
Description: application/gzip
--
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: annoying dos windows when running some exe's under xemacs compiled for cygwin

2003-12-12 Thread Ian Petts
Hi Robert,

I am seeing the same sort of behaviour with GNU "screen" under cygwin.

[Also posted to the gnu-screen mailing list, with no reply as yet]

When running screen under Cygwin, for each window that is open in the
session, I get a seperate, blank MS-DOS box with the cygwin command as
its title.

So when I launch screen, it runs and I get an [annoying] DOS box pop up
in the foreground over the top of my Cygwin session. If I open another
window with 'Ctrl-a c' I get a second DOS box, etc etc.

For each screen window I close, the corresponding DOS box closes, and if
I close the DOS box, that particular screen window is terminated.

Here's what I'm running:

  $ uname -a
CYGWIN_NT-4.0 abc123 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown
unknown Cygwin

  $ screen --version
Screen version 4.00.01 (FAU) 18-Sep-03

I know this isn't normal, and is very annoying. Does anyone know what is
going on here?

Thanks,
Ian.
-- 
Those who live by the sword get shot by those who don't

--
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/



cygwin1.dll snapshot messes up screen under rxvt

2003-12-12 Thread Frédéric L. W. Meunier
I noticed the latest cygwin1.dll snapshot messes up screen
under rxvt. I haven't tried spapshots for quite a while, so it
may be an old problem. I know screen isn't part of Cygwin, but
it's very useful, even without the reattaching stuff. I'm using
my package from http://www.pervalidus.net/cygwin/screen/ . The
results with the default terminal (which I never use it since
copy / paste accents never worked for me) are even worse, and
also happen with 1.5.5, but here are screenshots with rxvt:

http://www.pervalidus.net/tmp/screen-release.png is with 1.5.5.

http://www.pervalidus.net/tmp/screen-snapshot.png is with
latest snapshot.

-- 
How to contact me - http://www.pervalidus.net/contact.html

--
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/



[ANNOUNCEMENT] New Package: libsmi 0.4.2-1

2003-12-12 Thread Abe Backus
This package contains a library to access SMI MIB information and various
utilities that are useful when you are working with SMI MIB documents.  If
you work with SNMP, these utilities are helpful.  For instance, I use
"smilint" to check my MIB documents for completeness.

The smilint website is http://www.ibr.cs.tu-bs.de/projects/libsmi/.

To update your installation, click on the "Install Cygwin now" link on the
http://cygwin.com/ web page. This downloads setup.exe to your system. Then,
run setup and answer all of the questions.

To install libsmi for the first time, choose "libsmi" from the packages
list, in the "Devel" category.

Remember that some mirror sites may not have updated before this
announcement is made. If your usual mirror does not have the latest version
of this package, please be patient or select an alternate mirror.

If you have general questions or comments, please send them to
<[EMAIL PROTECTED]>. I would appreciate it if you would use this address
rather than emailing me directly.

Thanks!
-Abe



--
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/



cygintl-2.dll could not be found in the specified path

2003-12-12 Thread Ivanova Dvorak
Hi,
  
I just installed the cygwin version on win2k (Dec
13, 2003 - 1AM, ET time New York) and I receive an
error message during installation with cgintl-2.dll
missing and installation completes normally. Again
receive same messae when running the bash shell.
 
Any solution?
 
Thanks,
Ivanova.


__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/

--
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/