🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #1017

Re: Problems with trn.

#1017
From: Rob Stampfli
Date: Sat, 11 Jan 1992 05:06
42 lines
2773 bytes
In article <1992Jan08.144340.345@lunatix.uucp> robert@lunatix.uucp (Robert Sexton) writes:
>OK, this one didn't seem to go the first time around, so here goes:
>trn 2.2 running on SCO Unix 3.2.  mthreads is running and expiring the
>databases just fine.
>
>here's how I exercise the problem:
>
>1.  run rn(non-trn rn) and read say, comp.dcom.modems.  I read say,
>half, leaving 50 unread articles. my .newsrc is just fine, reflecting
>the actual number of articles read.  
>
>2.  I run trn.  it says:
>************ 50 unread articles in comp.dcom.modems-- read now? [+ynq]
>
>so far, so good.  when I hit space for the thread selector, things get
>wierd. the first line on my screen says:
>(comp.dcom.modems)             108 articles.
>
>-------------------------------
>What gives?  Why does it show me subject lines for articles I have
>already read?  from my experiments, if a single article shows up, trn
>will show me the subject lines for EVERYTHING.  This is driving me and
>my users nuts.  I have gone over the docs carefully, and I cannot seem
>to figure out what is going on.

This is probably not responsible for your problem, but on a related note,
I have noticed that the on-the-fly threader seemed to be getting invoked
more often than necessary.  Finally, I found a group with NO articles in it,
but when I would enter it, trn would think it had to "thread 4 articles",
invoke the threader, not find any, and then go merrily on its way.  This
was quite repeatable, and the threading took time, so I started looking at
why.  I found that trn was getting confused because the minimum article
number in the active file was wrong -- I run expire several times a day,
but ran updatemin once per night.  During the day, the last four articles
in the group expired, but the minimum article number in the active file
had not been updated.  I now run updatemin after every expire.

It seems to me that the algorithm for determining whether to invoke the
on-the-fly threader could be better written to look for differences between
the active and trn/active2 files.
-- 
Rob Stampfli, 614-864-9377, res@kd8wk.uucp (osu-cis!kd8wk!res), kd8wk@n8jyv.oh
Technical Details
Message-ID: <1992Jan11.050643.7033@colnet.uucp>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!zaphod.mps.ohio-state.edu!n8emr!colnet!res
References: <1992Jan08.144340.345@lunatix.uucp>

Show Full Headers
Complete Article Headers
Message-ID: <1992Jan11.050643.7033@colnet.uucp>
Subject: Re: Problems with trn.
Date: Sat, 11 Jan 1992 05:06:43 GMT
From: res@colnet.uucp (Rob Stampfli)
References: <1992Jan08.144340.345@lunatix.uucp>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!zaphod.mps.ohio-state.edu!n8emr!colnet!res
Newsgroups: news.software.readers
Keywords: argggg!
Organization: Little to None