🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #12816

Re: TIN and elm aliases?

#12816
From: Paul Gilmartin
Date: Tue, 15 Nov 1994 15:19
27 lines
1791 bytes
Doug Sewell (doug@cc.ysu.edu) wrote:
: Phil Temples (k9hi@netcom.com) wrote:

: |Note: This document is based on the upcoming v1.3 PL0 release. 

: The "use elm aliases in tin" feature doesn't work in 1.2pl2.
: It will when 1.3 comes out...

'Till then, here's a hack that works for me.  Must be named
"tinelm" because of the internal reference to its name:
==============================================================
#! /bin/sh

# YA silly little filter.  Cuz tin likes to use sendmail as a mailer,
# and puts the subject in the file, rather than a "-s" option.
# And sendmail doesn't understand private aliases.  So this
# extracts the subject and pipes the rest of the file to elm.

case `basename $0` in
    tinelm)  Mailer="elm";;
    *)       Mailer="mail";;
    esac

while  read Verb Object;  [ "$Verb" != "" ]
    do [ "$Verb" = "Subject:" ] && Subject="$Object";  done

exec $Mailer -s "$Subject" "$@"
Technical Details
Message-ID: <3aajis$ied@nyx10.cs.du.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!raffles.technet.sg!piaget.moe.ac.sg!usenet.eel.ufl.edu!news.mathworks.com!news.alpha.net!uwm.edu!spool.mu.edu!mnemosyne.cs.du.edu!nyx10.cs.du.edu!not-for-mail
References: <k9hiCz8JKu.I9r@netcom.com> <3a6mhk$168s@unix1.cc.ysu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <3aajis$ied@nyx10.cs.du.edu>
Subject: Re: TIN and elm aliases?
Date: Tue, 15 Nov 1994 15:19:56 +0000
From: pgilmart@nyx10.cs.du.edu (Paul Gilmartin)
References: <k9hiCz8JKu.I9r@netcom.com> <3a6mhk$168s@unix1.cc.ysu.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!raffles.technet.sg!piaget.moe.ac.sg!usenet.eel.ufl.edu!news.mathworks.com!news.alpha.net!uwm.edu!spool.mu.edu!mnemosyne.cs.du.edu!nyx10.cs.du.edu!not-for-mail
Newsgroups: news.software.readers
Organization: Nyx, Public Access Unix @ U. of Denver Math/CS dept.
Lines: 27
NNTP-Posting-Host: nyx10.cs.du.edu
X-Newsreader: TIN [version 1.2 PL2]