Article View: news.software.readers
Article #5480Re: Adding Authors to Kill files in xrn or rn
From: Wayne Davison
Date: Tue, 24 Aug 1993 21:24
Date: Tue, 24 Aug 1993 21:24
37 lines
2118 bytes
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
Technical Details
Message-ID:
<CCA8t8.Kv9@borland.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!sdd.hp.com!swrinde!elroy.jpl.nasa.gov!decwrl!borland.com!davisonReferences:
<CC9vq7.Hrw@odin.corp.sgi.com>Show Full Headers
Complete Article Headers
Message-ID: <CCA8t8.Kv9@borland.com> Subject: Re: Adding Authors to Kill files in xrn or rn Date: Tue, 24 Aug 1993 21:24:44 GMT From: davison@borland.com (Wayne Davison) References: <CC9vq7.Hrw@odin.corp.sgi.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!sdd.hp.com!swrinde!elroy.jpl.nasa.gov!decwrl!borland.com!davison Newsgroups: news.software.readers Organization: Borland International Lines: 37