garym@telesoft.com (Gary Morris @nova) (09/28/89)
I recently learned how to use kill files and in some cases have kill files that junk all articles then mark just the ones I want to see. The only problem is that this is quite slow. Is there any way to force rn to process the kill files, say from a script set to run early in the morning? Ie: /^/j /rn/m --GaryM -- Gary Morris uunet!ucsd!telesoft!garym TeleSoft N6FRT garym@telesoft.com San Diego, CA, USA ASEL garym@nynashamn.telelogic.se +1 619 457-2700
jwm@stda.jhuapl.edu (Jim Meritt) (09/28/89)
In article <542@telesoft.com> garym@telesoft.com (Gary Morris @nova) writes: }I recently learned how to use kill files and in some cases have kill files }that junk all articles then mark just the ones I want to see. The only }problem is that this is quite slow. Is there any way to force rn to process }the kill files, say from a script set to run early in the morning? I use: ........................................................................ /bin/rm /usr/jwm/killed echo "~s rrn KILLed list" > /usr/jwm/killed rnkill -d >> /usr/jwm/killed /usr/ucb/mail jwm@stdc </usr/jwm/killed /bin/rm /usr/jwm/killed ...................................................................... with rnkill being: ...................................................................... #!/bin/sh # # rnkill - shell script to apply rn KILL files in background # olsen@XN.LL.MIT.EDU (Jim Olsen) # Jim Olsen - 14 Mar 89 # # Options: -d debug mode. You see all gory action as it happens. # Visit all newsgroups (if rn asks about anything else, just say no) export RNMACRO RNINIT RNINIT='-s -T -t' RNMACRO=/tmp/rnkill$$ trap 'rm -f $RNMACRO; exit' 1 2 3 15 echo "z %(%m=n?.q^M:n)^(z^)" > $RNMACRO if test X$1 = X-d; then echo "z" | rn else echo "z" | rn >/dev/null 2>&1 fi rm $RNMACRO exit 0 ......................................................................... Since my kill files not only kills articles, but looks for things that I have deamed interesting (like my name, for instance, in any article) and lists the article number and subject of those articles. While it takes a long time for the process to cycle through, I can read what it mails me in less than a minute. "In these matters the only certainty is that nothing is certain" - Pliny the Elder These were the opinions of : jwm@aplvax.jhuapl.edu - or - jwm@aplvax.uucp - or - meritt%aplvm.BITNET