🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Jonathan I. Kamens Thu, 24 Apr 1997 00:00
Re: followup to multiple threads, was Re: Worldnet relay stopped - proof!
#33069
Author: Jonathan I. Kamens
Date: Thu, 24 Apr 1997 00:00
70 lines
4458 bytes
(Bogus "Distribution: world" removed.)

(Followups to news.software.readers.)

In article <5j8cc5$s4d@samba.rahul.net>, all-customers@agis.net (Just bad luck) writes:
|> In article <Y0VZhVAs45VzEwMT@codd-date.co.uk>,
|> Phil Boswell  <Phil.Boswell@anti-spam.codd-date.co.uk> wrote:
|> >In article <5j6d1n$25a@samba.rahul.net>, Illegal conversion?  What's
|> >that? <paula@agisgate.agis.net> writes
|> >[snip]
|> >>It seems to me the right thing to do when following up to multiple threads
|> >>is to grab the last item in the References: line from an article
|> >>at the end of each thread and put them in your References line.
|> >
|> >Will this actually work?
|> >
|> >What should my newsreader do when receiving such an article?
|> 
|> I've been doing it for years.  Such an article is simply a followup  in
|> several different threads.  Anyone who reads any of the threads will see
|> it.  Should cause no problem for news readers or transports.

I would be very surprised if all, or even most, News readers currently
available handle this the way you say they do.  Which News reader do
you use, and will it really display a single article in multiple
threads at the same time?

XRN's threading code (which is currently in beta -- 8.02, the last
released version, doesn't have threading) starts at the end of the
References line and walks backwards until it finds a parent article
that it knows about, and puts the article into that thread.  I was
under the impression that other News readers do the same thing.

Another thing I'm curious about is whether it's necessary for XRN to
keep a thread database.  Right now, it relies on References lines, but
unfortunately, there are apparently a good number of News readers out
there which, instead of including the entire References line in
followups and adding the last message to it, include only one or two
Message IDs.  XRN relies on message IDs in the References line to "kill
threads," so News readers which don't include the whole References make
thread killing fail.

The alternative is to keep a thread database instead of relying on
References lines, and I believe that some of the threading News
readers out ther do just that.  However, that introduces a problem of
its own -- if someone wants to post a followup which is related to its
parent message but not to any of the previous ones, i.e., they in
essence want to start a new thread in response to something someone
said in a particular article, they should be able to do so by editing
their References line to refer only to the single parent article.  The
way XRN does things right now, that will do the right thing.  But if I
keep track of thread chains, the new thread will get killed along with
the old, since the News reader will have no way of knowing the
difference between what this individual did and the
References-trimming News reader I mentioned above.

So, both approaches have their problems, and I'm not sure which one to
use.  Right now, like I said, I'm relying exclusively on References
headers, because it's easier to implement and consumes less resources,
and because I prefer not killing everything to killing too much.
However, I fear that the trend of not including the previous Refernces
line's contents in a followup is going to grow rather than shrink,
which will make XRN's current code work less and less as more and more
people use News readers which trim References lines.

-- 
Jonathan Kamens  |  OpenVision Technologies, Inc.  |   jik@cam.ov.com

Re: followup to multiple threads, was Re: [...]
#33122
Author: not my real address
Date: Fri, 25 Apr 1997 00:00
63 lines
3899 bytes
In article <5jok2a$53n$1@pad-thai.cam.ov.com>,
Jonathan I. Kamens <jik@cam.ov.com> wrote:
>In article <5j8cc5$s4d@samba.rahul.net>, all-customers@agis.net (Just bad luck) writes:
>|> In article <Y0VZhVAs45VzEwMT@codd-date.co.uk>,
>|> Phil Boswell  <Phil.Boswell@anti-spam.codd-date.co.uk> wrote:
>|> >In article <5j6d1n$25a@samba.rahul.net>, Illegal conversion?  What's
>|> >that? <paula@agisgate.agis.net> writes
>|> >[snip]
>|> >>It seems to me the right thing to do when following up to multiple threads
>|> >>is to grab the last item in the References: line from an article
>|> >>at the end of each thread and put them in your References line.
>|> >
>|> >Will this actually work?
>|> >
>|> >What should my newsreader do when receiving such an article?
>|> 
>|> I've been doing it for years.  Such an article is simply a followup  in
>|> several different threads.  Anyone who reads any of the threads will see
>|> it.  Should cause no problem for news readers or transports.
>
>I would be very surprised if all, or even most, News readers currently
>available handle this the way you say they do.  Which News reader do
>you use, and will it really display a single article in multiple
>threads at the same time?

I think it's trn-3.4 (nntp) here on rahul.net, and trn-3.6 (local spool)
at home.  I'm not sure what Rahul does, but at home I use C News with
News Overview.  Yes I know it's archaic, but I've been to busy
*using* Linux to upgrade it.  For all I know that funky little thread
map trn tries to draw in the upper right corner gets all confused by
references to multiple threads; I never pay attention to that.

I tried strn and slrn but they wouldn't compile on any system I've got.


>XRN's threading code (which is currently in beta -- 8.02, the last
>released version, doesn't have threading) starts at the end of the
>References line and walks backwards until it finds a parent article
>that it knows about, and puts the article into that thread.  I was
>under the impression that other News readers do the same thing.

Well I have no idea how to write threading code but placing an article
in multiple threads would break that.  Trn must do it some other way.

When I write software I try to make it tolerate as much wacky input as
possible, and its output conform to whatever standard applies.  The
only standard I know that talks about news References: lines is RFC1036.
If 1036 doesn't say it's a no-no, I'd try to make my newsreader tolerate it.

I also delete obsolete items out of the middle of the References: line,
since References: lines that grow too long cause buffer overflows in trn.
I recall a FAQ someplace that said it was the right thing to do.

BTW, whatever happened to the Broken Newsreaders FAQ?

-- 
Cameron Spitzer in San Jose, cls at truffula. sj. ca. us.  My "From:" line
is for harvest.  As are these: mason@agisgate.agis.net don@agisgate.agis.net
doug@agisgate.agis.net erich@agisgate.agis.net erik@agisgate.agis.net
george@agisgate.agis.net goldman@agisgate.agis.net georgey@agisgate.agis.net

Re: followup to multiple threads, was Re: [...]
#33251
Author: Jonathan I. Kamens
Date: Wed, 30 Apr 1997 00:00
29 lines
2255 bytes
In article <5jp742$igt@samba.rahul.net>, unsubscribe@shoppingplanet.com (not my real address) writes:
|> Jonathan I. Kamens <jik@cam.ov.com> wrote:
|> >XRN's threading code (which is currently in beta -- 8.02, the last
|> >released version, doesn't have threading) starts at the end of the
|> >References line and walks backwards until it finds a parent article
|> >that it knows about, and puts the article into that thread.  I was
|> >under the impression that other News readers do the same thing.
|> 
|> Well I have no idea how to write threading code but placing an article
|> in multiple threads would break that.

No, it wouldn't "break," it would simply only place the article in one
thread, instead of in all of them.  That's not entirely what the author
of the article intended, but it's not really "broken" either, and I'm
not really convinced that this happens often enough to be worth making
the threading code more complex (and therefore slower) to accommodate
it.

|> I also delete obsolete items out of the middle of the References: line,
|> since References: lines that grow too long cause buffer overflows in trn.
|> I recall a FAQ someplace that said it was the right thing to do.

The current beta version of XRN does this automatically.  It always
leaves the first message ID in the References header, and then strips
the 2nd, 3rd, etc. until it's left with a "References:" header which is
512 characters long or less, including the final newline and null.

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