Article View: news.software.nn
Article #7945new-group-action = 4 not working??
From: Matthew England
Date: Sun, 08 Sep 1996 00:00
Date: Sun, 08 Sep 1996 00:00
75 lines
3969 bytes
3969 bytes
Quoted from the faq: > ------------------------------ > > Subject: 14.01 Setting new-group-action to "ask before adding" doesn't work. > From: Peter Wemm <peter@dialix.oz.au> > Date: Fri, 1 Oct 93 00:00:00 -0800 > > Take NEW out of your sequence--it's redundant. Does it HAVE to be taken out? Will things still work as advertised if it's in there? > > There was also a small bug (fixed in 6.5.0) which caused it to > not to work in certain situations. > > From: Bill Wohler <wohler@newt.com> > Date: Sun, 2 Jun 91 21:56:45 -0700 > > By the way, if you find that taking NEW out of your sequence has no > effect, it may be that you're being affected by the system init file > (usually in /usr/local/lib/nn/init). If this is the case, add "@" > to the beginning of your sequence, like this, which causes the > system init file to be ignored: '@' causes the '!!' feature to be disabled. So if you have one in your ~/.nn/init, kiss it goodbye. And it doesn't appear as if '@' causes the system init file to be ignored but rather just lets you add stuff to the sequence (or redefine it) even if the system init had a '!!' in it. Nothing more. Do I understand this correctly? I couldn't get the "ask before adding" to work for the faq suggestions or any other thing that I tried. I'm using 6.5.1 NOV version (what does NOV stand for, btw?). If I blew away .newsrc, I could generate behavior that seems follow the man page description for new-group-action = 4. And I didn't want to blow it (.newsrc) away. Couldn't get the stuff to work after it was created, anyway. I tried fooling with ~/.nn/LAST, too. I think the mystery lies with this file (what is the time-stamp format? seconds since 1970 like what is really stored in the machine, I think? I didn't look too closely) or another one the "certain situations" (as mentioned above) coming to life. I ended up deleting LAST thinking that nn should initialize something and fix my problem, but that didn't seem to work, either. 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. 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
Technical Details
Message-ID:
<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-mailShow Full Headers
Complete Article Headers
Message-ID: <50vh4d$7c1@xx.NPI.COM> Subject: new-group-action = 4 not working?? Date: Sun, 08 Sep 1996 00:00:00 +0000 From: mengland@npi.com (Matthew England) 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: 179329570 Organization: MTI Open Systems Development, Westmont, IL Reply-to: mengland@npi.com Newsgroups: news.software.nn