🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #5007

Re: Subscribe to All Newsgroups Using Various Newsreaders

#5007
From: Nancy McGough
Date: Thu, 02 Dec 1993 23:34
68 lines
3349 bytes
>In <2dgjdb$534@news.u.washington.edu> nancym@u.washington.edu (Nancy McGough) writes:
>>I think this depends on how the system is set up.  Here at the UW
>>the default init file is /usr/local/lib/nn/init and looks like this:
>
>>sequence news.announce.newusers uw uwash @
>
>>And the first time nn is run the .newsrc is created with those, and 
>>only those, newsgroups in it.


fyz311@netcom.com (Please don't ask.) writes:
>Hmmm...there's something wrong here. If the command in the global init 
>were
>
>sequence news.announce.newusers uw uwash !!
>
>the solution would be to put @ in your sequence (as in Example 1 in the 
>corresponding chapter of the manual). 
>
>But for the command you wrote no further addition should be needed. In 
>fact, I would have expected you to ask how to have nn *stop* building
>the presentation sequence, since @ disables !!


I think I now understand what's happening here at the UW.  First of
all I discovered the file /usr/local/lib/nn/.defaultnewsrc which
contains exactly the list of newsgroups generated by the global init 
file line above:

 sequence news.announce.newusers uw uwash @


Here's my guess at the algorithm that nn is using (corrections 
appreciated):

user types "nn"
if user doesn't have a .newsrc or .newsrc.bak then
	if value of initial-newsrc-file var is not null then
		.newsrc = initial-newsrc-file
	else
		.newsrc = subscribe to all newsgroups in active file
	fi
else 
	.newsrc = left as it is (new groups might be added depending
	                            on new-group-action var)
fi


Next there's the question: What order are the newsgroups presented
to the user?  This depends on some variable settings (like    
enter-last-read-mode) and of course the user's sequence if s/he
has one.  A fairly typical default order is:

    sequence in user's init followed by
    sequence in global init file followed by 
    sequence in .newsrc (excluding newsgroups already in seq)

But the sequence meta notation, like @ and !!, can change things.  E.g.,
if the user's sequence ends with !! then that's the end of the sequence!
I agree with "Please don't ask." that it seems strange that the UW's
global sequence ends with @ which means disable !! since if it got to
that point then !! is already disabled.  Anyone have a clue here?

Learning lots about nn,
Nancy

-- 
nancym@u.washington.edu
Technical Details
Message-ID: <2dlu1u$mmc@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!netnews.upenn.edu!dsinc!spool.mu.edu!news.clark.edu!netnews.nwnet.net!news.u.washington.edu!nancym
References: <2ddtd8$amh@news.u.washington.edu> <fyz311CHBLH6.C7J@netcom.com> <2dgjdb$534@news.u.washington.edu> <fyz311CHF9JE.D25@netcom.com>

Show Full Headers
Complete Article Headers
Message-ID: <2dlu1u$mmc@news.u.washington.edu>
Subject: Re: Subscribe to All Newsgroups Using Various Newsreaders
Date: Thu, 02 Dec 1993 23:34:22 +0000
From: nancym@u.washington.edu (Nancy McGough)
References: <2ddtd8$amh@news.u.washington.edu> <fyz311CHBLH6.C7J@netcom.com> <2dgjdb$534@news.u.washington.edu> <fyz311CHF9JE.D25@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!netnews.upenn.edu!dsinc!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: 68
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