🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by trade Fri, 26 Sep 2003 12:09
Re: [Xnews] "Unread" value on groups window
#134184
Author: trade
Date: Fri, 26 Sep 2003 12:09
43 lines
2831 bytes
Hiram  Walker <hirram@mail.com> wrote in 
news:94025DC9C50CB7AF39@62.253.162.114:

> In the Xnews groups windows, the unread value is the actual number of 
> unread articles.  When you do a catchup this value goes to zero.
> 
> However catchup and "read all" are slightly different.
> 
> Is there away to display the actual number of truly unread articles 
> even after a catchup has been performed?
> 
> The green numbers in the bottom left of the articles screen are 
> updated by catched so they can't be used.
> 
> Perhaps there is a setting which allows the true unread number of 
> articles to be displayed instead of the catchup-ed value?
> 

the unread number is a figured value based on the known read articles 
tracked by the newsrc (the read column) and the newsrc first/last values. 
If you watch these values you'll see the unread value is spot on. 

The reason you see different results from different actions is the actions 
are not the same, they do completely different things to the newsrc values:

acgCatchup: read = 1 - last
acaCatchup: read = 1 - last; update first/last if connection available 
acaMarkAllRead: read = previous read + literal articles in this viewer.
acaCatchupKillXpost: acaMarkAllRead; update first/last if connection.

The main source of difference is the update first/last and that article 
numbers between first/last don't have to exist. The articles in the viewer 
don't have to correspond to all the numbers between first and last. In the 
end there is no such thing as "true unread number" or at least there is no 
way to figure it out short of getting new headers and counting.

The closest you can get to what you want is to use one of the acaCatchups 
that set read = 1 - last, but keep in mind that acaCatchupKillXpost is the 
only catchup option that can set the read flags in header storage.

oh, and don't forget about plonk, hardkill and MaxKillXpost which all lead 
to articles within first/last that you'll never see.
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