problem with tcsh

Corinna Vinschen corinna@vinschen.de
Thu Feb 10 08:16:00 GMT 2000


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



More information about the Cygwin mailing list