🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Ali Moayedian Tue, 24 Aug 1993 16:42
Adding Authors to Kill files in xrn or rn
#5477
Author: Ali Moayedian
Date: Tue, 24 Aug 1993 16:42
5 lines
882 bytes
How can I add authors to my kill files.  I don't think it can
be done with xrn, but I believe there is way to do it with rn.
Any hints how it can be done?

Thanks
Re: Adding Authors to Kill files in xrn or rn
#5480
Author: Wayne Davison
Date: Tue, 24 Aug 1993 21:24
37 lines
2118 bytes
According to Ali Moayedian <ali@mti.sgi.com>:
> How can I add authors to my kill files.  I don't think it can
> be done with xrn, but I believe there is way to do it with rn.
> Any hints how it can be done?

In rn you can type the following:

/^From:.*author name/Kh:j

and it will execute the command and (because of the 'K' modifier) store the
result in the kill file.  The 'h' modifier tells it to search the entire
header, not just the subject.

In trn you could use:

/author name/Kf:j

which takes advantage of the 'f' modifier to search the From line cache.
If you're using a thread file (which stores the From lines cached by
real name only) and you wish to match the login name portion, use:

/author name/KHfrom:j

and trn will make sure it has the non-compressed version of the name
before it does the compare.  FYI, if you are using NNTP and a group that
does not have a thread or overview file, these latter two constructs are
much faster than searching the entire header (the first construct) since
trn can make use of the XHDR command.  For this reason (and quite a few
others) you would do well to upgrade your rn to trn even if you don't
plan to run it as trn (it knows how to behave like rn).

Finally, trn 3.3 fixes a bug in the writing of the kill file line via the
'K' option, so if you tried something like the above and it didn't work,
it will work in trn 3.3.
-- 
Wayne Davison
davison@borland.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads