Article View: news.software.nn
Article #7956Re: new-group-action = 4 not working??
From: R. Stewart Ellis
Date: Mon, 09 Sep 1996 00:00
Date: Mon, 09 Sep 1996 00:00
57 lines
3463 bytes
3463 bytes
mengland@npi.com (Matthew England) writes: (... I have never used all those features of init such as @ and !!, so I am not even sure what you are talking about.) >My motivations: 1) Store *all* available newsgroups in .newsrc, and >filter them via a sequence in the init file at run time. (A cli that >would spit out all the groups, preferrably with their purpose, to >stdout would avoid this need. Something similar to what happens when a >'?' is input to the :post command.) 2) To be told of new groups when >they appear. >The only thing I could think of to solve this that would work was to >set new-group-action = 2 and to put NEW in my sequence. But since I >had a large disparity (sp?) between the number of existing groups in >.newsrc and the number of new ones, going thru all the large, new (wrt >to my .newsrc) groups was taking forever. So I made a totally new >.newsrc (using the method described above) to determine which groups >were actually new, stuck these new groups in the good .newsrc, and put >"1-1"'s at the end of each line. And I let sequence do the rest. Do you necessarily want this incorporated in nn? When you say cli, do you mean at shell prompt? If so, there is a newsgroup chooser called choosenews, written by Scott Yanoff at UofWisc-Milwaukee. It is a csh script (yuck!) that presents the user with an opportunity to selectively add newsgroups to the .newsrc according to keyword match either in the group name or in the purpose statement. This depends on the presence of a newsgroup list, so you could do the same thing yourself with shell tools if you had the list. I generate the list with a program that is called getlist, that I believe comes with inn. I point getlist at the nntpserver and it generates a list of all the newsgroups on the site with their purposes (if the list is up-to-date on the server). If you have access to the server you could probably just access their group list. There is probably also a way to fetch the list from the nntp server by telnetting to port 119, but I am not sure. >Did I make any assumptions I shouldn't have? eg, did I stomp on >anything without knowing it? Was the approach reasonable? Is another >way better to get done want I want? >Thanks for any help. >Matt >-- >Matthew England >Systems Engineer | voice: (630) 325-4151 >National Peripherals Inc. (NPI), an MTI Company | fax: (630) 325-4230 >1111 Pasquinelli Drive, Westmont, IL, 60559, USA | mengland@npi.com -- R.Stewart(Stew) Ellis, Assoc.Prof., (Off)810-762-9765 ___________________ Humanities & Social Science, GMI Eng.& Mgmt.Inst. () / _____ ______ Flint, MI 48504 Free speech and free software! /\ / / / / / / Web admin: http://www.gmi.edu/ ellis@gmi.edu /________/ / / / /
Technical Details
Message-ID:
<5119th$g2s@news.eecs.umich.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mailReferences:
<50vh4d$7c1@xx.NPI.COM>Show Full Headers
Complete Article Headers
Message-ID: <5119th$g2s@news.eecs.umich.edu> Subject: Re: new-group-action = 4 not working?? Date: Mon, 09 Sep 1996 00:00:00 +0000 From: ellis@nova.gmi.edu (R. Stewart Ellis) References: <50vh4d$7c1@xx.NPI.COM> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail X-Deja-AN: 179462270 Organization: GMI Engineering&Management Institute, Flint, MI Newsgroups: news.software.nn