🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by fpu account Wed, 06 Jun 1990 13:24
Bug?
#537
Author: fpu account
Date: Wed, 06 Jun 1990 13:24
21 lines
1147 bytes
Say I have only one group with unread article, that I have two
unread articles that I see in the selection mode, and that
the article numbers are 1001 and 1010.  The header at the top
right of the screen will say

Articles 2 of 10/1

Rather than 

Articles 2 of 2/1

I suspect this is because we see the range rather than the number
of unread articles.

This is also the case if I hit "Y".  I will see 10 rather than 2
as the number of articles in the group.

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

-- Ran
Re: Bug? (in number of unread articles)
#563
Author: 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!
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