Article View: news.software.readers
Article #36524Re: How to post &mail in tin
From: billy
Date: Wed, 08 Oct 1997 00:00
Date: Wed, 08 Oct 1997 00:00
64 lines
2451 bytes
2451 bytes
Urs =?iso-8859-1?Q?Jan=DFen?= <urs@tin.org> writes:
> no possible (ok, I lied, there is a script somewehre which adds this
> bug ...err... feature to tin - anyone still got a copy? billy?
> sandra?)
I don't use this myself but I do try to save as much as I can of the
tin related patches and such that appear in this group - appended is
the latest article (and what looks like the best version) regarding
this script.
Billy Y..
>From: Kenneth P. Turvey <kturvey@pug1.SprocketShop.com>
Newsgroups: news.software.readers
Subject: Re: posting and replying in tin at the same time
Date: Fri, 9 May 1997 10:37:34 -0500
*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.
Technical Details
Message-ID:
<61goid$k6p@nntp02.primenet.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:
<lou3EHMD3s.K75@netcom.com> <61c2cl$5r$1@nz12.rz.uni-karlsruhe.de>Show Full Headers
Complete Article Headers
Message-ID: <61goid$k6p@nntp02.primenet.com> Subject: Re: How to post &mail in tin Date: Wed, 08 Oct 1997 00:00:00 +0000 From: billy@mix.com References: <lou3EHMD3s.K75@netcom.com> <61c2cl$5r$1@nz12.rz.uni-karlsruhe.de> 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: 278818828 Organization: Billy's Place X-Posted-By: billy@206.165.6.202 (billy) Newsgroups: news.software.readers