bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: run.c translator


From: Niels Möller
Subject: Re: run.c translator
Date: 20 Mar 2002 18:00:09 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

tb@becket.net (Thomas Bushnell, BSG) writes:

> I'm baffled.  If it's a plain pipe, then you simply close the end
> you're writing on, and the reader gets EOF.

Well, I think there are systems where pipe gives you a bidirectional
pipe, but where shutdown on the pipe gives you the ENOTSOCK error. I
think I've read that pipes on the GNU system are always bidirectional,
and if so, does shutdown work on them?

And I'm also curious about pty:s, I find it a rather annoying bug in
U*IX that there's appearantly no reliable way to make the process
reading the slave side of the pty get EOF. The standard (e.g. what
emacs does) way seems to be to write ^D to the master side, and just
hope that the tty is in canonical mode and that ^D really is the EOF
character.

Regards,
/Niels



reply via email to

[Prev in Thread] Current Thread [Next in Thread]