Thread View: news.software.nn
6 messages
6 total messages
Started by Heinz Knutzen
Wed, 23 Jun 1993 09:41
bug: new-group-action 4
Author: Heinz Knutzen
Date: Wed, 23 Jun 1993 09:41
Date: Wed, 23 Jun 1993 09:41
42 lines
2137 bytes
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
Re: bug: new-group-action 4
Author: Nancy McGough
Date: Wed, 30 Jun 1993 18:46
Date: Wed, 30 Jun 1993 18:46
32 lines
1958 bytes
1958 bytes
hk@informatik.uni-kiel.de (Heinz Knutzen) writes: >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: > > [deleted patch] I also have new-group-action set to 4 but I never see the newsgroup when I choose no. I'm using 6.4.16. Another thing that might be affecting the behaviour is your sequence. Mine looks like this: sequence NEW <lots of newsgroups listed> !:U Wondering if a patch is really needed, Nancy
Re: bug: new-group-action 4
Author: Peter Wemm
Date: Thu, 01 Jul 1993 09:00
Date: Thu, 01 Jul 1993 09:00
28 lines
1776 bytes
1776 bytes
nancym@stein2.u.washington.edu (Nancy McGough) writes: >>When a new group arrives, I am really asked: >> New group: alt.fan.riscos -- append to .newsrc? (y) >I also have new-group-action set to 4 but I never >see the newsgroup when I choose no. I'm using >6.4.16. Another thing that might be affecting the >behaviour is your sequence. Mine looks like this: >sequence > NEW > <lots of newsgroups listed> > !:U >Wondering if a patch is really needed, >Nancy It's a one-line change, and it makes nn do the "expected" thing when there is no global init file specifying a sequence. Personally, I feel that if the user explicitly says "no", then they mean it. They shouldn't have to put a !:U in their sequence to make it work. -Peter -- 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)
Re: bug: new-group-action 4
Author: Milt Epstein
Date: Thu, 01 Jul 1993 15:48
Date: Thu, 01 Jul 1993 15:48
42 lines
2285 bytes
2285 bytes
In <20u92l$1r4@zeus.dialix.oz.au> peter@zeus.DIALix.oz.au (Peter Wemm) writes: >nancym@stein2.u.washington.edu (Nancy McGough) writes: >>>When a new group arrives, I am really asked: >>> New group: alt.fan.riscos -- append to .newsrc? (y) > >>I also have new-group-action set to 4 but I never >>see the newsgroup when I choose no. I'm using >>6.4.16. Another thing that might be affecting the >>behaviour is your sequence. Mine looks like this: > >>sequence >> NEW >> <lots of newsgroups listed> >> !:U > >>Wondering if a patch is really needed, >>Nancy > >It's a one-line change, and it makes nn do the "expected" thing when >there is no global init file specifying a sequence. > >Personally, I feel that if the user explicitly says "no", then they >mean it. They shouldn't have to put a !:U in their sequence to make it work. > >-Peter I'm a little confused here. This is the first I've heard of anything like the !:U construct, so I looked it up in the man page. It says that this will stop groups that are neither new not subscribed, which implies to me that it *will* allow new groups. The problem reported above is when a new group that is asked about and not subscribed to is still presented. So it doesn't seem like the !:U would help here. I did notice that there is a !:X construct which should stop groups that are new if they are not subscribed to. -- Milt Epstein Department of Computer Science University of Illinois epstein@cs.uiuc.edu
Re: bug: new-group-action 4
Author: Nancy McGough
Date: Thu, 08 Jul 1993 19:16
Date: Thu, 08 Jul 1993 19:16
46 lines
2799 bytes
2799 bytes
>>nancym@stein2.u.washington.edu (Nancy McGough) writes: >>>Another thing that might be affecting the >>>behaviour is your sequence. Mine looks like this: >> >>>sequence >>> NEW >>> <lots of newsgroups listed> >>> !:U epstein@sparc0a.cs.uiuc.edu (Milt Epstein) writes: >I'm a little confused here. This is the first I've heard of anything >like the !:U construct, so I looked it up in the man page. It says >that this will stop groups that are neither new not subscribed, which >implies to me that it *will* allow new groups. The problem reported >above is when a new group that is asked about and not subscribed to is >still presented. So it doesn't seem like the !:U would help here. I think Milt is right -- the !:U doesn't have anything to do with whether "set new-group-action 4" works as expected. My account is set up so this is working the way I want (i.e., I get asked if I want to append new newsgroups to my .newsrc and if I answer no I never hear about them again) *BUT* I've been playing around on other people's accounts and have discovered that it doesn't always do what's expected on these other accounts. I agree that it should be fixed but FYI here's what I think is going on: If a "new" newsgroup is in your .newsrc and marked subscribed (with :) then it's menu is presented without asking you whether you want to see it -- NEW is displayed in the upper right corner. You will be asked about other "new" newsgroups. According to the man page for new-group-action 3 and 4, what is a "new" newsgroups is determined by a time-stamp in ~/.nn/LAST. I think one solution (until this is fixed) is to clean up your .newsrc so you are subscribed (marked with :) only to newsgroups you're interested in. Still not sure I understand this buggy variable, Nancy
Re: bug: new-group-action 4
Author: Milt Epstein
Date: Thu, 08 Jul 1993 21:48
Date: Thu, 08 Jul 1993 21:48
70 lines
3764 bytes
3764 bytes
In <21hrpi$gbi@news.u.washington.edu> nancym@stein2.u.washington.edu (Nancy McGough) writes: >>>nancym@stein2.u.washington.edu (Nancy McGough) writes: >>>>Another thing that might be affecting the >>>>behaviour is your sequence. Mine looks like this: >>> >>>>sequence >>>> NEW >>>> <lots of newsgroups listed> >>>> !:U > >epstein@sparc0a.cs.uiuc.edu (Milt Epstein) writes: >>I'm a little confused here. This is the first I've heard of anything >>like the !:U construct, so I looked it up in the man page. It says >>that this will stop groups that are neither new not subscribed, which >>implies to me that it *will* allow new groups. The problem reported >>above is when a new group that is asked about and not subscribed to is >>still presented. So it doesn't seem like the !:U would help here. > >I think Milt is right -- the !:U doesn't have anything >to do with whether "set new-group-action 4" works as >expected. > >My account is set up so this is working the way I want >(i.e., I get asked if I want to append new newsgroups >to my .newsrc and if I answer no I never hear about them >again) *BUT* I've been playing around on other people's >accounts and have discovered that it doesn't always do >what's expected on these other accounts. I agree that it >should be fixed but FYI here's what I think is going on: > > If a "new" newsgroup is in your .newsrc and marked > subscribed (with :) then it's menu is presented > without asking you whether you want to see it -- > NEW is displayed in the upper right corner. You > will be asked about other "new" newsgroups. > > According to the man page for new-group-action 3 > and 4, what is a "new" newsgroups is determined by > a time-stamp in ~/.nn/LAST. > >I think one solution (until this is fixed) is to clean up >your .newsrc so you are subscribed (marked with :) only to >newsgroups you're interested in. > >Still not sure I understand this buggy variable, >Nancy I don't think this is the bug that people are reporting (I've had it happen to me too). Here's the bug situation as I understand: A brand new newsgroup appears (so it is not listed in your .newsrc), and it has articles in it, and you have new-group-action set to 4. You are prompted for whether you want to subscribe to the new group. You indicate no, so it is not added to your .newsrc. Still, the group is presented to you (I don't remember where in the sequence it is presented), but only in this one nn session (assuming you leave it unsubscribed). I believe this happens whether or not you have NEW in your sequence info. Also, I believe the new group is not presented if it does not have any articles in it yet. I think a few people have even posted unofficial patches for this bug. -- Milt Epstein Department of Computer Science University of Illinois epstein@cs.uiuc.edu
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads