Article View: news.software.readers
Article #134184Re: [Xnews] "Unread" value on groups window
From: trade
Date: Fri, 26 Sep 2003 12:09
Date: Fri, 26 Sep 2003 12:09
43 lines
2831 bytes
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.
Technical Details
Message-ID:
<79c1141b1678706304223a8d347656b3@news.teranews.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!torn!snoopy.risq.qc.ca!chi1.webusenet.com!news.webusenet.com!newsfeed-east.nntpserver.com!nntpserver.com!news.teranews.com!not-for-mailReferences:
<94025DC9C50CB7AF39@62.253.162.114>Show Full Headers
Complete Article Headers
Message-ID: <79c1141b1678706304223a8d347656b3@news.teranews.com> Subject: Re: [Xnews] "Unread" value on groups window Date: Fri, 26 Sep 2003 12:09:24 GMT From: trade <invalid@invalid.invalid> References: <94025DC9C50CB7AF39@62.253.162.114> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!torn!snoopy.risq.qc.ca!chi1.webusenet.com!news.webusenet.com!newsfeed-east.nntpserver.com!nntpserver.com!news.teranews.com!not-for-mail X-Abuse-Report: abuse@teranews.com Lines: 42 Newsgroups: news.software.readers Organization: none User-Agent: Xnews/05.08.12