Thread View: news.software.readers
2 messages
2 total messages
Started by Tabor Wells
Wed, 12 Mar 1997 00:00
Tin 1.3: cc'ing with a followup?
Author: Tabor Wells
Date: Wed, 12 Mar 1997 00:00
Date: Wed, 12 Mar 1997 00:00
17 lines
1185 bytes
1185 bytes
Once upon a time a kind user at Netcom wrote a script for Tin 1.2 called tincc, which when invoked as the default editor in tin would allow a user to add a Cc: header to their followup and email it to the person Cc'd. Using tin 1.3 unoff beta 19970212, I seem to be unable to get tincc to work. Has anyone had any luck using tincc with 1.3 unoff (or any other method of cc'ing on followup)? TIA, Tabor -- ________________________________________________________________________ Tabor J. Wells twells@shore.net Systems Administrator Just another victim of the ambient morality
Re: Tin 1.3: cc'ing with a followup?
Author: Sandy Herring
Date: Thu, 13 Mar 1997 00:00
Date: Thu, 13 Mar 1997 00:00
63 lines
2936 bytes
2936 bytes
On 12 Mar 1997 21:17:37 GMT, Tabor Wells <twells@shore.net> wrote:
>Once upon a time a kind user at Netcom wrote a script for Tin 1.2 called
>tincc, which when invoked as the default editor in tin would allow a user
>to add a Cc: header to their followup and email it to the person Cc'd.
>
>Using tin 1.3 unoff beta 19970212, I seem to be unable to get tincc to
>work. Has anyone had any luck using tincc with 1.3 unoff (or any other
>method of cc'ing on followup)? TIA,
I've switched from tin to slrn, which has cc'ing built in. But if you
insist on riding around in a tin lizzie <grin>, here's my mods to Scott
Hagie's original tincc (which was modified by Phil Edwards before I had
at it)...
======cut here=========================no! not here! back there!======
#!/bin/sh
# tincc
# Originally written by Scott Hagie (hagie@netcom.com)
# Customized by pedwards for his own use.
# [961216 sandy@herring.org (Sandy Herring)] - Changed to work on Solaris
# use 'cut' rather than 'colrm'
# change logic for choice test to send mail for response of y, Y or null
$*
if (echo $* | grep -s $HOME/.article) ; then
msg=`sed '/^$/,$d' $HOME/.article | egrep -i '^cc: ' | cut -c 4-`
if [ "$msg" != "" ] ; then
echo "Do you want to Cc article to $msg (y/n)[y]? \c"
read choice
if [ "$choice" = "y" ] || [ "$choice" = "Y" ] || [ "$choice" = "" ] ; then
echo "mailing Cc of article to $msg"
/usr/lib/sendmail -oi -t < $HOME/.article
sed '/^[Cc]c: /d' $HOME/.article > $HOME/article
mv -f $HOME/article $HOME/.article
fi
fi
fi
======cut here=========================no! not here! back there!======
It worked fine for me with tin 1.3-unoff after doing the following...
Change the line in your tinrc that reads:
default_editor_format=%E +%N %F
...to read instead...
default_editor_format=tincc %E +%N %F
...assuming you've called the script you cut and saved 'tincc'.
All you need do then is add a cc: line to your header when you followup
and the script will issue a safety prompt to verify your intention
before invoking sendmail.
cheers,
Sandy
--
Sandy Herring Portland, Oregon Peck of Pickled Pisces
sandy@herring.org bigfish@sns-access.com http://www.herring.org/
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