From: forsyth@caldo.demon.co.uk
To: 9fans@cse.psu.edu
Subject: Re: [9fans] bidirectional pipes
Date: Fri, 3 May 2002 08:19:14 +0100 [thread overview]
Message-ID: <bbd712554adfd8bb4802f305d169d636@caldo.demon.co.uk> (raw)
[-- Attachment #1: Type: text/plain, Size: 117 bytes --]
if it's really a pipe you can write 0 to have it read 0.
just keep that up until it goes away or you become bored.
[-- Attachment #2: Type: message/rfc822, Size: 1509 bytes --]
To: 9fans@cse.psu.edu
Subject: Re: [9fans] bidirectional pipes
Date: Thu, 2 May 2002 14:55:04 -0700
Message-ID: <20020502215511.64BD919A5F@mail.cse.psu.edu>
A reason to close one direction of a pipe is if the program
at the other end of the pipe is a filter (think "ssh system command")
and you need it to see EOF before you can be sure of getting
all its output back in the other direction.
next reply other threads:[~2002-05-03 7:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-03 7:19 forsyth [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-05-02 22:30 Russ Cox
2002-05-02 21:55 Geoff Collyer
2002-05-02 20:39 [9fans] getting at Windows files from VMware-hosted Plan 9 Scott Schwartz
2002-05-02 21:35 ` [9fans] bidirectional pipes Mike Haertel
2002-05-02 22:24 ` Scott Schwartz
2002-05-03 10:09 ` Boyd Roberts
2002-05-04 9:14 ` Steve Kilbane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bbd712554adfd8bb4802f305d169d636@caldo.demon.co.uk \
--to=forsyth@caldo.demon.co.uk \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).