Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.unix.wizards Subject: Re: how can I get filename from file descriptor? Message-ID: <11113@smoke.BRL.MIL> Date: 19 Sep 89 21:27:29 GMT References: <9353@chinet.chi.il.us> <1639@cbnewsl.ATT.COM> <10850@smoke.BRL.MIL> <14280@super.ORG> <11099@smoke.BRL.MIL> <862@cirrusl.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 11 In article <862@cirrusl.UUCP> dhesi%cirrusl@oliveb.ATC.olivetti.com (Rahul Dhesi) writes: >I think the wizards who are shaping the development of non-AT&T UNIX >should seriously consider including a general mechanism for sending an >out-of-band EOF. Right now the concept of a zero-byte read from a tty >meaning EOF, and the zero-byte-write method describe above, are >hack-ish. I utterly disagree. Out-of-band data communication is hackish. There never HAS been an EOF in UNIX; it's always been a read() returning 0. At least that is properly synchronized with the valid data.