🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Gary Fritz Mon, 28 Sep 1992 15:40
Tin $MAILER?
#2271
Author: Gary Fritz
Date: Mon, 28 Sep 1992 15:40
18 lines
1487 bytes
I'm having trouble getting the $MAILER variable to work with Tin.  I've tried
setting it and I still get the default mailer.  Given that Iain sets up
a whole bunch of stuff ahead of invoking it (message content, To: address,
asks you if you want to edit or mail, etc.), I'm not sure how to hook into it
anyway.

My latest experiments have, I think, resulted in the default mail-edit
stuff being invoked in Tin, and then the message is passed somehow to 
my $MAILER in the form "$MAILER <address>".  Unfortunately that doesn't
work for me...

I use mh.  I want to use "comp" (or should that be "send", or some script
wrapping "send", or "post", or...?) instead of Tin's mailer, since Tin's 
doesn't do nice things like record outgoing mail in my outbox.  Anybody 
got any suggestions?  Iain?

Thanks -- Gary
Re: Tin $MAILER?
#2273
Author: Iain Lea
Date: Mon, 28 Sep 1992 16:55
24 lines
1662 bytes
In article <BvAow3.KxJ@fc.sde.hp.com> posted on 28 Sep 92 15:40:51 GMT,
Gary Fritz (fritz@hpfcbig.sde.hp.com) wrote:
: 
: I use mh.  I want to use "comp" (or should that be "send", or some script
: wrapping "send", or "post", or...?) instead of Tin's mailer, since Tin's 
: doesn't do nice things like record outgoing mail in my outbox.  Anybody 
: got any suggestions?  Iain?

Wait a couple of months as I am adding mail handling to tin at the moment.

I have been noting all the little wishes for a mail & news handler that
have been posted to various groups over the last few months. I am hoping 
to add a tightly intergrated mail side to tin so that mail & news will
be pretty transparent to the user.

Watch this space for further details as work progresses.

Iain

--
NAME   Iain Lea 
EMAIL  Iain.Lea%anl433.uucp@Germany.EU.net
SNAIL  Siemens AG, ANL A433SZ, Gruendlacher Str. 248, 8510 Fuerth, Germany.
PHONE  +49-911-3089-407 (work) +49-911-331963 (home) +49-911-3089-290 (FAX)  
Re: Tin $MAILER?
#2280
Author: Gary Fritz
Date: Mon, 28 Sep 1992 18:57
7 lines
923 bytes
Iain Lea (Iain.Lea%anl433.uucp@Germany.EU.net) wrote:
: Wait a couple of months as I am adding mail handling to tin at the moment.

Um.  I take it that means there's currently no way to use mh with Tin?
(Bummer!)

Gary
Re: Tin $MAILER?
#2306
Author: Gary Fritz
Date: Thu, 01 Oct 1992 00:00
30 lines
1465 bytes
Until Iain comes out with his latest-greatest, pointing $MAILER at
this script seems to be working pretty well...

Gary

=============================================================================

draftfile=`mhpath +drafts new`
comp=/usr/local/bin/mh/comp

# Tin invokes $MAILER as:  $MAILER address < message-to-send
# Insert an "Fcc:" in the mail header to provide outgoing mail recording.

cat |
awk ' { if ( $1 == "Subject:") {
	  print $0;
	  print "Fcc: outbox";
	  }
	else
	  print $0;
      }' > $draftfile		# Save message from stdin
exec < /dev/tty			# Reset stdin to tty

if test -f $HOME/.signature
then
  echo "--" >> $draftfile
  cat $HOME/.signature >> $draftfile
fi

$comp -nodraftfolder -use -file $draftfile -noedit
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