🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #77817

Re: .newsrc format

#77817
From: William McBrine
Date: Wed, 02 May 2001 16:51
30 lines
2302 bytes
On 1 May 2001 03:02:03 GMT, Thorfinn wrote:

> [ Followups set to: news.software.readers ]
>
> In news.groups, on 1 May 2001 12:23:19 +1100
> Soedarto <swijayan@yallara.cs.rmit.edu.au> wrote:
>> Is there anywhere I could findout the format of the
>> .newsrc file.

It's a text file listing newsgroups, one per line. The name of the group is 
followed by a ':' for subscribed groups, or a '!' for unsubscribed groups; 
then a space; then a list of the article numbers read. The numbers are 
separated by a '-' to indicate a range, or ',' for a gap; e.g.:

news.software.readers: 1,20-40,56

In Unix, where .newsrc files are standard, the line ends with an LF (the 
standard text file ending). I assume that other platforms use their own 
native text file line ending, but I wouldn't be surprised to see otherwise.

Article numbers are server-specific; .newsrc files aren't portable between
servers for this reason (unless you only want the list of subscribed
groups, and you remove the numbers).

There's no real need to retain the unsubscribed groups in the list, and you 
can sometimes speed up a newsreader by removing them.

-- 
Never knock on Death's door. Ring the doorbell and run. He hates that.
Technical Details
Message-ID: <_WWH6.6977$R2.5476483@newsrump.sjc.telocity.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator!feed2.newsfeeds.com!newsfeeds.com!telocity-west!TELOCITY!newsrump.sjc.telocity.net!not-for-mail
References: <3aee1e17@mercury.its.rmit.edu.au> <slrn9es9pb.3h0.thorfinn@tertius.net.au>

Show Full Headers
Complete Article Headers
Message-ID: <_WWH6.6977$R2.5476483@newsrump.sjc.telocity.net>
Subject: Re: .newsrc format
Date: Wed, 02 May 2001 16:51:41 +0000
From: William McBrine <wmcbrine@telocity.com>
References: <3aee1e17@mercury.its.rmit.edu.au> <slrn9es9pb.3h0.thorfinn@tertius.net.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator!feed2.newsfeeds.com!newsfeeds.com!telocity-west!TELOCITY!newsrump.sjc.telocity.net!not-for-mail
Newsgroups: news.software.readers
Lines: 29
User-Agent: MultiMail/0.41 (SOUP; Linux)
X-Trace: pa632fjW4uP/wuTy5bfD0tvY1N7DzrrF0tbT0sXEt6GjuaaupbmjrrmmpLe3wPLzu7enpbfa9u63!paenprenrq2ipa2mp7fH08M=
X-Abuse-Info: Please forward ALL headers when reporting abuse.
X-Complaints-To: abuse@telocity.net
NNTP-Posting-Date: Wed, 02 May 2001 09:52:10 PDT