Thread View: news.software.nn
6 messages
6 total messages
Started by Nancy McGough
Mon, 29 Nov 1993 22:34
Subscribe to All Newsgroups Using Various Newsreaders
Author: Nancy McGough
Date: Mon, 29 Nov 1993 22:34
Date: Mon, 29 Nov 1993 22:34
35 lines
1820 bytes
1820 bytes
Hi All, I'd like to find out how different newsreaders allow one to subscribe to all newsgroups. Here's what I've got so far: TRN === At the newsgroup selection level type "a ." (without the quotes) - this means add newsgroups matching pattern ".", i.e., containing any single character. Then at the [ynYN] prompt type Y to add them all. Question: Is there a way to avoid viewing all the newsgroup names that get added - this can take a *long* time? NN == I don't know of an NN command that does this but one thing you can do is: nngrep -u | sed -e 's/ *$/:/' >> .newsrc "nngrep -u" lists all unsubscribed newsgroups and then the sed command appends a ":" to the end of each of these newsgroup names and then ">> .newsrc" appends them to the bottom of your .newsrc. Question: Does anyone know of a better way to do this using nn or its utilities? OTHER NEWSGROUPS ================ I'd appreciate info about other news readers. Thanks much, Nancy
Re: Subscribe to All Newsgroups Using Various Newsreaders
Author: Please don't ask.
Date: Tue, 30 Nov 1993 19:43
Date: Tue, 30 Nov 1993 19:43
17 lines
1288 bytes
1288 bytes
In <2ddtd8$amh@news.u.washington.edu> nancym@u.washington.edu (Nancy McGough) writes: >NN >== >I don't know of an NN command that does this but one thing you can >do is: > nngrep -u | sed -e 's/ *$/:/' >> .newsrc >"nngrep -u" lists all unsubscribed newsgroups and then the sed >command appends a ":" to the end of each of these newsgroup names >and then ">> .newsrc" appends them to the bottom of your .newsrc. >Question: Does anyone know of a better way to do this using nn >or its utilities? Yes, just remove .newsrc and its backups and run nn. You'll be subscribed to all and every newsgroups received at your site. Pda.
Re: Subscribe to All Newsgroups Using Various Newsreaders
Author: Nancy McGough
Date: Tue, 30 Nov 1993 23:02
Date: Tue, 30 Nov 1993 23:02
23 lines
1614 bytes
1614 bytes
>In <2ddtd8$amh@news.u.washington.edu> nancym@u.washington.edu (Nancy McGough) writes: >>Question: Does anyone know of a better way to do this using nn >>or its utilities? fyz311@netcom.com (Please don't ask.) writes: >Yes, just remove .newsrc and its backups and run nn. You'll be subscribed >to all and every newsgroups received at your site. >Pda. 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. What do you all recommend for the default init file? Thanks, Nancy
Re: Subscribe to All Newsgroups Using Various Newsreaders
Author: Please don't ask.
Date: Thu, 02 Dec 1993 19:16
Date: Thu, 02 Dec 1993 19:16
25 lines
1603 bytes
1603 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. What do you all recommend for the >default init file? 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 !! >Thanks, >Nancy
Re: Subscribe to All Newsgroups Using Various Newsreaders
Author: Nancy McGough
Date: Thu, 02 Dec 1993 23:34
Date: Thu, 02 Dec 1993 23:34
68 lines
3349 bytes
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
Re: Subscribe to All Newsgroups Using Various Newsreaders
Author: Quazi F. Haque
Date: Fri, 03 Dec 1993 17:51
Date: Fri, 03 Dec 1993 17:51
11 lines
1364 bytes
1364 bytes
On a similar note, is there some way to unsubscribe to a regular expression of newsgroups using nn? (Right now, I do it using emacs's replace-regexp command, but it is a bit cumbersome, and also sometimes removes too much...(but that's because my regexp is too inclusive...))... -- ********************* "Lunatic priests are bad business. They give people the * Quazi F. Haque * willies. One man like him can turn us all to paupers." * quazi@cornell.edu * -from _Grendel_ ********************* by John Gardner
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads