Article View: news.software.readers
Article #74057Re: slrn vs trn
From: Matthias Friedrich
Date: Fri, 23 Mar 2001 12:40
Date: Fri, 23 Mar 2001 12:40
40 lines
2970 bytes
2970 bytes
J.B. Nicholson-Owens wrote:
> Matthias Friedrich wrote:
>> The ability to killfile a thread with all articles that might be postet in
>> future is also nice (but that's not difficult).
> It's not hard to implement but it strikes me as something that doesn't scale
> well over time. The only way I can guarantee you won't see the thread again
> is to record offensive message-IDs to a file and never lose old message-IDs.
Yes, that's the method I had in mind and AFAIK it's the only way to do
it.
> This means the file grows without bound and will take increasingly long
> amounts of time to load and search (even if I were to use a hash). Is there
> some shortcut I'm missing here that will still work as well? I don't have
> enough experience with trn to see first-hand how it handles killing articles
> in threads many sessions ago.
Trn maintains a list of killfiled threads in ~/.trn/Kill/Threads.
This file contains (among others) lines of the form
Message-ID + number
I haven't read much of the code (see kfile_init in kfile.c for more
information) but it seems that the number is some kind of timestamp.
If the rule is older than 30 days (KF_MAXDAYS) it is ignored.
Since the Thread file is opened read-only and since my old Threads
file is 419 lines long I believe no expiration of old entries is done.
> I think it will be problematic (for a macro, which is essentially what I'm
> writing) to take out offensive articles: I could modify the user's slrn
> scorefile and have it do the work much faster (of course, undoing the
> modifications just before you get control of slrn again).
I'd like to have the killfiling permanently in my score file. I see no
need to maintain a Threads file like trn does. That way users could
use cleanscore to remove old score file entries and the problem of an
endlessly growing file is eliminated.
bye,
Matthias
Technical Details
Message-ID:
<slrn9bmh19.652.afr@endeavour.mafr.de>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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!212.144.122.55!not-for-mailReferences:
<99arus$764$1@news.panix.com> <2001-03-22T15-51-20@guckes.net> <slrn9bl2b4.18e.jbn@forestfield.org> <slrn9bm49i.s1.mafr@endeavour.mafr.de> <slrn9bm5bm.1gu.jbn@forestfield.org>Show Full Headers
Complete Article Headers
Message-ID: <slrn9bmh19.652.afr@endeavour.mafr.de> Subject: Re: slrn vs trn Date: Fri, 23 Mar 2001 12:40:09 +0000 From: mafr@topmail.de (Matthias Friedrich) References: <99arus$764$1@news.panix.com> <2001-03-22T15-51-20@guckes.net> <slrn9bl2b4.18e.jbn@forestfield.org> <slrn9bm49i.s1.mafr@endeavour.mafr.de> <slrn9bm5bm.1gu.jbn@forestfield.org> 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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!newsfeed.berkeley.edu!ucberkeley!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!212.144.122.55!not-for-mail Newsgroups: news.software.readers Organization: Project Chaos Lines: 39 NNTP-Posting-Host: 212.144.122.55 X-Trace: fu-berlin.de 985351276 1145848 212.144.122.55 (16 [47474]) User-Agent: slrn/0.9.6.4pl4c (Linux)