🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #22205

Re: TRN & killfiles

#22205
From: mathew
Date: Wed, 29 May 1996 00:00
73 lines
2636 bytes
In article <Ds5rLo.3u0@news.uwindsor.ca>,
Robert Blazek <blazek@uwindsor.ca> wrote:
>I'm setting up a killfile in trn.
>What I'd like to do is set up a specific directory
>for my killfiles to reside in, stopping
>a proliferation of multi-long kill directories all
>over the place.

Yeah, that's what I do :-)

setenv TRNINIT /usr/users/blazek/.trnrc

If you use something other than csh or tcsh as your shell, the
incantation will be slightly different.

Here's my .trnrc file:
- - - cut here - - -
-XX -f -B -I -f -s -G -N -m -p -g4 -u \
-EKILLGLOBAL=%p/kill/global -EKILLLOCAL=%p/kill/%C
- - - cut here - - -

Note the KILLGLOBAL and KILLLOCAL lines, those are the relevant ones.
The other things are just my recommended options. :-)

The above makes a directory ~/News/kill/ and places each newsgroup's
kill file in a file of the appropriate name, e.g.
"~/News/kill/news.newusers.questions".

And here, for interest, is my news.newusers.questions kill file:

- - - cut here - - -
/hello/:j
/test/:j
/friend/:j
- - - cut here - - -

Global kill lines get put in ~/News/kill/global.  Here's my current
global kill file:

- - - cut here - - -
# Kill articles with no subject line
/: *(*None)*$/:j
/: *Test$/:j
/: *[(<]*No subject[)>]*$/:j
# Kill articles with all caps subject lines
/: *[ -`e]*$/c:j
# Kill articles with !! $$ ** or FREE in subject
/!!/:j
/\$\$/:j
/\*\*/:j
/FREE/c:j
# Kill articles cross-posted to five or more newsgroups
/: *.*,.*,.*,.*,/Hnewsgroups:j
# This one speaks for itself
/please read/:j
# Kill articles with blatantly broken From: addresses
/^[^@]*$/f:j
# Random morons to kill articles from
/bu765@torfree.net/f:Tj
- - - cut here - - -

Share and enjoy :-)


mathew
-- 
meta@pobox.com          http://www.pobox.com/~meta/
"In any event, this is a straw herring for debate."
      - solovay@netcom.com (Andrew Solovay)
  Wanted: Digital CD copy of "Plunderphonics" CD

Technical Details
Message-ID: <4oib5c$7p@snotra.harlequin.co.uk>
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: <Ds5rLo.3u0@news.uwindsor.ca>

Show Full Headers
Complete Article Headers
Message-ID: <4oib5c$7p@snotra.harlequin.co.uk>
Subject: Re: TRN & killfiles
Date: Wed, 29 May 1996 00:00:00 +0000
From: meta@pobox.com (mathew)
References: <Ds5rLo.3u0@news.uwindsor.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!not-for-mail
X-Deja-AN: 157412307
Sender: meta@harlequin.co.uk
Followup-to: news.newusers.questions
Organization: Otter Obsessives Anonymous
Newsgroups: news.newusers.questions,alt.killfile,news.software.readers