Thread View: news.software.readers
2 messages
2 total messages
Started by Wes Morgan
Sun, 10 Oct 1993 03:15
rn suggestion -- "batch process" killfiles
Author: Wes Morgan
Date: Sun, 10 Oct 1993 03:15
Date: Sun, 10 Oct 1993 03:15
22 lines
1628 bytes
1628 bytes
Given the continual growth of Usenet, killfiles are becoming one
of the major time-eaters in my newsreading. For some high-volume
groups, a 3-line killfile requires over 2 minutes' processing time.
I'd *love* to see a "I'm not reading, but process today's news
through my killfile" option to rn/trn. If I could do something
like this in a crontab at, oh, 8am or so, things would be MUCH
nicer when I get around to actually reading that day...
Any comments? If someone's already done this (via a shell script
or something), I'd love to see what you have. Ideally, this would
be incorporated as an option in a future release...
--Wes
--
Wes Morgan ----- University of Kentucky ----- morgan@engr.uky.edu
Mailing list for AT&T StarServer E/S admins - starserver-request@engr.uky.edu
GCS/E/MU d--- -p+ c++ l+ m* s++/++ !g w+ t+ r
gharshana-neti -- mental floss?
"batch process" trn killfiles
Author: Wayne Davison
Date: Sun, 10 Oct 1993 17:58
Date: Sun, 10 Oct 1993 17:58
38 lines
2099 bytes
2099 bytes
According to Wes Morgan <morgan@engr.uky.edu>: > I'd *love* to see a "I'm not reading, but process today's news > through my killfile" option to rn/trn. If I could do something > like this in a crontab at, oh, 8am or so, things would be MUCH > nicer when I get around to actually reading that day... I guess I should include this script in the trn distribution. For now I've cross-posted this message to alt.sources with Archive-Name set to "trnkill". -- Wayne Davison davison@borland.com ---8<------8<------8<------8<---cut here--->8------>8------>8------>8--- #!/bin/sh # trnkill - shell script to apply trn KILL files in the background # 14 Mar 89 created for rn by Jim Olsen <olsen@XN.LL.MIT.EDU> # 10 Sep 93 modified for trn 3 (or 2) by Wayne Davison <davison@borland.com> # Options: -d debug mode -- you see all gory action as it happens. # Visit all newsgroups (if trn asks about anything else, just say no) export TRNINIT TRNMACRO RNMACRO TRNINIT='-q -s -T -t -x +X' TRNMACRO=/tmp/trnkill$$ # support for trn 2.x RNMACRO=$TRNMACRO trap 'rm -f $TRNMACRO; exit' 1 2 3 15 echo "z %(%m=[nf]?.q^M:n)^(z^)" > $TRNMACRO echo "^m ^(z^)" >> $TRNMACRO echo "^j ^(z^)" >> $TRNMACRO if test X$1 = X-d; then echo "z" | trn else echo "z" | trn >/dev/null 2>&1 fi rm -f $TRNMACRO exit 0 ---8<------8<------8<------8<---cut here--->8------>8------>8------>8---
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