🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4576

Re: automatically subscribing

#4576
From: Nancy McGough
Date: Wed, 28 Jul 1993 19:42
41 lines
2395 bytes
tlb@carson.u.washington.edu (Todd L. Brooks) writes:
>Is there a way to automatically subscribe to all the news groups with a
>certain prefix (such as all the comp.sys groups) without individually
>subscribing to all of them?

Here's one way -- I'd love to hear of an easier way...

1] To go to your home directory, type:  cd
2] Backup your .newsrc:  cp .newsrc .newsrc.28Jul93
3] To append the newsgroups that start with comp.sys, that you aren't 
   already subscribed to, to the end of your .newsrc, type:

     nngrep -u ^comp.sys >> .newsrc

 4] Edit your .newsrc so that all these newly added newsgroups end
    with a colon.  In vi here's how you can do this:

    a] Type:  vi .newsrc
    b] Position the cursor at the first of the uncoloned ^comp.sys
       groups.  (You can use G to get to the bottom and CTRL+b to
       page back until you see the top of this list.)
    c] To put a colon at the end of each of these, press ESCAPE and 
       type:
         :.,$s/$/:/
       This means from here (.) to the end (,$) substitue (s)
       end of line ($) with colon (:).


Now you can specify where in your sequence you'd like to see these
by putting the following in your presentation sequence in 
your ~/.nn/init file.

  comp.sys.


As I've mentioned before I think it would be a nice feature addition
if you could just edit your sequence and have nn automatically subscribe
you to those newsgroups.

Hope this helps.  Does anyone have a better way -- I'd love to hear it.
Nancy
Technical Details
Message-ID: <236kr6$5k3@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!xlink.net!math.fu-berlin.de!nigel.msen.com!sdd.hp.com!vixen.cso.uiuc.edu!uwm.edu!ogicse!netnews.nwnet.net!news.u.washington.edu!stein2.u.washington.edu!nancym
References: <236cdd$2eu@news.u.washington.edu>

Show Full Headers
Complete Article Headers
Message-ID: <236kr6$5k3@news.u.washington.edu>
Subject: Re: automatically subscribing
Date: Wed, 28 Jul 1993 19:42:30 +0000
From: nancym@stein2.u.washington.edu (Nancy McGough)
References: <236cdd$2eu@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!xlink.net!math.fu-berlin.de!nigel.msen.com!sdd.hp.com!vixen.cso.uiuc.edu!uwm.edu!ogicse!netnews.nwnet.net!news.u.washington.edu!stein2.u.washington.edu!nancym
Newsgroups: news.software.nn
Article-I.D.: news.236kr6$5k3
Reply-To: nancym@u.washington.edu (Nancy McGough)
Organization: University of Washington
Lines: 41
NNTP-Posting-Host: stein2.u.washington.edu
X-Newsreader: NN [version 6.4.16]