🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Paul Smee Mon, 13 Apr 1992 11:41
trn flaw in new group handling
#1443
Author: Paul Smee
Date: Mon, 13 Apr 1992 11:41
15 lines
1466 bytes
If I addgroup a group with status 'x', because I know about it but
don't want it, trn will then report it as a new group and ask people if
they want to subscribe, and then later will spot it as bogus and go off
to play for a while.  I suspect the problem is that it now only uses
active.times to spot new groups, and doesn't get around to checking
active until later.  Think I'd argue that it ought to check active
earlier -- that is, use active.times as a hint rather than as the whole
story.  (Alternative, I suppose, would be to mod addgroup so that it
doesn't add an active.times line for x'ed groups.  I note that our
newgroup, which has been modded not to auto-create alt. groups, does
that.  Not sure which is cleanest.)

-- 
Paul Smee, Computing Service, University of Bristol, Bristol BS8 1UD, UK
 P.Smee@bristol.ac.uk - ..!uunet!uknet!bsmail!p.smee - Tel +44 272 303132
Re: trn flaw in new group handling
#1447
Author: Wayne Davison
Date: Tue, 14 Apr 1992 03:44
19 lines
1605 bytes
Paul Smee (P.Smee@bristol.ac.uk) wrote:
> If I addgroup a group with status 'x', because I know about it but
> don't want it, trn will then report it as a new group and ask people if
> they want to subscribe, and then later will spot it as bogus and go off
> to play for a while.

This is an interesting problem.  I think that changing the addgroup
command in C news so that a group "created" with an 'x' isn't appended
to the active.times file is a good first step (I need to snag the latest
C news to see if they've made this change yet -- mine's a year old or so).
However, NNTP also needs to have the NEWGROUPS command fixed a bit.  It
should weed out 'x'ed out groups and groups that a user doesn't have
permission to access.  Finally, I might as well make trn deal with bogus
values coming back from the NEWGROUPS command in a more graceful fashion.
I'll put it on my todo list.
-- 
 \  /| / /|\/ /| /(_)    Wayne Davison
(_)/ |/ /\|/ / |/  \     davison@borland.com
   (W   A  Y   N   e)
Re: trn flaw in new group handling
#1450
Author: Chris Andersen (The Dangerous Gu...
Date: Wed, 15 Apr 1992 00:28
22 lines
1759 bytes
Paul Smee (P.Smee@bristol.ac.uk) wrote:
> If I addgroup a group with status 'x', because I know about it but
> don't want it, trn will then report it as a new group and ask people if
> they want to subscribe, and then later will spot it as bogus and go off
> to play for a while.

A similar situation occurs if you do an "addgroup newsgroup =newsgroup".

Furthermore, after trn detects these invalid groups it asks if you want to delete
them.  If you do, then execute the "newsgroups" command it will return telling you that
the invalid groups should be added back to your .newsrc.

Changes I would suggest making:

  * either not add the aliased and "x" groups to the active.times file or modify trn
    (and other newsreaders?) so that they ignore these groups.

  * modify newsgroups so that it doesn't say anything about these groups.
-- 
Chris Andersen (..!uunet!sequent!toontown!chris)

"...the only thing worse than being hurt is being bored." -- Daniel Mocsny
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