Thread View: news.software.readers
4 messages
4 total messages
Started by Padu Nellayappan
Wed, 08 May 1996 00:00
Follow up Posting and Emailing reply with tin1.2
Author: Padu Nellayappan
Date: Wed, 08 May 1996 00:00
Date: Wed, 08 May 1996 00:00
12 lines
736 bytes
736 bytes
How does one post a follow up reply to the news group and mail it to the author at the same time ? r and f commands do only one or the other. thanks for any pointers. padu
Re: Follow up Posting and Emailing reply with tin1.2
Author: Luu Tran
Date: Thu, 09 May 1996 00:00
Date: Thu, 09 May 1996 00:00
25 lines
1200 bytes
1200 bytes
In article <4mr0av$6qr@crl9.crl.com>, padu@crl.com (Padu Nellayappan) wrote: > >How does one post a follow up reply to the news group and mail it to the >author at the same time ? > >r and f commands do only one or the other. > >thanks for any pointers. >padu > Hit 'f', then click on the 'cc by mail' tool bar icon. That's the one with a paper and envelope. (Just point the mouse over any icon, wait a sec, and a tooltip will pop up telling you what the icon is.) You can also go into File | Options | Compose and check the 'cc by mail' box. This will turn on 'cc by mail' by default. -- luu [posted and mailed]
Re: Follow up Posting and Emailing reply with tin1.2
Author: billy
Date: Fri, 10 May 1996 00:00
Date: Fri, 10 May 1996 00:00
58 lines
2661 bytes
2661 bytes
Padu Nellayappan <padu@crl.com> writes:
> How does one post a follow up reply to the news group and mail it to the
> author at the same time ?
See below.
Billy Y..
Newsgroups: news.software.readers
>From: jhurwit@netcom.com (Jeffrey Hurwit)
Subject: TIN - How Do I Post and Mail Simultaneously?
Date: Sat, 6 Jan 1996 07:43:44 GMT
The question seems to come up in this group from time to time, about
"How do I post an article *and* e-mail it to someone at the same time?"
Short answer: Tin doesn't have this feature-- you need to use a script.
This script was first introduced in a local newsgroup at our site by
hagie@netcom.com (Scott Hagie), and was improved upon by many others.
I've added my own changes as well. Clip out the following, name it
'tincc', save it to $HOME/bin, and then do 'chmod u+x bin/tincc' at
your shell prompt.
--------------------------------cut here-------------------------
#! /bin/sh
$*
if (echo $* | grep -s $HOME/.article) ; then
msg=`sed '/^$/,$d' $HOME/.article | egrep -i '^cc: ' | colrm 1 4`
if [ "$msg" != "" ] ; then
/usr/bin/echo -n "Do you want to Cc article to $msg (y/n)? "
read choice
if [ "$choice" = "y" ] ; then
/usr/bin/echo "mailing Cc of article to $msg"
/usr/lib/sendmail -oi -t < $HOME/.article
sed '1,/^$/{;/^[Cc]c: /d;}' $HOME/.article > $HOME/article
mv -f $HOME/article $HOME/.article
fi
fi
fi
---------------------------------cut here--------------------------
Then, change your .tin/tinrc file as follows:
# Format of editor line including parameters
# %E Editor %F Filename %N Linenumber
default_editor_format=$HOME/bin/tincc %E +%N %F
Then, whenever you want to post an article and e-mail it to someone as
well, just add a Cc: header to the other headers (just under the
Subject: header works nicely). The script will prompt you just to make
sure, and send the article if you answer "y", before it alloows Tin to
post it.
Jeff
Re: Follow up Posting and Emailing reply with tin1.2
Author: Greg Berigan
Date: Wed, 15 May 1996 00:00
Date: Wed, 15 May 1996 00:00
41 lines
2402 bytes
2402 bytes
billy@mix.com cites:
>Newsgroups: news.software.readers
>From: jhurwit@netcom.com (Jeffrey Hurwit)
>Subject: TIN - How Do I Post and Mail Simultaneously?
>Date: Sat, 6 Jan 1996 07:43:44 GMT
:[script that is called as editor, calls the editor, and traps presence
: of Cc: header and mails a copy accordingly]
>Then, whenever you want to post an article and e-mail it to someone as
>well, just add a Cc: header to the other headers (just under the
>Subject: header works nicely). The script will prompt you just to make
>sure, and send the article if you answer "y", before it alloows Tin to
>post it.
What happens when someone does an email reply and adds a Cc: header to
send it to another interested party? It will turn the Cc: effectively
into a Bcc: (blind carbon copy) if the user answers "y". If the user
answers "n" to the question "Do you want to Cc article to $msg (y/n)?"
the script WILL Cc: the article. It's a bad idea to have a prompt do
the opposite of what the user expects.
The place to intercept the message would be in a custom, external inews.
That way you KNOW the article is to be posted and can trap for presence
of a To: header or other email-only header without affecting a plain
email reply.
Only problem is that this requires a recompilation as tin has no tinrc
facilities to change the inews location. Might as well dive into the
code and provide a real patch to do it internally.
--
_-<#)-=# http://cse.unl.edu/~gberigan/War-of-the-Worlds.html
___/___
_-~_--<###) "`Where's Crow?' Huh. I'm not supposed to say anything, but
<~c>' __--< I did see that little moron heading towards the basement
\_--=____#) with a pickaxe in his hand." -- Tom Servo; MST3K: The Movie
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