🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #126764

Re: [Xnews] Xnews on crack?

#126764
From: Tech Zero
Date: Sat, 21 Jun 2003 19:29
104 lines
5706 bytes
The voice of "GregMo" drifted in on the cyber-winds, 
from the sea of virtual chaos...

>> After you are done reading the group today, use CATCHUP (by
>> default bound to F8).  This tells Xnews "Ok, I'm through with all
>> these articles (whether I actually read them or not). Next time
>> around, don't download anything with an article # lower than
>> whatever the highest one was today." 
> 
> Short answer, yes, but not the correct one :-)  See my latest
> prior post to this thread :-)


You have to remember that Xnews stores group info in three different 
places. It stores initial read status & keep by article number in your 
servers "newsrc" file. Normally this is all you'd need, but when you 
add "header storage" thing become more a little complicated.

With storage turned on X-News now stores the read state with the groups 
headers, and the server's newsrc entries are now use to only determine 
what's new... As such an article can now have three states; "Unread 
New", "Unread Old", and "Read".

Second, X-News saves all files when you leave a group or server, until 
then everything remains in memory. This is a good thing on the surface; 
if a crash occurs, or something else happens it's file won't be 
corrupted (at least in theory).

What does this all mean to you...

When you leave the group X-News kills off all headers older then 30 
days & then compacts the header file. The next time you open the group 
with "Load Read Articles" (LRA) turned on you'll have a bunch of 
articles older then 30 days that you don't have cached, so X-News re-
downloads them "per your wishes". Now since these new headers don't 
have an entry in the Group header file they become new articles.

Solution One:
- Don't use "Load Read Articles" with storage turned on.
  It's for those who don't save headers anyways.


The second problem, Attack of The Zombie Posts... };8) 

"Hard Kill" eliminates articles with a scores less then -9998, and for 
the most part it behaves nicely with headers stored or not. But when 
you have LRA turned as well this creates a problem.

For those who don't use storage they'll never notice that X-News is re-
fetching a killed post, mainly because it's scored a dumped before it 
can be displayed on the screen. But with header storage on this results 
in a "hole" in your header file, and a "catch 22" next time the group 
is loaded. 

The Header files don't store the score, so anything that was "killed" 
after seeing it the first time remains in the file. A partial remedy is 
to add "ScoreStoredHeaders=1" to the Misc section of your Xnews.ini, 
but it also breaks any filter that uses XHDRs. This is because the 
Extended Headers are not stored in the Header file ether. Then to 
really make you day (and because you requested it to) the next time the 
group is opened LRA comes along and sees all those holes and just has 
to fill them with the missing articles.

Solution Two...
 - See Solotion One
 - Or better yet, turn off "Hard Kill" and use the following Groups.ini
   entry to "Soft Kill" your unwanted threads:

  [~binaries]
  OnLoaded=acvShowGe0Score


Problem Three, Catch-Up doesn't read...

With the read setting stored in two places thing can get "Out of Sinc" 
from time to time. The trouble is Catch-up doesn't always work with 
stored articles, or rather it only sets the read state in the newsrc 
and not the groups header file.

So if you use Catch-Up in the groups window X-News will only fetch from 
the last article, and you'll be missing some headers. If you use Catch-
Up from the Articles window it will mark the newsrc but not the Group 
file. In which case you'll see a bunch of old, unread articles when you 
reopen the group. This also gets messed up if LRA is turn on, because 
that function sets the starting point in the newsrc base on the oldest 
article in your Group file. Got to love that one, ah?

Solution Two...
 - See solution One and use "Mark All Read" before you leave a group.


None of these are bugs but due to the way it was created. Xnews was 
designed originally as an online reader only, and new features like 
header storage was "Patched" on much latter, leaving the original code 
in place. So its dot unexpected that some of its functions conflict 
with each other...

-- 
The Reverend Tech Zero (AKA: Maxwell Pollare)
First Baptist Church of X-News, may Delphi v7 save your soul...

* http://www.slyck.com/xnews.html  http://www.seegras.de/xnews     *
* http://www.geocities.com/d4vidb/ http://xnews.newsguy.com/sizer/ *
Technical Details
Message-ID: <Xns93A1895098C8DInsomniac@voxie.dragonfur.ca>
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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!nntp.theplanet.net!inewsm1.nntp.theplanet.net!zen.net.uk!fu-berlin.de!uni-berlin.de!blg17w1y46mh.ab.hsia.telus.NET!not-for-mail
References: <Xns93A0197B4DE78GregnospamMoWyldplea@216.168.3.44> <Xns93A08E21FB05Apt101594@129.250.170.91> <Xns93A075A32386FGregnospamMoWyldplea@216.168.3.44>

Show Full Headers
Complete Article Headers
Message-ID: <Xns93A1895098C8DInsomniac@voxie.dragonfur.ca>
Subject: Re: [Xnews] Xnews on crack?
Date: Sat, 21 Jun 2003 19:29:55 +0000
From: Tech Zero <spamail@dragonfur.ca>
References: <Xns93A0197B4DE78GregnospamMoWyldplea@216.168.3.44> <Xns93A08E21FB05Apt101594@129.250.170.91> <Xns93A075A32386FGregnospamMoWyldplea@216.168.3.44>
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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!nntp.theplanet.net!inewsm1.nntp.theplanet.net!zen.net.uk!fu-berlin.de!uni-berlin.de!blg17w1y46mh.ab.hsia.telus.NET!not-for-mail
Newsgroups: news.software.readers
Lines: 103
Reply-To: techzero@dragonfur.ca
NNTP-Posting-Host: blg17w1y46mh.ab.hsia.telus.net (142.59.4.81)
X-Trace: fu-berlin.de 1056223795 25387219 142.59.4.81 (16 [139626])
User-Agent: Xnews/06.01.10