🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #563

Re: Bug? (in number of unread articles)

#563
From: Kim F. Storm
Date: Mon, 11 Jun 1990 15:19
30 lines
1678 bytes
fpu@taux01.UUCP (fpu account) writes:

>The header at the top right of the screen will say
>Articles 2 of 10/1
>Rather than 
>Articles 2 of 2/1

The reason is that nn uses a quick heuristics to calculate the 
number of unread articles in each group at start-up, and it simply
uses this number to adjust the number of "remaining unread articles".

To know the exact number of unread articles, you have to
1) parse the .newsrc (unset quick-count to do this), and
2) read the database to eliminate cross-postings, killed articles etc.

So the number is only an estimate, and you only really see the problem when
you are in the last group with unread articles.

Likewise on the Y overview.

>Is this a bug or just a left over feature from the days when
>the range was identical to the number of unread articles?

It is simply a way to make nn start-up faster.  If you want a better
estimate, "unset quick-count" in the init file.  But it will still
only be an approximation.

-- 
Kim F. Storm  <storm@texas.dk>		No news is good news,
Texas Instruments A/S, Denmark		  but nn is better!
Technical Details
Message-ID: <587@texas.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
References: <3985@taux01.UUCP>

Show Full Headers
Complete Article Headers
Message-ID: <587@texas.dk>
Subject: Re: Bug? (in number of unread articles)
Date: Mon, 11 Jun 1990 15:19:52 +0000
From: storm@texas.dk (Kim F. Storm)
References: <3985@taux01.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.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!tidk!storm
Newsgroups: news.software.nn
Organization: Texas Instruments, Denmark
Lines: 30
Posted: Mon Jun 11 16:19:52 1990