🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #38184

Re: newsrc format - old and new

#38184
From: Sven Guckes
Date: Wed, 21 Jan 1998 00:00
94 lines
4345 bytes
lvirden@cas.org (lvirden@cas.org):
> Unfortuantely, there is no standard document describing the format of the
> newsrc file.  This means that changes to the newsrc file such as adding
> comments may cause other newsreaders to core dump, throw them away, etc.

So - lets write one!

	http://www.math.fu-berlin.de/~guckes/newsrc/

I'll append with what I came up in five minutes.

Sven

===
URL:         http://www.math.fu-berlin.de/~guckes/
Created:     Wed Jan 21 19:00:00 CET 1998
Last update: Wed Jan 21 19:05:00 CET 1998

                             Newsrc - Old and New
                                       
   The "newsrc" is a file used by many newsreaders as a database on
   "read" articles within nesgroups.
   
   The purpose of this page is to give a defintion of its format and to
   find a better format for future purposes.
     _________________________________________________________________
   
                            newsrc - current format
                                       
   Each line contains exactly one newsgroup entry.
   
   A newsgroup entry consists of a newsgroup name, followed directly by
   the subscription character, a space and a list of "read article list".
   
   subscription character:
        char    information     name
        :       subscribed      colon
        !       unsubscribed    exclamation mark, "bang"

   read article list: Numbers or ranges separated by commata. A "range"
   consists of two numbers separated by a dash ('-'). It stands for all
   numbers from the first to the second, inclusive.
   
   Example for a newsrc file:
        alt.fan.warlord: 1-37572
        comp.editors: 1-29199
        comp.mail.elm: 1-22608
        comp.mail.misc: 1-40159
        news.software.readers: 1-50424,50426-50899
        news.software.nn: 1-9019
        bln.announce.fub: 1-661
        bln.announce.fub.d: 1-512
        bln.announce.fub.math: 1-70
        bln.announce.fub.math.d: 1-32
        bln.announce.fub.cs: 1-47
        bln.announce.fub.cs.d: 1-893
        bln.announce.fub.physik: 1-88
        bln.announce.fub.zedat: 1-611
        bln.announce.fub.zedat.d: 1-3820
        bln.announce.tub.zrz: 1-562
        bln.announce.tub.zrz.d: 1-836
        bln.markt.arbeit: 1-2371
        bln.net.news: 1-1404
        bln.net.www: 1-1777
        bln.net.internet: 1-3444
        bln.misc: 1-13162
        bln.termine: 1-4273
        bln.verkehr: 1-707,709,715
     _________________________________________________________________
   
                            newsrc - future format
                                       
   Some ideas for a future format:
   
   Comments
          Allow comment lines. Useful for all sorts of things.
          
   Empty Lines
          Allow empty lines. Also quite useful as not every line should
          have "either data or comment".
          
   External utility
          There is a great need to make modifications to the newrc
          easily. As newsreaders use the order of newsgroups for their
          "presentation sequence" of groups there is a need to sort and
          move these items easily.
          The newsreader NN ships with "nntidy".
     _________________________________________________________________
   
   Send feedback on this page to
    Sven Guckes guckes@math.fu-berlin.de

Technical Details
Message-ID: <slrn6ccfhl.59l.guckes@banach.math.fu-berlin.de>
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!not-for-mail
References: <69kqqt$5oq@snews2.zippo.com> <69obm5$52f$1@dolphin.neosoft.com> <21060@!> <6a558j$2nn$1@srv38s4u.cas.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrn6ccfhl.59l.guckes@banach.math.fu-berlin.de>
Subject: Re: newsrc format - old and new
Date: Wed, 21 Jan 1998 00:00:00 +0000
From: guckes@math.fu-berlin.de (Sven Guckes)
References: <69kqqt$5oq@snews2.zippo.com> <69obm5$52f$1@dolphin.neosoft.com> <21060@!> <6a558j$2nn$1@srv38s4u.cas.org>
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!not-for-mail
X-Deja-AN: 318072004
X-Old-Subject: Re: sorting .newsrc
Content-Transfer-Encoding: 8bit
X-Editor: vim-5.0u [980112] http://www.vim.org/
Mime-Version: 1.0
Reply-To: guckes@math.fu-berlin.de
Mail-Copies-To: guckes@math.fu-berlin.de
Content-Type: text/plain; charset=iso-8859-1
Organization: Freie Universitaet Berlin
X-Access: 16 17 19
Newsgroups: news.software.readers