🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.internals
Article #2559

Re: Names pipes or UNIX domain sockets?

#2559
From: Felix Lee
Date: Fri, 21 Jun 1991 17:07
13 lines
965 bytes
> Can't you open with O_NDELAY or equivalent?

Now all we need is a shell syntax for opening with O_NDELAY set.
Otherwise it becomes tricky to do things like
	echo `date` begin >> log
if you don't know whether log is a named pipe or not.

And you also need shell access to O_SYNC, O_APPEND, O_EXCL, etc.

Perhaps rather than file redirection we need an "open" command:
	echo hello | open -WRONLY,NDELAY,SYNC,APPEND log
--
Felix Lee	flee@cs.psu.edu
Technical Details
Message-ID: <pg2H*p*-@cs.psu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!psuvax1!news
References: <1991Jun15.204226.25191@ms.uky.edu> <2J1C.5B@xds13.ferranti.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.unix.internals
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!psuvax1!news
From: flee@cs.psu.edu (Felix Lee)
Subject: Re: Names pipes or UNIX domain sockets?
Message-ID: <pg2H*p*-@cs.psu.edu>
Sender: news@cs.psu.edu (Usenet)
Nntp-Posting-Host: dictionopolis.cs.psu.edu
Organization: Penn State Computer Science
References: <1991Jun15.204226.25191@ms.uky.edu> <2J1C.5B@xds13.ferranti.com>
Date: Fri, 21 Jun 1991 17:07:20 GMT
Lines: 13