🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5005

Multiple Newsgroup Sequences [WAS: News Reader with "foldering" function? (LONG)]

#5005
From: Nancy McGough
Date: Thu, 02 Dec 1993 15:29
100 lines
3911 bytes
kleung@netcom.com (Kenneth Leung) writes:
>I am at work and can only read a couple of newsgroups, and lets say I want
>to catch up on my unix newsgroup reading.  I can use vi and sort my 
>.newsrc to put my fav. unix groups together and 
>
>  [...]
>
>It would be a lot easier if I can
>assign "Folders" of different newsgroups so that if I want to catch up
>on entertainment news I can create a "folder" called fun and 
>
>  [...]
>
>The advantages is that I can knock off the current news of the important
>groups first at work and then go home and read the fun news groups, without
>having to remember the newsgroup name (some of these newsgroup names are 
>getting long).  This would also make it easier to get caught up and organize
>what groups are impt. if a certain hot topic I need to catch up in short time.
>
>________________________________
>The way I see it, to maintian compatibility with .newsrc, a second "folder"
>file will have to be created to index the .newsrc so that the physical 
>sorting of the .newsrc is only valid in "non-folder" mode....
>
>The "folder" file would have the following format :
>
>[fun]
>rec.arts.startrek
>rec.arts.tv
>rec.arts.movies
>
>[work]
>comp.unix.questions
>comp.unix.wizard
>comp.sys.palmtops
>comp.sys.handhelds
>
>
>Every newsgroup by default would work the same way in regular reading
>in terms of sorting.  If the user issues a command to go to a "folder"
>it would access the "folder file" to generate a reading list of newsgroup
>for the selected folder...
>
>Am I wasting bandwidth or is someone else thinking about this?


This capability pretty much already exists in nn, but rather than 
switching your "folder" from within nn you specify it (nn's term is 
sequence) on the command line.  Here's how you could do the scenario 
you describe:

1] In your ~/.nn directory create a file called init.NoSequence that 
   contains your nn initializations (variable settings, macros, etc.)
   but no newsgroup sequence.


2] Create ~/.nn/init that contains only these 3 lines:

     load init.NoSequence
     sequence
      RC

   This will be used whenever you invoke nn without the -I flag, e.g.,
   if you just type "nn".


3] Create  ~/.nn/fun that contains:

     load init.NoSequence
     sequence
      rec.arts.startrek
      rec.arts.tv
      rec.arts.movies


4] Create  ~/.nn/work that contains:

     load init.NoSequence
     sequence
      comp.unix.questions
      comp.unix.wizard
      comp.sys.palmtops
      comp.sys.handhelds



Now you can type...        In order to use your...
===================        =======================
nn                         .newsrc newsgroup order 
nn -Ifun                   fun newsgroup order
nn -Iwork                  work newsgroup order


In all cases information about what you've read is stored in your
.newsrc file so there's no problem if you read some fun newsgroups
during an "nn -Iwork" session.

Pretty cool I think -- I hope you like it!

  -Nancy
Technical Details
Message-ID: <2dl1ll$cn0@news.u.washington.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.nn.mbox.zip!gmd.de!newsserver.jvnc.net!yale.edu!spool.mu.edu!news.clark.edu!netnews.nwnet.net!news.u.washington.edu!nancym
References: <kleungCH04Mp.I1M@netcom.com>

Show Full Headers
Complete Article Headers
Message-ID: <2dl1ll$cn0@news.u.washington.edu>
Subject: Multiple Newsgroup Sequences [WAS: News Reader with "foldering" function? (LONG)]
Date: Thu, 02 Dec 1993 15:29:57 +0000
From: nancym@u.washington.edu (Nancy McGough)
References: <kleungCH04Mp.I1M@netcom.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.nn.mbox.zip!gmd.de!newsserver.jvnc.net!yale.edu!spool.mu.edu!news.clark.edu!netnews.nwnet.net!news.u.washington.edu!nancym
Newsgroups: news.software.readers,news.software.nn
Organization: University of Washington
Lines: 102
Reply-To: nancym@u.washington.edu (Nancy McGough)
NNTP-Posting-Host: goren.u.washington.edu
X-Newsreader: NN [version 6.4.16]
Originator: nancym@goren1.u.washington.edu