🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #28295

Re: Need help setting up a news-filter ('trnkill'?)

#28295
From: Xriva Znegva
Date: Wed, 11 Dec 1996 00:00
51 lines
2831 bytes
In article <32acdf341331501@sn.no>,
   hallvart@sn.no (Hallvard Tangeraas) wrote:

>It's located at: <http://www.nic.com/~cannon/trnkill.html>
>
>But even though I've downloaded it and all the associated files I'm 
>still pretty confused about how to set it up.

It needs to be executable - there's a link on the page where you
got it that talks about how to do that.  (You should have a personal
"bin" directory that is in your Unix PATH, and you make it executable
by saying "chmod +x trnkill".)  It depends on your being able to run 
trn, specifically.  I don't know if tin has a comparable ability to 
run keystroke macros but it certainly doesn't use the same commands.

>I also don't understand how it works since there's no call in the 
>script for trn, .newsrc or tin.....

Yes, there is a call to trn -- it's just well-buried.  And all
of the changes to your .newsrc are done by trn, not by the script.

What trnkill does is create a short macro in your /tmp directory,
starts trn and invokes that macro for each group in your .newsrc
file.  All it does is open all the groups you're subscribed to, 
one after the other and then closes them with 'q'.  That's enough
to make trn apply its KILL files.

You have to have trn KILL files in order for this process to 
accomplish anything!  That's why there are links to two original
KILLfile FAQ's and the Official trn KILLfile FAQ.  You can get
to all of them from the same page where you picked up the script.

I realize that people who use offline readers are often conscious of 
their connect time, but everything on that page is there for a reason, 
and I hope you'll take the time to read it. (Sigh.) If you have a 
suggestion how I can make it any clearer I'd appreciate hearing about 
it.

If you're paying by the minute, may I suggest that you take the link 
back to the top level Usenet Offline page, and use the link provided 
there to download the entire set of pages?  It's only about 70KB zipped, 
and you can then read it offline by unzipping it into an empty 
directory.   I hope this helps.   (Posted and emailed.)

-- 

Kevin Martin <pnaaba@avp.pbz>  V trg znvyfcnzzref' nppbhagf lnaxrq!
             ROT13 the above to get my reply address

Technical Details
Message-ID: <58mkbr$fh3@spruce.citicorp.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!not-for-mail
References: <32acdf341331501@sn.no>

Show Full Headers
Complete Article Headers
Message-ID: <58mkbr$fh3@spruce.citicorp.com>
Subject: Re: Need help setting up a news-filter ('trnkill'?)
Date: Wed, 11 Dec 1996 00:00:00 +0000
From: pnaaba@avp.pbz (Xriva Znegva)
References: <32acdf341331501@sn.no>
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!not-for-mail
X-Deja-AN: 203513486
Distribution: citi
Organization: See my .sig
Newsgroups: news.software.readers