Article View: news.software.readers
Article #9568Re: HELP!!!! Looking for an newsreader/e-mail software combo
From: Steven King, Software Archaeolog...
Date: Wed, 15 Jun 1994 16:16
Date: Wed, 15 Jun 1994 16:16
56 lines
3039 bytes
3039 bytes
c22at@kocrsv01.delcoelect.com (Andy Tenka) publicly declared:
>I am looking for a news reader that can do the followings:
>1. Automatically e-mail the articles in the subscribed newsgroups to a
> specified e-mail address.
>OR
>1. Automatically e-mail the SUBJECTS of the articles in the subscribed
> newsgroups to a specified address.
>OR
>1. Automatically COPY the articles in the subscribed newsgroups to a file.
Trn can do all of the above via KILL files. The script included below
runs trn in unattended batch mode to process the KILL files for each
newsgroup. Simply set up commands in the KILL files to mail or save the
articles, et voila!
A sample KILL file command to mail all articles would be:
/./:s|mail -s "This is an article" user@site.domain
Read the trn man page for more information regarding KILL file commands
(also known as "Memorized Commands"). You can really do a heckuvalot
with them.
>Please tell me where I can get this kind of newsreader, and where I can
>get the documentation of the reader.
Trn is available on ftp.uu.net, and probably other sites as well.
---=== Cut Here ===--- ---=== Cut Here ===--- ---=== Cut Here ===---
#!/bin/sh
# trnkill - shell script to apply trn KILL files in the background
# 14 Mar 89 created 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
if test X$1 = X-d; then
echo "z" | trn
else
echo "z" | trn >/dev/null 2>&1
fi
rm -f $TRNMACRO
exit 0
---=== Cut Here ===--- ---=== Cut Here ===--- ---=== Cut Here ===---
--
----------------------------------------------<Steven King, king@cig.mot.com>--
A little inaccuracy sometimes saves tons of explanation.
(H. H. Munro [Saki])
Technical Details
Message-ID:
<2tn9g7$4c2@delphinium.cig.mot.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!nntp.gmd.de!xlink.net!howland.reston.ans.net!swrinde!news.dell.com!tadpole.com!uunet!ftpbox!mothost!delphinium.cig.mot.com!wildebeest!kingReferences:
<1994Jun14.220554.6547@kocrsv01.delcoelect.com>Show Full Headers
Complete Article Headers
Message-ID: <2tn9g7$4c2@delphinium.cig.mot.com> Subject: Re: HELP!!!! Looking for an newsreader/e-mail software combo Date: Wed, 15 Jun 1994 16:16:07 +0000 From: king@wildebeest.cig.mot.com (Steven King, Software Archaeologist) References: <1994Jun14.220554.6547@kocrsv01.delcoelect.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!nntp.gmd.de!xlink.net!howland.reston.ans.net!swrinde!news.dell.com!tadpole.com!uunet!ftpbox!mothost!delphinium.cig.mot.com!wildebeest!king Newsgroups: news.software.readers Organization: Motorola Cellular Infrastructure Group Lines: 56 Distribution: na Reply-To: king@wildebeest.cig.mot.com NNTP-Posting-Host: wildebeest.rtsg.mot.com