🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #739

Re: trn message counts wrong

#739
From: Wayne Davison
Date: Mon, 21 Oct 1991 03:13
20 lines
1790 bytes
Karl Mosgofian (karl@cae780.csi.com) writes:
> trn [...] keeps
> telling me that there are more or less messages than there really are.
> I.e., I get "3 unread messages in news.software.readers" but when I
> actually read the group, there is only 1.

Just like in rn, the initial value you see at the newsgroup prompt is only
an approximation based on the high (and possibly low) article number in the
active file and the associated line in your .newsrc.  If any articles are
missing or have duplicate message ids, trn will notice them and omit them
from the count when you enter the group (this is when the data file is read
in and processed).  While this could be fixed by reading the data file for
each group while you are just browsing along at the newsgroup selection
stage, it would be much less efficient that way.  This is especially true in
trn 2.0 (not released yet) where the data file may not already exist, but is
created when you read the group.
-- 
 \  /| / /|\/ /| /(_)     Wayne Davison
(_)/ |/ /\|/ / |/  \      davison@borland.com
   (W   A  Y   N   e)
Technical Details
Message-ID: <1991Oct21.031319.968@borland.com>
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!gmdzi!unido!math.fu-berlin.de!ox.com!yale.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!usenet.coe.montana.edu!decwrl!borland.com!davison
References: <12337@cae780.csi.com>

Show Full Headers
Complete Article Headers
Message-ID: <1991Oct21.031319.968@borland.com>
Subject: Re: trn message counts wrong
Date: Mon, 21 Oct 1991 03:13:19 +0000
From: davison@borland.com (Wayne Davison)
References: <12337@cae780.csi.com>
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!gmdzi!unido!math.fu-berlin.de!ox.com!yale.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!usenet.coe.montana.edu!decwrl!borland.com!davison
Newsgroups: news.software.readers
Keywords: trn
Organization: Borland International
Lines: 20