Article View: news.software.nn
Article #4575Re: automatically subscribing
From: Nancy McGough
Date: Wed, 28 Jul 1993 19:19
Date: Wed, 28 Jul 1993 19:19
39 lines
2365 bytes
2365 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] To add 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
3] 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.
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:
<236jf7$505@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!dearn!frmop11.cnusc.fr!univ-lyon1.fr!zaphod.crihan.fr!pipex! uknet!mcsun!uunet!gatech!howland.reston.ans.net!usc!cs.utexas.edu!uwm.edu!ogicse!netnews.nwnet.net!news.u.washington.edu!stein2.u.washington.edu!nancymReferences:
<236cdd$2eu@news.u.washington.edu>Show Full Headers
Complete Article Headers
Message-ID: <236jf7$505@news.u.washington.edu> Subject: Re: automatically subscribing Date: Wed, 28 Jul 1993 19:19:02 +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!dearn!frmop11.cnusc.fr!univ-lyon1.fr!zaphod.crihan.fr!pipex! uknet!mcsun!uunet!gatech!howland.reston.ans.net!usc!cs.utexas.edu!uwm.edu!ogicse!netnews.nwnet.net!news.u.washington.edu!stein2.u.washington.edu!nancym Newsgroups: news.software.nn Article-I.D.: news.236jf7$505 Reply-To: nancym@u.washington.edu (Nancy McGough) Organization: University of Washington Lines: 39 NNTP-Posting-Host: stein2.u.washington.edu X-Newsreader: NN [version 6.4.16]