public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* CYGWIN on W2K Telnet Server. Solution "to couldn't make stderr distinct from stdout"
@ 2001-07-20  3:02 LeGardeur Michel (external)
  2001-07-20  3:52 ` CYGWIN on W2K Telnet Server. Solution "to couldn't make stderr di stinct " Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: LeGardeur Michel (external) @ 2001-07-20  3:02 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

Hallo,

for information

the instruction "ECHO blablabla >NUL" before starting any CYGWIN tool within
a Telnet session on the W2K Telnet Server is sufficient to get rid of this
error.

M. Le Gardeur

*	To: cygwin <cygwin at cygwin dot com> 
*	Subject: Re: Error: couldn't make stderr distinct from stdout 
*	From: Corinna Vinschen <cygwin at cygwin dot com> 
*	Date: Tue, 19 Dec 2000 13:02:57 +0100 
*	References:
<90F3E2EF5221D411AAF5006008A8451601AAE980@server.pixsci.com <msg00845.html>>


On Tuesday 19 December 2000 01:55, Don Bowman wrote:
> installer. When invoked via telnet, bash quits with the
> same "couldn't make stderr distinct from stdout" message.
> My other windows2000 box with the same setup but cygwin1.dll
> of ts=1998/12/3 23:39 works well with the telnet server.

Fine. There's has been made a change in Cygwin which tries the
following on init:

- Get the stdin, stdout and stderr handles from the system.
- If stdout handle == stderr handle then try to separate them
  into two _different_ handles. This is important to allow
  separate redirection of stdout and stderr.
- If this failes (The Win32 system call `DuplicateHandle')
  the above system error output is forced.

The problem is that the W2K telnet server doesn't allow duplicating
the handle for some strange reason which only Microsoft knows of.

Try using telnet from the inetutils package.

Corinna




--
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] 2+ messages in thread

* Re: CYGWIN on W2K Telnet Server. Solution "to couldn't make stderr di stinct from stdout"
  2001-07-20  3:02 CYGWIN on W2K Telnet Server. Solution "to couldn't make stderr distinct from stdout" LeGardeur Michel (external)
@ 2001-07-20  3:52 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2001-07-20  3:52 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

On Fri, Jul 20, 2001 at 12:02:26PM +0200, LeGardeur Michel (external) wrote:
> Hallo,
> 
> for information
> 
> the instruction "ECHO blablabla >NUL" before starting any CYGWIN tool within
> a Telnet session on the W2K Telnet Server is sufficient to get rid of this
> error.

:-) Isn't that simple in a really funny way? I like it!

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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] 2+ messages in thread

end of thread, other threads:[~2001-07-20  3:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-20  3:02 CYGWIN on W2K Telnet Server. Solution "to couldn't make stderr distinct from stdout" LeGardeur Michel (external)
2001-07-20  3:52 ` CYGWIN on W2K Telnet Server. Solution "to couldn't make stderr di stinct " Corinna Vinschen

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).