🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #2593

Re: new-group-action=4 doesn't listen

#2593
From: Peter Wemm
Date: Wed, 18 Mar 1992 09:38
57 lines
2323 bytes
stillson@mitre.org (Ken Stillson) writes:

>I've got version 6.4.16, and have set new-group-action to 4, which
>means that nn should ask me, for each new group, whether or not to
>add it to the .newsrc file.  Well, it does ask, but if I say "n"o,
>it adds it anyway.

>Is this a bug fixed in later versions?  Or am I likely doing something
>else tragically wrong?

>Thanks,

>	- Ken Stillson, stillson@mitre.org


>--

>panic: cannot read .signature file for stillson@mitre.org
>Abort, Retry, Ignore, Explode? 


Another NN bug.

Try:
*** old.newsrc.c	Wed May  8 15:55:29 1991
--- newsrc.c	Tue May  7 14:08:20 1991
***************
*** 486,492
  		if (new_group_action != RCX_TIME && !no_update) {
  		    printf("\nNew group: %s -- append to .newsrc? (y)",
  			   gh->group_name);
! 		    if (yes(0) <= 0) continue;
  		}
  		sprintf(buf, "%s:\n", gh->group_name);
  		/* to avoid fooling the LAST mechanism, we must fake */

--- 486,496 -----
  		if (new_group_action != RCX_TIME && !no_update) {
  		    printf("\nNew group: %s -- append to .newsrc? (y)",
  			   gh->group_name);
! 		    if (yes(0) <= 0) {
! 		      /* no not add the new group */
! 		      gh->group_flag |= G_DONE | G_UNSUBSCRIBED;
! 		      continue;
! 		    }
  		}
  		sprintf(buf, "%s:\n", gh->group_name);
  		/* to avoid fooling the LAST mechanism, we must fake */


I have mailed this to several people, and have not heard of any problems.

Good luck.
-- 
Peter Wemm : peter@zeus.dialix.oz.au     If it's broke, fix it (The MS-DOS way)
Work phone: +61-9-479-1855      If it aint broke, don't touch it (The Unix way)
Fax: +61-9-479-1134     If we can't fix it, it ain't broke (Maintainer's Motto)
Technical Details
Message-ID: <1992Mar18.093820.1706@zeus.dialix.oz.au>
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!sparky!uunet!munnari.oz.au!uniwa!DIALix!zeus!peter
References: <stillson.700755307@tsfsrv>

Show Full Headers
Complete Article Headers
Message-ID: <1992Mar18.093820.1706@zeus.dialix.oz.au>
Subject: Re: new-group-action=4 doesn't listen
Date: Wed, 18 Mar 1992 09:38:20 GMT
From: peter@zeus.dialix.oz.au (Peter Wemm)
References: <stillson.700755307@tsfsrv>
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!sparky!uunet!munnari.oz.au!uniwa!DIALix!zeus!peter
Newsgroups: news.software.nn
Organization: Karam Pty. Ltd., Perth, Australia.
Lines: 57