Article View: news.software.readers
Article #2219Re: .newsrc format wanted
From: Geoff Collyer
Date: Tue, 22 Sep 1992 01:44
Date: Tue, 22 Sep 1992 01:44
59 lines
2320 bytes
2320 bytes
The newsrc format is defined in newsrc(5). Here's the most recent uncopyrighted one I could find (from B 2.10.1 news): .TH NEWSRC 5 .SH NAME newsrc \- information file for readnews(1) and checknews(1) .SH DESCRIPTION The .I .newsrc file contains the list of previously read articles and an optional options line for .IR readnews(1) " and " checknews(1). Each newsgroup that articles have been read from has a line of the form: .LP .I newsgroup: range .LP The .I range is a list of the articles read. It is basically a list of no.'s separated by commas with sequential no.'s collapsed with hyphens. For instance: .LP .B general: 1-78,80,85-90 .br .B fa.info-cpm: 1-7 .br .B net.news: 1 .br .B fa.info-vax! 1-5 .br .LP If the : is replaced with an ! (as in info-vax above) the newsgroup is not subscribed to and will not be shown to the user. .LP An options line starts with the word .B options (left-justified). Then there are the list of options just as they would be on the command line. For instance: .LP .B "options \-n all !fa.sf-lovers !fa.human-nets \-r" .br .B "options \-c \-r" .LP A string of lines beginning with a space or tab after the initial options line will be considered continuation lines. .SH FILES .TP 25 ~/.newsrc options and list of previously read articles .SH SEE ALSO readnews(1), checknews(1) -- Geoff Collyer world!geoff, world.std.com!geoff ``closed is Open'' - not George Orwell on ``Open'' Systems open, a. admitting visitors or customers; not yet settled or decided (OPD) ``and it's Open For Business like a cheap bordello'' - Bruce Cockburn
Technical Details
Message-ID:
<BuyI6L.Azs@world.std.com>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!world!geoffReferences:
<1992Sep15.111519.1@news.duc.auburn.edu> <1992Sep15.183601.14989@anl433.uucp> <1992Sep16.183323.1@news.duc.auburn.edu> <JAD.92Sep20175748@pimlico.nsa.hp.com>Show Full Headers
Complete Article Headers
Message-ID: <BuyI6L.Azs@world.std.com> Subject: Re: .newsrc format wanted Date: Tue, 22 Sep 1992 01:44:44 GMT From: geoff@world.std.com (Geoff Collyer) References: <1992Sep15.111519.1@news.duc.auburn.edu> <1992Sep15.183601.14989@anl433.uucp> <1992Sep16.183323.1@news.duc.auburn.edu> <JAD.92Sep20175748@pimlico.nsa.hp.com> 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!world!geoff Newsgroups: news.software.readers Organization: The World @ Software Tool & Die Lines: 59