🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #6752

Re: I want a .newsrc with everything

#6752
From: 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/
Technical Details
Message-ID: <3d09p5$irv@news.halcyon.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.pine.mbox.zip!nntp.gmd.de!news.ege.edu.tr!news.metu.edu.tr!mother.usf.edu!darwin.sura.net!mailer.acns.fsu.edu!gatech!howland.reston.ans.net!news.sprintlink.net!nwnexus!news.halcyon.com!usenet
References: <3bbl6d$665@news.halcyon.com>

Show Full Headers
Complete Article Headers
Message-ID: <3d09p5$irv@news.halcyon.com>
Subject: Re: I want a .newsrc with everything
Date: Sun, 18 Dec 1994 03:20:05 +0000
From: Nancy McGough <nancym@ii.com>
References: <3bbl6d$665@news.halcyon.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.pine.mbox.zip!nntp.gmd.de!news.ege.edu.tr!news.metu.edu.tr!mother.usf.edu!darwin.sura.net!mailer.acns.fsu.edu!gatech!howland.reston.ans.net!news.sprintlink.net!nwnexus!news.halcyon.com!usenet
Newsgroups: halcyon.general,news.software.readers,news.software.nn,comp.mail.pine
Organization: Infinite Ink, Seattle, Washington, USA
Lines: 66
Reply-To: Nancy McGough <nancym@ii.com>
NNTP-Posting-Host: halcyon.com