Article View: news.software.readers
Article #847Re: Specialized news protocols (Re: rn "revising soft pointers...")
From: Mark Moraes
Date: Thu, 09 Jan 1992 08:04
Date: Thu, 09 Jan 1992 08:04
55 lines
3080 bytes
3080 bytes
The concept of using filesystems to represent hierarchally-structured,
named objects predates Plan 9 by quite a bit. For example, see the
refs below. It's unfortunate that many of the powerful ideas in
Research Unix haven't made it into modern commercial Un*xes. (But
then, I'm not holding my breath till a certain popular workstation
vendor ships a builtin test and shell functions in /bin/sh :-)
Everytime I think about a NNRP (network news reader protocol), I end
up with a spec that looks awfully like a network file system. Give a
server an object name, possibly some location information and it
returns you the object contents or a subset thereof. It's very easy to
express it in terms of open/read/seek. It's easy to pretend the
objects are files. In news, one doesn't even have to pretend much,
since articles are files -- converting from message-id to filename is
a history file lookup. If expressed as files, one can use old
programs (cat, grep, awk) in new and interesting ways, rather than
having to hack support for a new or modified protocol into a client.
Most of NNTP's news reader support seems to be ways to get at data
that used to be in files.
Where does one insert sleeps to make
echo 'ARTICLE <s68Hk&4u4@cs.psu.edu>' | telnet news-server.csri nntp | more
work (substitute news-server.csri with your favourite nntp server)
If you have $NEWSCTL and $NEWSARTS NFS mounted, try
more `newshist '<s68Hk&4u4@cs.psu.edu>' | awk '{print $3}' | tr . /`
Files are a useful metaphor. Accessing named chunks of data over the
network seems a recurring theme.
Mark.
--
%A T.J. Killian
%T Processes as files
%J Proceedings of the USENIX 1984 Summer Conference
%C Salt Lake City, Utah
%D June 1984
%K usenix84s
%P 203-207
%A David Hitz
%A Peter Honeyman
%T A mail file system for Eighth Edition Unix
%J Proceedings of the USENIX 1986 Summer Conference
%C Atlanta, Georgia
%D June 1986
%K usenix86s
%P 391-394
%K V8, MFS, NETFS
Also see the Research Unix manuals (Tenth Edition) available at your
neighbourhood bookstore) Enjoyable reading, if you like Unix and nifty
ideas.
--
Technical Details
Message-ID:
<92Jan9.030400edt.271@smoke.cs.toronto.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!sun-barr!cs.utexas.edu!usc!rpi!news-server.csri.toronto.edu!smoke.cs.toronto.edu!moraesReferences:
<1991Dec24.171831.13201@devon.lns.pa.us> <BGyMsv.GoA@world.std.com> <1991Dec25.135452.3817@lerami.lonestar.org> <1992Jan2.230017.9826@rice.edu> <92Jan2.225751edt.210@smoke.cs.toronto.edu> <1q9H5u7t4@cs.psu.edu> <BHJE9I.93t@world.std.com> <s68Hk&4u4@cs.psu.edu>Show Full Headers
Complete Article Headers
Message-ID: <92Jan9.030400edt.271@smoke.cs.toronto.edu> Subject: Re: Specialized news protocols (Re: rn "revising soft pointers...") Date: Thu, 09 Jan 1992 08:04:18 +0000 From: moraes@cs.toronto.edu (Mark Moraes) References: <1991Dec24.171831.13201@devon.lns.pa.us> <BGyMsv.GoA@world.std.com> <1991Dec25.135452.3817@lerami.lonestar.org> <1992Jan2.230017.9826@rice.edu> <92Jan2.225751edt.210@smoke.cs.toronto.edu> <1q9H5u7t4@cs.psu.edu> <BHJE9I.93t@world.std.com> <s68Hk&4u4@cs.psu.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!sun-barr!cs.utexas.edu!usc!rpi!news-server.csri.toronto.edu!smoke.cs.toronto.edu!moraes Newsgroups: news.software.b,news.software.nntp,news.software.readers Organization: Department of Computer Science, University of Toronto Lines: 55