🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by Nancy McGough Sun, 18 Dec 1994 03:20
Re: I want a .newsrc with everything
#6752
Author: Nancy McGough
Date: Sun, 18 Dec 1994 03:20
67 lines
2858 bytes
neilh@halcyon.halcyon.com (Neil J. Hoopman) writes:
>How can I generate a .newsrc file with every newsgroup
>available on Halcyon?  

Here are 2 different methods to subscribe to all newsgroups that
your host gets:

USING TRN
=========
You do not need to be a TRN user to use this method.
This method is easier but can take a *lot* more time than the next
method (using nngrep).

At the newsgroup selection level type: 

  a .

This means add newsgroups matching pattern ``.'', i.e., containing
any single character.  Then at the [ynYN] prompt type Y to add
them all.  

Question: Does anyone know if there is a way to avoid viewing all the
newsgroup names that get added - this can take a *long* time?


USING NNGREP
============
You do not need to be an NN user to use this method.

cd
cd .nn               # if you don't have .nn dir don't worry about next line
mv LAST LAST.old     # LAST keeps track of the last newsgroup nn knows about
cd
mv .newsrc .newsrc.old
nngrep -u | sed -e 's/ *$/:/' > tmp.unsub    # See below (*) for explanation
pico tmp.unsub       # replace pico with your editor; 
                     # remove any lines at the top that say ``Connecting...''
                     # (Halcyon doesn't produce these lines so you don't need 
                     # to do this step at Halcyon.)
cat .newsrc.old tmp.unsub > .newsrc 

Next run your newsreader (nn, trn, tin, etc) to be sure that it understands
your new .newsrc.  If it does:

rm tmp.unsub
rm .newsrc.old

If it doesn't you can get your old .newsrc back with this:

mv .newsrc.old .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.

Hope this helps.
If anyone knows any other methods of subscribing to all newsgroups,
please let me know.
Thanks,
Nancy

--
 /\_/\    Nancy McGough
( o.o )   Infinite Ink
 > ~ <    http://www.jazzie.com/ii/  -OR-  http://www.best.com/~ii/
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