Article View: news.software.readers
Article #33436Re: posting and replying in tin at the same time
From: Kenneth P. Turvey
Date: Fri, 09 May 1997 00:00
Date: Fri, 09 May 1997 00:00
51 lines
2080 bytes
2080 bytes
*selah* <soma@smtp.dorsai.org> wrote:
: Anyone know if there's a way to followup to an article and reply to the
: author at the same time using tin?
The only way I know to do this is to use a script as your mailer. The
script I am using (I don't remember where I got it. I didn't write it
myself though.) is below:
---
#!/bin/sh
# Originally written by Scott Hagie (hagie@netcom.com)
# Customized by pedwards for his own use.
$*
if (echo $* | grep -s $HOME/.article) ; then
msg=`sed '/^$/,$d' $HOME/.article | egrep -i '^cc: ' | colrm 1 4`
if [ "$msg" != "" ] ; then
/bin/echo -n "Do you want to Cc article to $msg (y/n)[y]? "
read choice
if [ "$choice" != "y" ] ; then
/bin/echo "mailing Cc of article to $msg"
/usr/bin/sendmail -oi -t < $HOME/.article
sed '/^[Cc]c: /d' $HOME/.article > $HOME/article
mv -f $HOME/article $HOME/.article
fi
fi
fi
---
After you have this set as your default mailer (see the tinrc file)
you simply add a Cc: header to outgoing posts and it mails them for
you.
That's it.
I hope this helps,
--
Kenneth P. Turvey <kturvey@pug1.SprocketShop.com>
Finger my account for PGP key info.
-----------------------------------------------------------------------
It behooves every man who values liberty of conscience for himself, to
resist invasions of it in the case of others: or their case may, by
change of circumstances, become his own.
-- Thomas Jefferson
Technical Details
Message-ID:
<ubgvk5.ark.ln@pug1.sprocketshop.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<5kv3o0$f9t@kensie.dorsai.org>Show Full Headers
Complete Article Headers
Message-ID: <ubgvk5.ark.ln@pug1.sprocketshop.com> Subject: Re: posting and replying in tin at the same time Date: Fri, 09 May 1997 00:00:00 +0000 From: Kenneth P. Turvey <kturvey@pug1.SprocketShop.com> References: <5kv3o0$f9t@kensie.dorsai.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 240378326 Organization: Home or elsewhere Newsgroups: news.software.readers