Re: trnkill script

Kevin Martin (cannon@nic.com)
Mon, 29 Apr 1996 15:26:16 -0400 (EDT)

Hi, Jude. Can you capture what trn does if you run it interactively,
instead of running trnkill? It is a little messy, because trn clears
the screen each time it enters a new newsgroup.

But you seem to have it set up right; $HOME/News/KILL should be the
location of your global KILL file. Here's mine - it has two lines:

/^Lines: [4-9][0-9][0-9][0-9]/h:j
/^Newsgroups: .*,.*,.*,.*,.*,.*,.*,.*,.*,/h:j

I'm killing posts of more than 4000 lines and more than ten groups.
I tighten these tests further for specific newsgroups.

Jude wrote:

> For whatever reason, trnkill script doesn't appear to work.

> When I run the trnkill -d for debugging, everytime a newsgroup is
> brought up to read the package answers with q and says auto processing
> the next newsgroup.

That's what it looks like; a "q", then the screen clears, and there
are a few dots as the group and global KILL files are applied. The
devil is in the details. Let me try to capture a typical trnkill
session and see if there's any way to present it in an e-mail.

It could be as simple as a one-character typo in your KILL file rule,
two commas instead of a period and a comma.