🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #4192

arguably incorrect behavior from trn

#4192
From: S. Spencer Sun
Date: Fri, 21 May 1993 08:10
29 lines
2228 bytes
For those of us using ELM as our mailers from within trn (cf. recent
thread on comp.mail.elm involving such use, and comparison of
$MAILPOSTER with a shell script that someone wrote which IMO isn't
necessary), trn puts some mail headers at the top of the file that gets
included with the -i flag.

This is redundant, because unlike Rnmail, ELM handles headers on its
own, behind the scene.  So you get an extra copy of the headers unless
you remember to delete them which gets tedious.

Well, there's the $MAILHEADER environment variable.  However,

-EMAILHEADER=""

in my TRNINIT file does not work.  Apparently it sees that it's an empty
string and assumes you want the default, which is all the full-blown
headers.

IMO this is incorrect behavior.  There should be a difference between
the string not being set at all (then use the default), and the string
being defined, but empty (in which case I really wanted it to be empty).

So, now I have an extraneous blank line at the beginning of all mail
sent from within trn, which is better than having an extra set of mail
headers, but it's still sloppy...

____                         : Laws... so widely disobeyed and which cannot be
\  / sss / PU Class of '94   : enforced only promote disrespect for the law in
 \/ Dept of Computer Science : general. [NJ Ass'yman Mikulak, RE: 55 MPH limit]
Technical Details
Message-ID: <1993May21.081007.21299@Princeton.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!gmd.de!newsserver.jvnc.net!darwin.sura.net!gatech!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!bgsuvax!att!princeton!der.Princeton.EDU!spencer

Show Full Headers
Complete Article Headers
Message-ID: <1993May21.081007.21299@Princeton.EDU>
Subject: arguably incorrect behavior from trn
Date: Fri, 21 May 1993 08:10:07 GMT
From: spencer@der.Princeton.EDU (S. Spencer Sun)
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!gmd.de!newsserver.jvnc.net!darwin.sura.net!gatech!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!bgsuvax!att!princeton!der.Princeton.EDU!spencer
Newsgroups: news.software.readers
Originator: news@nimaster
Sender: news@Princeton.EDU (USENET News System)
Nntp-Posting-Host: der.princeton.edu
Reply-To: spencer@phoenix.Princeton.EDU (S. Spencer Sun)
Organization: Society for Promotion of Entropy in the Universe (SPEU)
Lines: 30