public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Problem with new-cygwin.dll.gz ?
       [not found] <no.id>
@ 1998-04-06  4:08 ` Geoffrey Noer
  1998-04-06 17:20   ` Problem with new-cygwin.dll.gz - Not here there isn't Guy Gascoigne - Piggford
  1999-07-01 23:09 ` A new user of cygwin and unix based system Glenn Spell
                   ` (8 subsequent siblings)
  9 siblings, 1 reply; 24+ messages in thread
From: Geoffrey Noer @ 1998-04-06  4:08 UTC (permalink / raw)
  To: p.baker; +Cc: gnu-win32

Peter Baker wrote:
> 
> On Fri, 3 Apr 1998, Peter Kuehn wrote:
> 
> > yes there is (even if Geoffrey won't believe it :-(

I would be happy to replace the archive if it's genuinely corrupted.
It does seem that a lot of people have downloaded and installed
b19.1 without having problems, so at this point I'm not inclined
to think this is the problem...

-- 
Geoffrey Noer
noer@cygnus.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Problem with new-cygwin.dll.gz  - Not here there isn't
  1998-04-06  4:08 ` Problem with new-cygwin.dll.gz ? Geoffrey Noer
@ 1998-04-06 17:20   ` Guy Gascoigne - Piggford
  1998-04-08 16:25     ` Problem with new-cygwin.dll.gz Emil Hallin
  0 siblings, 1 reply; 24+ messages in thread
From: Guy Gascoigne - Piggford @ 1998-04-06 17:20 UTC (permalink / raw)
  To: gnu-win32

At 04:05 AM 4/6/98 -0700, Geoffrey Noer wrote:
>Peter Baker wrote:
>> 
>> On Fri, 3 Apr 1998, Peter Kuehn wrote:
>> 
>> > yes there is (even if Geoffrey won't believe it :-(
>
>I would be happy to replace the archive if it's genuinely corrupted.
>It does seem that a lot of people have downloaded and installed
>b19.1 without having problems, so at this point I'm not inclined
>to think this is the problem...

Well I just downloaded it (again) without any problems at all.

gzip expanded it without any complaints (as doesd WinZIP).  More to the
point once it's expanded the resulting .dll works just fine.

Guy


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Problem with new-cygwin.dll.gz
  1998-04-06 17:20   ` Problem with new-cygwin.dll.gz - Not here there isn't Guy Gascoigne - Piggford
@ 1998-04-08 16:25     ` Emil Hallin
  0 siblings, 0 replies; 24+ messages in thread
From: Emil Hallin @ 1998-04-08 16:25 UTC (permalink / raw)
  To: gnu-win32

I think that the problem is the files are somehow being downloaded as
text files; possibly some browser is not recognizing the ".gz" extension
and defaults to treating unrecognized files as if they were text? The
download works fine for me, but I have associated the .gz extension with
winzip in my browser. Right clicking on the link and choosing "save as"
to force a binary download might solve the problem some people are
having. That often solves problems I have with browser downloads.
	emil
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: A new user of cygwin and unix based system
       [not found] <no.id>
  1998-04-06  4:08 ` Problem with new-cygwin.dll.gz ? Geoffrey Noer
@ 1999-07-01 23:09 ` Glenn Spell
  1999-07-02  9:06   ` Chris Faylor
  1999-07-31 18:34   ` Glenn Spell
  1999-07-02  9:45 ` Glenn Spell
                   ` (7 subsequent siblings)
  9 siblings, 2 replies; 24+ messages in thread
From: Glenn Spell @ 1999-07-01 23:09 UTC (permalink / raw)
  To: cygwin

"'Chris Faylor'"cygwin@sourceware.cygnus.com wrote:

> Ok.  Is it important to post my title frequently?  The "who's who"
> information is easily retrievable from the project web page (I just
> updated it with DJ's and my titles).

You might want to update it again. In the fourth paragraph you
misspelled "Corinna Vinschen".

-glenn

-- 
 )      Glenn Spell <glenn@gs.fay.nc.us>      )   _       _____
 )   Fayetteville, North Carolina, U. S. A.   )_ (__\____o /_/_ |
 )  _  _  _  _  _  _  _  _  _  _  _  _  _  _  )   >-----._/_/__]>
 )- blue skies - happy trails - sweet dreams -)             `0  |

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: A new user of cygwin and unix based system
  1999-07-01 23:09 ` A new user of cygwin and unix based system Glenn Spell
@ 1999-07-02  9:06   ` Chris Faylor
  1999-07-31 18:34     ` Chris Faylor
  1999-07-31 18:34   ` Glenn Spell
  1 sibling, 1 reply; 24+ messages in thread
From: Chris Faylor @ 1999-07-02  9:06 UTC (permalink / raw)
  To: cygwin

On Fri, Jul 02, 1999 at 02:08:54AM -0400, Glenn Spell wrote:
>"'Chris Faylor'"cygwin@sourceware.cygnus.com wrote:
>
>> Ok.  Is it important to post my title frequently?  The "who's who"
>> information is easily retrievable from the project web page (I just
>> updated it with DJ's and my titles).
>
>You might want to update it again. In the fourth paragraph you
>misspelled "Corinna Vinschen".

This is supposed to be "funny" right?  Corinna isn't mentioned in the
fourth paragraph.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: A new user of cygwin and unix based system
       [not found] <no.id>
  1998-04-06  4:08 ` Problem with new-cygwin.dll.gz ? Geoffrey Noer
  1999-07-01 23:09 ` A new user of cygwin and unix based system Glenn Spell
@ 1999-07-02  9:45 ` Glenn Spell
  1999-07-31 18:34   ` Glenn Spell
  2000-04-20 19:03 ` a bug Chris Faylor
                   ` (6 subsequent siblings)
  9 siblings, 1 reply; 24+ messages in thread
From: Glenn Spell @ 1999-07-02  9:45 UTC (permalink / raw)
  To: cygwin

Chris Faylor <cygwin@sourceware.cygnus.com> wrote:

> On Fri, Jul 02, 1999 at 02:08:54AM -0400, Glenn Spell wrote:
>
> >You might want to update it again. In the fourth paragraph you
> >misspelled "Corinna Vinschen".
>
> Corinna isn't mentioned in the fourth paragraph.

Yes, it's an obvious discrepancy. Can you fix it?

Thanks,

-glenn

-- 
 )      Glenn Spell <glenn@gs.fay.nc.us>      )   _       _____
 )   Fayetteville, North Carolina, U. S. A.   )_ (__\____o /_/_ |
 )  _  _  _  _  _  _  _  _  _  _  _  _  _  _  )   >-----._/_/__]>
 )- blue skies - happy trails - sweet dreams -)             `0  |

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: A new user of cygwin and unix based system
  1999-07-02  9:45 ` Glenn Spell
@ 1999-07-31 18:34   ` Glenn Spell
  0 siblings, 0 replies; 24+ messages in thread
From: Glenn Spell @ 1999-07-31 18:34 UTC (permalink / raw)
  To: cygwin

Chris Faylor <cygwin@sourceware.cygnus.com> wrote:

> On Fri, Jul 02, 1999 at 02:08:54AM -0400, Glenn Spell wrote:
>
> >You might want to update it again. In the fourth paragraph you
> >misspelled "Corinna Vinschen".
>
> Corinna isn't mentioned in the fourth paragraph.

Yes, it's an obvious discrepancy. Can you fix it?

Thanks,

-glenn

-- 
 )      Glenn Spell <glenn@gs.fay.nc.us>      )   _       _____
 )   Fayetteville, North Carolina, U. S. A.   )_ (__\____o /_/_ |
 )  _  _  _  _  _  _  _  _  _  _  _  _  _  _  )   >-----._/_/__]>
 )- blue skies - happy trails - sweet dreams -)             `0  |

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: A new user of cygwin and unix based system
  1999-07-02  9:06   ` Chris Faylor
@ 1999-07-31 18:34     ` Chris Faylor
  0 siblings, 0 replies; 24+ messages in thread
From: Chris Faylor @ 1999-07-31 18:34 UTC (permalink / raw)
  To: cygwin

On Fri, Jul 02, 1999 at 02:08:54AM -0400, Glenn Spell wrote:
>"'Chris Faylor'"cygwin@sourceware.cygnus.com wrote:
>
>> Ok.  Is it important to post my title frequently?  The "who's who"
>> information is easily retrievable from the project web page (I just
>> updated it with DJ's and my titles).
>
>You might want to update it again. In the fourth paragraph you
>misspelled "Corinna Vinschen".

This is supposed to be "funny" right?  Corinna isn't mentioned in the
fourth paragraph.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: A new user of cygwin and unix based system
  1999-07-01 23:09 ` A new user of cygwin and unix based system Glenn Spell
  1999-07-02  9:06   ` Chris Faylor
@ 1999-07-31 18:34   ` Glenn Spell
  1 sibling, 0 replies; 24+ messages in thread
From: Glenn Spell @ 1999-07-31 18:34 UTC (permalink / raw)
  To: cygwin

"'Chris Faylor'"cygwin@sourceware.cygnus.com wrote:

> Ok.  Is it important to post my title frequently?  The "who's who"
> information is easily retrievable from the project web page (I just
> updated it with DJ's and my titles).

You might want to update it again. In the fourth paragraph you
misspelled "Corinna Vinschen".

-glenn

-- 
 )      Glenn Spell <glenn@gs.fay.nc.us>      )   _       _____
 )   Fayetteville, North Carolina, U. S. A.   )_ (__\____o /_/_ |
 )  _  _  _  _  _  _  _  _  _  _  _  _  _  _  )   >-----._/_/__]>
 )- blue skies - happy trails - sweet dreams -)             `0  |

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: a bug
       [not found] <no.id>
                   ` (2 preceding siblings ...)
  1999-07-02  9:45 ` Glenn Spell
@ 2000-04-20 19:03 ` Chris Faylor
  2001-09-17 21:40 ` Unwanted compiler warnings with w32api Shayne Steele
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 24+ messages in thread
From: Chris Faylor @ 2000-04-20 19:03 UTC (permalink / raw)
  To: cygwin

On Fri, Apr 21, 2000 at 01:31:03AM +0200, vigprogdev wrote:
>Hi !
>I've tried to make a program with the new 
>release. I think that's a -mno-cygwin 
>related problem (with libstdc++) : this 
>works without the flag :

I doubt very much if there is a stdc++ library for -mno-cygwin.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Unwanted compiler warnings with w32api
       [not found] <no.id>
                   ` (3 preceding siblings ...)
  2000-04-20 19:03 ` a bug Chris Faylor
@ 2001-09-17 21:40 ` Shayne Steele
  2001-09-17 21:56 ` Shayne Steele
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 24+ messages in thread
From: Shayne Steele @ 2001-09-17 21:40 UTC (permalink / raw)
  To: Cygwin

> 
> What version of w32api are you using?  What is the output of `cat
> /usr/include/w32api/w32api.h'?

-rw-rw-rw-   1 Fleshy1  root   537620 Sep 15 22:36 w32api-1.1-1.tar.bz2

c:\>cat /usr/include/w32api/w32api.h
cat /usr/include/w32api/w32api.h
#ifndef _W32API_H_
#define _W32API_H_

#define __W32API_VERSION 1.1
#define __W32API_MAJOR_VERSION 1
#define __W32API_MINOR_VERSION 1

#endif /* ndef _W32API_H_ */

c:\>

-- 
Shayne Steele	    Graduate Student in Computer Science at FSU
steele@cs.fsu.edu   http://www.cs.fsu.edu/~steele/
With great abilities come great responsibilities. -- Stan Lee


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Unwanted compiler warnings with w32api
       [not found] <no.id>
                   ` (4 preceding siblings ...)
  2001-09-17 21:40 ` Unwanted compiler warnings with w32api Shayne Steele
@ 2001-09-17 21:56 ` Shayne Steele
  2001-10-25 18:08 ` 30 second startup delay on Cygwin programs from SYSTEM account Scott Atwood
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 24+ messages in thread
From: Shayne Steele @ 2001-09-17 21:56 UTC (permalink / raw)
  To: cygwin

> What version of w32api are you using?  What is the output of `cat
> /usr/include/w32api/w32api.h'?
> 
> Earnie.

-rw-rw-rw-   1 Fleshy1  root   537620 Sep 15 22:36 w32api-1.1-1.tar.bz2

c:\>cat /usr/include/w32api/w32api.h
cat /usr/include/w32api/w32api.h
#ifndef _W32API_H_
#define _W32API_H_

#define __W32API_VERSION 1.1
#define __W32API_MAJOR_VERSION 1
#define __W32API_MINOR_VERSION 1

#endif /* ndef _W32API_H_ */

c:\>

> >         I recently updated to the latest w32api.  I compile my
> > programs with gcc and the options '-Wall -W -pedantic', and up until 
> > the upgrade have had no warnings.  Now I have some 'Extra' warnings
> > 
> > In file included from /usr/include/w32api/windef.h:145,
> >                  from /usr/include/w32api/windows.h:98,
> >                  from main-win.c:246:
> > /usr/include/w32api/winnt.h:1712: warning: ANSI C doesn't support
> > unnamed structs/unions
> > /usr/include/w32api/winnt.h:1725: warning: ANSI C doesn't support
> > unnamed structs/unions


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: 30 second startup delay on Cygwin programs from SYSTEM account
       [not found] <no.id>
                   ` (5 preceding siblings ...)
  2001-09-17 21:56 ` Shayne Steele
@ 2001-10-25 18:08 ` Scott Atwood
  2001-10-29 15:56   ` Robert Collins
  2001-11-11  8:26 ` Cygwin homepage has problems Shayne Steele
                   ` (2 subsequent siblings)
  9 siblings, 1 reply; 24+ messages in thread
From: Scott Atwood @ 2001-10-25 18:08 UTC (permalink / raw)
  To: cygwin

> I am running Cygwin 1.3.3 on Windows 2000 Server, and I have noticed a
> strange problem.  Whenever I try to start a Cygwin process from a windows
> cmd shell as the user SYSTEM, there is an approximately 30 second delay
> before the process starts.  If I have started a bash process as SYSTEM,
> subesequent processes started from within bash start normally.  Cygwin
> processes always start normally for the Administrator user.
>
> I have looked in the FAQ and the documentation, searched Google, and
> searched the Cygwin mailing list archive, and I couldn't find any
> mention of this problem.

I ran "strace bash" as user SYSTEM and here is an excerpt of the output.

 2949  226918 [main] bash 1428 internal_getlogin: GetUserName() = SYSTEM
30450200 30677118 [main] bash 1428 internal_getlogin: Domain: (null), Logon Serv
er: CHARON, Windows Username: SYSTEM

The output paused for about 30 seconds after the first line printed, and
before the second line printed.

Here is the same section of "strace bash" for user Administrator:

 2980  255639 [main] bash 1708 internal_getlogin: GetUserName() = Administrator
  831  256470 [main] bash 1708 internal_getlogin: User: Administrator, Domain: C
HARON, Logon Server: CHARON
305105  561575 [main] bash 1708 internal_getlogin: Domain: CHARON, Logon Server:
CHARON, Windows Username: Administrator


And again as user SYSTEM from within an already running bash process:

 1435  282240 [main] bash 1212 internal_getlogin: GetUserName() = SYSTEM
365580  647820 [main] bash 1212 internal_getlogin: Domain: (null), Logon Server:
CHARON, Windows Username: SYSTEM


I downloaded the cygwin 1.3.3 source code, and I was able to isolate these
lines of output as coming from the internal_getlogin method in the
winsup/cygwin/uinfo.cc file, somewhere between line 41 and 114.


I don't know enough about the structure of the cygwin DLL to be able to
isolate the problem any closer than that, since there are many method
calls in this region of the code.

-Scott


--
Scott Atwood
atwood@cs.stanford.edu
PGP key fingerprint:  2852 FAE0 B0BB FE52 7002  1019 4D48 78B3 6FF0 A89F

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: 30 second startup delay on Cygwin programs from SYSTEM account
  2001-10-25 18:08 ` 30 second startup delay on Cygwin programs from SYSTEM account Scott Atwood
@ 2001-10-29 15:56   ` Robert Collins
  2001-11-05 14:39     ` Scott Atwood
  0 siblings, 1 reply; 24+ messages in thread
From: Robert Collins @ 2001-10-29 15:56 UTC (permalink / raw)
  To: Scott Atwood; +Cc: cygwin

On Fri, 2001-10-26 at 11:07, Scott Atwood wrote:
 
> I ran "strace bash" as user SYSTEM and here is an excerpt of the output.
> 
>  2949  226918 [main] bash 1428 internal_getlogin: GetUserName() = SYSTEM
> 30450200 30677118 [main] bash 1428 internal_getlogin: Domain: (null), Logon Serv
> er: CHARON, Windows Username: SYSTEM
> 
> The output paused for about 30 seconds after the first line printed, and
> before the second line printed.

Right, here's whats happening:
SYSTEM doesn't belong to any network groups - it's local only, but
Cygwin is trying to find out it's network data - such as the home
domain.

Cygwin spawned/forked/execed process's can inherit that data in the
cygwin heap IIRC. Which is why no delay is seen - it's been optimised
away. But there would be a 30 second delay firing up bash.

As for why the 30 second delay in the first place, what's your system
config:
Are you a member of a win2k AD or an NT4 domain?
Are you running NBT?
Are you running NTLM?
Are you running the Server process?
Are you running the workstation process?

Cheers,
Rob


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: 30 second startup delay on Cygwin programs from SYSTEM account
  2001-10-29 15:56   ` Robert Collins
@ 2001-11-05 14:39     ` Scott Atwood
  2001-11-05 15:04       ` Robert Collins
  0 siblings, 1 reply; 24+ messages in thread
From: Scott Atwood @ 2001-11-05 14:39 UTC (permalink / raw)
  To: Robert Collins; +Cc: Scott Atwood, cygwin

Robert Collins writes:
> On Fri, 2001-10-26 at 11:07, Scott Atwood wrote:
> > I ran "strace bash" as user SYSTEM and here is an excerpt of the output.
> > 
> >  2949  226918 [main] bash 1428 internal_getlogin: GetUserName() = SYSTEM
> > 30450200 30677118 [main] bash 1428 internal_getlogin: Domain: (null),
> > Logon Server: CHARON, Windows Username: SYSTEM
> > 
> > The output paused for about 30 seconds after the first line printed, and
> > before the second line printed.
> 
> Right, here's whats happening:
> SYSTEM doesn't belong to any network groups - it's local only, but
> Cygwin is trying to find out it's network data - such as the home
> domain.
> 
> Cygwin spawned/forked/execed process's can inherit that data in the
> cygwin heap IIRC. Which is why no delay is seen - it's been optimised
> away. But there would be a 30 second delay firing up bash.
> 
> As for why the 30 second delay in the first place, what's your system
> config:
> Are you a member of a win2k AD or an NT4 domain?

No and no.

> Are you running NBT?

Yes.

> Are you running NTLM?

No.

> Are you running the Server process?

Yes.

> Are you running the workstation process?

Yes.

-- 
Scott Atwood
atwood@cs.stanford.edu
PGP key fingerprint:  2852 FAE0 B0BB FE52 7002  1019 4D48 78B3 6FF0 A89F

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: 30 second startup delay on Cygwin programs from SYSTEM account
  2001-11-05 14:39     ` Scott Atwood
@ 2001-11-05 15:04       ` Robert Collins
  2001-11-05 15:13         ` Scott Atwood
  0 siblings, 1 reply; 24+ messages in thread
From: Robert Collins @ 2001-11-05 15:04 UTC (permalink / raw)
  To: Scott Atwood; +Cc: cygwin

On Tue, 2001-11-06 at 09:36, Scott Atwood wrote:
> Robert Collins writes:
> > On Fri, 2001-10-26 at 11:07, Scott Atwood wrote:
> > > I ran "strace bash" as user SYSTEM and here is an excerpt of the output.
> > > 
> > >  2949  226918 [main] bash 1428 internal_getlogin: GetUserName() = SYSTEM
> > > 30450200 30677118 [main] bash 1428 internal_getlogin: Domain: (null),
> > > Logon Server: CHARON, Windows Username: SYSTEM
> > > 
> > > The output paused for about 30 seconds after the first line printed, and
> > > before the second line printed.
> > 
> > Right, here's whats happening:
> > SYSTEM doesn't belong to any network groups - it's local only, but
> > Cygwin is trying to find out it's network data - such as the home
> > domain.
> > 
> > Cygwin spawned/forked/execed process's can inherit that data in the
> > cygwin heap IIRC. Which is why no delay is seen - it's been optimised
> > away. But there would be a 30 second delay firing up bash.
> > 
> > As for why the 30 second delay in the first place, what's your system
> > config:
> > Are you a member of a win2k AD or an NT4 domain?
> 
> No and no.
> 
> > Are you running NBT?
> 
> Yes.
> 
> > Are you running NTLM?
> 
> No.
> 
> > Are you running the Server process?
> 
> Yes.
> 
> > Are you running the workstation process?
> 
> Yes.
> 
>

Does the behaviour change if you start the NTLM helper process?

Rob


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: 30 second startup delay on Cygwin programs from SYSTEM account
  2001-11-05 15:04       ` Robert Collins
@ 2001-11-05 15:13         ` Scott Atwood
  0 siblings, 0 replies; 24+ messages in thread
From: Scott Atwood @ 2001-11-05 15:13 UTC (permalink / raw)
  To: Robert Collins; +Cc: Scott Atwood, cygwin

Robert Collins writes:
> 
> On Tue, 2001-11-06 at 09:36, Scott Atwood wrote:
> > Robert Collins writes:
> > > Are you running NTLM?
> > 
> > No.
> 
> Does the behaviour change if you start the NTLM helper process?

No.

-Scott

-- 
Scott Atwood
atwood@cs.stanford.edu
PGP key fingerprint:  2852 FAE0 B0BB FE52 7002  1019 4D48 78B3 6FF0 A89F

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Cygwin homepage has problems
       [not found] <no.id>
                   ` (6 preceding siblings ...)
  2001-10-25 18:08 ` 30 second startup delay on Cygwin programs from SYSTEM account Scott Atwood
@ 2001-11-11  8:26 ` Shayne Steele
  2003-01-16 19:15 ` Command-line email? dmeans
  2004-07-16  8:36 ` mmap bug on Windows 9x Anton Ertl
  9 siblings, 0 replies; 24+ messages in thread
From: Shayne Steele @ 2001-11-11  8:26 UTC (permalink / raw)
  To: Robert Collins; +Cc: cygwin

> 
> Looks fine to me.
> 
> Rob

  Yes, NOW it is fixed.

-- 
Shayne Steele	    Graduate Student in Computer Science at FSU
steele@cs.fsu.edu   http://www.cs.fsu.edu/~steele/
With great abilities come great responsibilities. -- Stan Lee

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Command-line email?
       [not found] <no.id>
                   ` (7 preceding siblings ...)
  2001-11-11  8:26 ` Cygwin homepage has problems Shayne Steele
@ 2003-01-16 19:15 ` dmeans
  2003-01-17 10:09   ` Dr. Volker Zell
  2004-07-16  8:36 ` mmap bug on Windows 9x Anton Ertl
  9 siblings, 1 reply; 24+ messages in thread
From: dmeans @ 2003-01-16 19:15 UTC (permalink / raw)
  To: cygwin

ssmtp, pine, mutt,  and there's always perl Mail::Sender.

David

> 
> Does cygwin have a simple command-line email tool to toss an email to an
> SMTP server (without having to configure and run a full-taco MTA)?
> 
> Thanks,
> Michael
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Command-line email?
  2003-01-16 19:15 ` Command-line email? dmeans
@ 2003-01-17 10:09   ` Dr. Volker Zell
  0 siblings, 0 replies; 24+ messages in thread
From: Dr. Volker Zell @ 2003-01-17 10:09 UTC (permalink / raw)
  To: cygwin

>>>>> "dmeans" == dmeans  <dmeans@the-means.net> writes:

    dmeans> ssmtp, pine, mutt,  and there's always perl Mail::Sender.
    dmeans> David

    >> 
    >> Does cygwin have a simple command-line email tool to toss an email to an
    >> SMTP server (without having to configure and run a full-taco MTA)?
    >> 
    >> Thanks,
    >> Michael

And there's also nail.

http://omnibus.uni-freiburg.de/~gritter/

From the web page:

Nail is a mail user agent derived from Berkeley Mail 8.1. 
It is intended to provide the functionality of the POSIX.2 
mailx command with additional support for MIME messages, POP3 and SMTP. 
In recent system environments, nail is Unicode/UTF-8 capable. It 
further contains some minor enhancements like the ability to set 
a From: Address.

I have it working here.

Ciao
  Volker


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: mmap bug on Windows 9x
       [not found] <no.id>
                   ` (8 preceding siblings ...)
  2003-01-16 19:15 ` Command-line email? dmeans
@ 2004-07-16  8:36 ` Anton Ertl
  2004-07-16 15:03   ` Corinna Vinschen
  9 siblings, 1 reply; 24+ messages in thread
From: Anton Ertl @ 2004-07-16  8:36 UTC (permalink / raw)
  To: anton; +Cc: cygwin

Anton Ertl wrote:
> 
> On Windows 9x/ME different calls to mmap sometimes produce the same
> address (without that memory being unmapped in the meantime, at least
> not by application code).

You find a condensed test program below.

On Windows ME with cygwin1.dll 1.5.10 it outputs:

try mmap($0, $40000, ..., MAP_ANON, ...); success, address=$833ca000
try mmap($8340b000, $40000, ..., MAP_ANON, ...); success, address=$833ca000

Note that the result addresses are the same.

On Windows 2000 with cygwin1.dll 1.3.22 it outputs:

try mmap($0, $40000, ..., MAP_ANON, ...); success, address=$640000
try mmap($681000, $40000, ..., MAP_ANON, ...); success, address=$680000

i.e., non-overlapping memory ranges, as it should.

I believe that this is a problem that both cygwin1.dlls have on
Windows ME/9x (and not on NT/2K/XP), not something arising from the
difference between cygwin versions (we see a problem that probably
arises from this bug also with the Gforth-for-Windows package that
includes cygwin1.dll 1.3.22).

- anton

Here's the test program (compile and run with "gcc -O main.c; ./a):
-----------------------------------------------------
#include <errno.h>
#include <ctype.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <math.h>
#include <sys/types.h>
#ifndef STANDALONE
#include <sys/stat.h>
#endif
#include <fcntl.h>
#include <assert.h>
#include <stdlib.h>
#include <signal.h>
#ifndef STANDALONE
#include <sys/mman.h>
#endif

int debug=1;
#define HAVE_MMAP
typedef char *Address;
typedef int Cell;
int pagesize=4096;

static Address next_address=0;
void after_alloc(Address r, Cell size)
{
  if (r != (Address)-1) {
    if (debug)
      fprintf(stderr, "success, address=$%lx\n", (long) r);
    if (pagesize != 1)
      next_address = (Address)(((((Cell)r)+size-1)&-pagesize)+2*pagesize); /* leave one page unmapped */
  } else {
    if (debug)
      fprintf(stderr, "failed: %s\n", strerror(errno));
  }
}

#ifndef MAP_FAILED
#define MAP_FAILED ((Address) -1)
#endif
#ifndef MAP_FILE
# define MAP_FILE 0
#endif
#ifndef MAP_PRIVATE
# define MAP_PRIVATE 0
#endif
#if !defined(MAP_ANON) && defined(MAP_ANONYMOUS)
# define MAP_ANON MAP_ANONYMOUS
#endif

#if defined(HAVE_MMAP)
static Address alloc_mmap(Cell size)
{
  Address r;

#if defined(MAP_ANON)
  if (debug)
    fprintf(stderr,"try mmap($%lx, $%lx, ..., MAP_ANON, ...); ", (long)next_address, (long)size);
  r = mmap(next_address, size, PROT_EXEC|PROT_READ|PROT_WRITE, MAP_ANON|MAP_PRIVATE, -1, 0);
#else /* !defined(MAP_ANON) */
  /* Ultrix (at least) does not define MAP_FILE and MAP_PRIVATE (both are
     apparently defaults) */
  static int dev_zero=-1;

  if (dev_zero == -1)
    dev_zero = open("/dev/zero", O_RDONLY);
  if (dev_zero == -1) {
    r = MAP_FAILED;
    if (debug)
      fprintf(stderr, "open(\"/dev/zero\"...) failed (%s), no mmap; ", 
	      strerror(errno));
  } else {
    if (debug)
      fprintf(stderr,"try mmap($%lx, $%lx, ..., MAP_FILE, dev_zero, ...); ", (long)next_address, (long)size);
    r=mmap(next_address, size, PROT_EXEC|PROT_READ|PROT_WRITE, MAP_FILE|MAP_PRIVATE, dev_zero, 0);
  }
#endif /* !defined(MAP_ANON) */
  after_alloc(r, size);
  return r;  
}
#endif

int main(int argc, char **argv, char **env)
{
  debug=1;
  alloc_mmap(0x40000);
  alloc_mmap(0x40000);
  exit(0);
}

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

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: mmap bug on Windows 9x
  2004-07-16  8:36 ` mmap bug on Windows 9x Anton Ertl
@ 2004-07-16 15:03   ` Corinna Vinschen
  0 siblings, 0 replies; 24+ messages in thread
From: Corinna Vinschen @ 2004-07-16 15:03 UTC (permalink / raw)
  To: cygwin

On Jul 16 09:12, Anton Ertl wrote:
> Anton Ertl wrote:
> > 
> > On Windows 9x/ME different calls to mmap sometimes produce the same
> > address (without that memory being unmapped in the meantime, at least
> > not by application code).
> 
> You find a condensed test program below.
> 
> On Windows ME with cygwin1.dll 1.5.10 it outputs:
> 
> try mmap($0, $40000, ..., MAP_ANON, ...); success, address=$833ca000
> try mmap($8340b000, $40000, ..., MAP_ANON, ...); success, address=$833ca000
> 
> Note that the result addresses are the same.

Thanks for the testcase!  Wow, I'm impressed.  Three serious bug reports
in two days which all had a simple testcase(tm) attached! 

*Sob*, I'm moved to tears.

Anyway, I found the cause of that problem.  For some reason (moon phase
or so) the mmap code didn't marked pages as used when running under 9x/Me.
This could only be observed under a specific condition of mmapping
anonymous private pages.

I've applied a fix to the repository.  Should be in the next developers
snapshot from http://cygwin.com/snapshots/


Thanks for the report,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Co-Project Leader          mailto:cygwin@cygwin.com
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/

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Cygwin homepage has problems
@ 2001-11-11  8:26 Shayne Steele
  2001-11-11  8:26 ` Robert Collins
  0 siblings, 1 reply; 24+ messages in thread
From: Shayne Steele @ 2001-11-11  8:26 UTC (permalink / raw)
  To: cygwin

        The cygwin homepage
http://sources.redhat.com/cygwin/
        is now just a 'Cygwin Package List'
       
       Please fix this.

-- 
Shayne Steele	    Graduate Student in Computer Science at FSU
steele@cs.fsu.edu   http://www.cs.fsu.edu/~steele/
With great abilities come great responsibilities. -- Stan Lee

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 24+ messages in thread

* Re: Cygwin homepage has problems
  2001-11-11  8:26 Cygwin homepage has problems Shayne Steele
@ 2001-11-11  8:26 ` Robert Collins
  0 siblings, 0 replies; 24+ messages in thread
From: Robert Collins @ 2001-11-11  8:26 UTC (permalink / raw)
  To: Shayne Steele, cygwin

Looks fine to me.

Rob
----- Original Message ----- 
From: "Shayne Steele" <steele@cs.fsu.edu>
To: <cygwin@cygwin.com>
Sent: Thursday, November 15, 2001 2:30 PM
Subject: Cygwin homepage has problems


>         The cygwin homepage
> http://sources.redhat.com/cygwin/
>         is now just a 'Cygwin Package List'
>        
>        Please fix this.
> 
> -- 
> Shayne Steele     Graduate Student in Computer Science at FSU
> steele@cs.fsu.edu   http://www.cs.fsu.edu/~steele/
> With great abilities come great responsibilities. -- Stan Lee
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2004-07-16 14:45 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <no.id>
1998-04-06  4:08 ` Problem with new-cygwin.dll.gz ? Geoffrey Noer
1998-04-06 17:20   ` Problem with new-cygwin.dll.gz - Not here there isn't Guy Gascoigne - Piggford
1998-04-08 16:25     ` Problem with new-cygwin.dll.gz Emil Hallin
1999-07-01 23:09 ` A new user of cygwin and unix based system Glenn Spell
1999-07-02  9:06   ` Chris Faylor
1999-07-31 18:34     ` Chris Faylor
1999-07-31 18:34   ` Glenn Spell
1999-07-02  9:45 ` Glenn Spell
1999-07-31 18:34   ` Glenn Spell
2000-04-20 19:03 ` a bug Chris Faylor
2001-09-17 21:40 ` Unwanted compiler warnings with w32api Shayne Steele
2001-09-17 21:56 ` Shayne Steele
2001-10-25 18:08 ` 30 second startup delay on Cygwin programs from SYSTEM account Scott Atwood
2001-10-29 15:56   ` Robert Collins
2001-11-05 14:39     ` Scott Atwood
2001-11-05 15:04       ` Robert Collins
2001-11-05 15:13         ` Scott Atwood
2001-11-11  8:26 ` Cygwin homepage has problems Shayne Steele
2003-01-16 19:15 ` Command-line email? dmeans
2003-01-17 10:09   ` Dr. Volker Zell
2004-07-16  8:36 ` mmap bug on Windows 9x Anton Ertl
2004-07-16 15:03   ` Corinna Vinschen
2001-11-11  8:26 Cygwin homepage has problems Shayne Steele
2001-11-11  8:26 ` Robert Collins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).