delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/02/10/11:10:18

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

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 AT sourceware DOT cygnus DOT com

- Raw text -


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