🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #264975

Re: trn4: Where are memorized command stored?

#264975
From: Eli the Bearded
Date: Mon, 24 May 2021 18:30
43 lines
3021 bytes
In news.software.readers, Kenny McCormack <gazelle@shell.xmission.com> wrote:
>     2) There was nothing in either killfile that had to do with
> 	the memorization of this thread.  I can tell this by the access
> 	date/time on the killfile file and/or by comparing the file (via
> 	the "diff" utility) to a previous version of it.  I can state with
> 	pretty close to total certainty, that there's nothing in either
> 	file having to do with this memorization stuff.

I think there are three places it could be. Global killfile I do not
think is ever added to by trn, you have to edit it manually.
(Corrections welcome.) Group killfiles can be added by commands in the
newreader, and edited by typing <ctrl-k> at article selection level. I
use this, and I think this is likely the most commonly used filtering
in trn. Where those live is configurably, but it defaults to (eg)
~/News/news/software/readers/KILL . It is not easy to do _accidentally_
add rules there.

Third case, and easiest to accidentally trigger, is the scoring rules,
backported from some some trn fork, and not well documented. The default
location for those is ~/.trn/savedscores .

[ Examing code, I see there is another filtering/scoring system in trn,
 but that one is even less likely to be accidentally triggered, as you
 have to first configure a filter script. Those ones apparently get
 saved as (eg) ~/News/Filters/News.software.readers ]

I don't really know the format of the savedscores files, I have some 200
lines in mine. It _appears_ to take a format like:

	!group.name
	:articleno
	.rules

Where the .rules line may or may not exist. I think after the article
with the number expires, the rules become moot. If your news server
doesn't expire articles, probably removing the triplet of lines would
work, or just dropping the dot line with the rules.

Or you, know, just delete the whole savedscores file.

Elijah
------
mostly has rulesets without dot lines
Technical Details
Message-ID: <eli$2105241407@qaz.wtf>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <s8ehqd$18bco$2@news.xmission.com>

Show Full Headers
Complete Article Headers
Message-ID: <eli$2105241407@qaz.wtf>
Subject: Re: trn4: Where are memorized command stored?
Date: Mon, 24 May 2021 18:30:05 +0000
From: Eli the Bearded <*@eli.users.panix.com>
References: <s8ehqd$18bco$2@news.xmission.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Nntp-Posting-Date: Mon, 24 May 2021 18:30:05 +0000 (UTC)
Newsgroups: news.software.readers
X-Trace: reader1.panix.com 1621881005 7399 166.84.1.5 (24 May 2021 18:30:05 GMT)
X-Liz: It's actually happened, the entire Internet is a massive game of Redcode
Nntp-Posting-Host: panix5.panix.com
Organization: Some absurd concept
X-Motto: "Erosion of rights never seems to reverse itself." -- kenny@panix
Lines: 43
X-Complaints-To: abuse@panix.com
Encrypted: double rot-13
X-Us-Congress: Moronic Fucks.
X-Attribution: EtB
Xfrom: is a real address
User-Agent: Vectrex rn 2.1 (beta)