delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/19/07:03:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: Corinna Vinschen <cygwin AT cygwin DOT com>
Date: Tue, 19 Dec 2000 13:02:57 +0100
X-Mailer: KMail [version 1.1.99]
To: cygwin <cygwin AT cygwin DOT com>
References: <90F3E2EF5221D411AAF5006008A8451601AAE980 AT server DOT pixsci DOT com>
In-Reply-To: <90F3E2EF5221D411AAF5006008A8451601AAE980@server.pixsci.com>
Subject: Re: Error: couldn't make stderr distinct from stdout
MIME-Version: 1.0
Message-Id: <00121913025705.28008@cygbert>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id HAA19440

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

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

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019