Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <38A2E447.BFDD5FAB@vinschen.de>
Date: Thu, 10 Feb 2000 17:16:07 +0100
From: Corinna Vinschen <corinna@vinschen.de>
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: de,en
MIME-Version: 1.0
To: cygwin@sourceware.cygnus.com
Subject: Re: problem with tcsh
References: <200002100744.IAA62885@andromeda.risc.uni-linz.ac.at> <38A273D0.8D80F5CB@vinschen.de> <20000210100007.A7532@cygnus.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Chris Faylor wrote:
> On Thu, Feb 10, 2000 at 09:16:16AM +0100, Corinna Vinschen wrote:
> >> This is what strace tells me about tcsh:
> >> [...]
> >>  1947  436996 [main] TCSH 1000 posify: env var converted to PATH=/usr/LOCAL/BIN:/bin:/WINDOWS:/WINDOWS/COMMAND:/DOS:/TEXMF/MIKTEX/BIN:/PROGRAMME/PACKER:/SYSTEMS/PERL5/BIN:/MSSDK/BIN:/TEXMF/EMTEX/BIN
> >>  1830  449069 [main] TCSH 1000 _write: -1 = write (0, 0x448890, 61)
> >>  3089  452158 [main] TCSH 1000 do_exit: do_exit (1)
> >> [...]
> >
> >The `write' call can't write to stdout and returns -1.
> 
> Actually, it's trying to write to *stdin*.  That's why it is failing.
> I have no idea why, though.

Oops, you're right, I missed it. 

AFAIK this behaviour is ok for an interactive tool when it has to
be sure to write a text to the same place where a user input will
come from. I will take a look into the sources today, just to be
sure. But the fact is, it works on NT and W2K.

Q: Where is the difference to 9X?

Corinna

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

