🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4340

bug: new-group-action 4

#4340
From: Heinz Knutzen
Date: Wed, 23 Jun 1993 09:41
42 lines
2137 bytes
I have set new-group-action to 4 in my .nn/init file.
This is described in the man pages as follows:

     4) As 3, but the user is asked to confirm that the new group should be
     appended to .newsrc. If rejected, the group will not be appended to
     .newsrc, and thus be regarded as unsubscribed.

When a new group arrives, I am really asked:
     New group: alt.fan.riscos -- append to .newsrc? (y)

When I answer 'n', the new group is not appended to my .newsrc and it
is regarded as unsubscribed in the NEXT nn session. BUT if the new
group contains articles, this group is presented to me in the current
nn session though I have answered 'n' already.

I think this is a bug and would suggest a patch:

*** newsrc.c	Wed Jun 23 11:06:49 1993
--- patch	Wed Jun 23 11:26:26 1993
***************
*** 488,492 ****
  		    printf("\nNew group: %s -- append to .newsrc? (y)",
  			   gh->group_name);
! 		    if (yes(0) <= 0) continue;
  		}
  		sprintf(buf, "%s:\n", gh->group_name);
--- 488,495 ----
  		    printf("\nNew group: %s -- append to .newsrc? (y)",
  			   gh->group_name);
! 		    if (yes(0) <= 0) {
! 			gh->group_flag |= G_UNSUBSCRIBED;
! 			continue;
! 		    }
  		}
  		sprintf(buf, "%s:\n", gh->group_name);

-- Heinz
-- 
Heinz Knutzen                     email: hk@informatik.uni-kiel.d400.de
Institut fuer Informatik, Universitaet Kiel        Tel: +49-431-560426
Preusserstr. 1-9, D-2300 Kiel 1, Germany           Fax: +49-431-566143
 
Technical Details
Message-ID: <2098h6INNsas@karlo.informatik.uni-kiel.de>
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!uniol!majestix.informatik.uni-kiel.de!news

Show Full Headers
Complete Article Headers
Message-ID: <2098h6INNsas@karlo.informatik.uni-kiel.de>
Subject: bug: new-group-action 4
Date: Wed, 23 Jun 1993 09:41:58 +0000
From: hk@informatik.uni-kiel.de (Heinz Knutzen)
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!uniol!majestix.informatik.uni-kiel.de!news
Newsgroups: news.software.nn
Organization: Dept. of Computer Science, University of Kiel, FRG
Lines: 42
NNTP-Posting-Host: karlo.informatik.uni-kiel.de