🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #4903

Re: trn 3.0 kill file change?

#4903
From: Wayne Davison
Date: Tue, 13 Jul 1993 18:42
45 lines
2459 bytes
According to Stephen A. Creps <creps@lateran.ucs.indiana.edu>:
> THRU nnnn
> /pat1/a:=:M
> /pat2/a:=:M
> /pat3/a:=:M
> /^/:j

An interesting situation, since, as you discovered, the 'a's honor the
THRU line (since they are a very slow search) while the 'j' command does
not.  Trn 3.1 will have a killfile extension that would let you write the
last line as simply:

*j

which tells trn to kill all articles from THRU to the end of the group.
It will also allow you to specify:

*X

which will kill all _unselected_ articles from THRU to the end of the group
(which saves you from having to type 'X' in the selector).

Also, here's a variation of the selection approach suggested by Jack.  NOTE:
selections work in both threaded and unthreaded groups now.  This approach
marks the article(s) and their immediate replies as selected, saving the
selections (by message-id) in the memorized commands (a.k.a. kill file) for
the group:

/pat1/a:T.
/pat2/a:T.
/pat3/a:T.
*X       <-- trn 3.1 only (available soon).

This way the articles we found with a matching pattern are always selected
on entry to the group, even if you don't read them all.  The only side-effect
is that their replies are also selected (there is no mark-just-one-article-
and-remember-it command in a kill file).  However, if the group is not
threaded only the one article will be selected since unthreaded groups
don't have attached replies.  So, you might want to toggle this one group
into unthreaded behavior with the 't' command at the newsgroup level
and use the above selection lines to process it.  You'll have to type
the 'X' command manually in the selector to dispose of the extra articles
until 3.1 arrives, though, but that's not too annoying.

.wayne..
Technical Details
Message-ID: <CA49Av.7Ir@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!newsserver.jvnc.net!howland.reston.ans.net!usenet.ins.cwru.edu!gatech!udel!darwin.sura.net!news-feed-2.peachnet.edu!concert!decwrl!borland.com!davison
References: <CA4441.MyJ@usenet.ucs.indiana.edu>

Show Full Headers
Complete Article Headers
Message-ID: <CA49Av.7Ir@borland.com>
Subject: Re: trn 3.0 kill file change?
Date: Tue, 13 Jul 1993 18:42:31 GMT
From: davison@borland.com (Wayne Davison)
References: <CA4441.MyJ@usenet.ucs.indiana.edu>
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!newsserver.jvnc.net!howland.reston.ans.net!usenet.ins.cwru.edu!gatech!udel!darwin.sura.net!news-feed-2.peachnet.edu!concert!decwrl!borland.com!davison
Newsgroups: news.software.readers
Organization: Borland International
Lines: 45