Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site mtxinu.UUCP
Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!genrad!mit-eddie!think!harvard!seismo!umcp-cs!gymble!lll-crg!dual!unisoft!mtxinu!ed
From: ed@mtxinu.UUCP (Ed Gould)
Newsgroups: net.unix-wizards
Subject: Re: With respect to "pr"
Message-ID: <424@mtxinu.UUCP>
Date: Wed, 26-Jun-85 20:33:04 EDT
Article-I.D.: mtxinu.424
Posted: Wed Jun 26 20:33:04 1985
Date-Received: Mon, 1-Jul-85 06:40:34 EDT
References: <595@umd5.UUCP> <322@umcp-cs.UUCP> <2091@sdcrdcf.UUCP>
Reply-To: ed@mtxinu.UUCP (Ed Gould)
Organization: mt Xinu, Berkeley, CA
Lines: 20

In article <2091@sdcrdcf.UUCP> faigin@sdcrdcf.UUCP (Daniel Faigin) writes:
>In article <322@umcp-cs.UUCP> chris@umcp-cs.UUCP (Chris Torek) writes:
>>Perhaps a better solution is our (well Fred's but...) ``file descriptor''
>>driver (similar to /dev/stdin in Eighth Edition Unix).  Just have your
>>program read /dev/fd0; no special casing required.

As I remember, /dev/stdin is a link to /dev/fd0 in the Eighth Edition.
Certainly, they should both exist.

>Couldn't this be done in other Unixes by using /dev/tty
>explicitly?

Only if stdin to the process in question is the terminal.  Often, it's
a pipe or some other such thing.

-- 
Ed Gould		    mt Xinu, 2910 Seventh St., Berkeley, CA  94710  USA
{ucbvax,decvax}!mtxinu!ed   +1 415 644 0146

"A man of quality is not threatened by a woman of equality."