🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #13172

Re: trn: add header?

#13172
From: Steven King, Software Archaeolog...
Date: Mon, 28 Nov 1994 16:00
43 lines
2359 bytes
sgr@ae-sun01.alden.com (Stan Ryckman) publicly declared:

>I would like to have trn add a header line of my choice, such as:
>"X-Disclaimer: Even I put no faith in what I write."
>or whatever.  I can do this with elm by creating .elm/elmheaders,
>but I can't find anything in the trn man pages or any of the
>"logical" FAQ's that tell how to do this.

Look for the "NEWSHEADER" environment variable listed in trn's man page.
You can change this with the TRNINIT variable.  (I like to set TRNINIT
to point to $HOME/.trninit, and put my startup flags and environment
variables in there.)

     NEWSHEADER (%)
             The format of the header file for  follow-ups.   See
             also NEWSPOSTER.

             Default:

             %(%[followup-to]=^$?:X-ORIGINAL-NEWSGROUPS: %n
             )Newsgroups: %(%F=^$?%C:%F)
             Subject: %(%S=^$?%"\n\nSubject: ":Re: %S)
             Summary:
             Expires:
             %(%R=^$?:References: %R
             )Sender:
             Followup-To:
             %(%{REPLYTO}=^$?:Reply-To: %{REPLYTO}
             )Distribution: %(%i=^$?%"Distribution: ":%D)
             Organization: %o
             Keywords: %[keywords]
             Cc: \n\n

>Thanks in advance.  If you post, a Cc: to sgr@alden.com would
>be appreciated since our expire times are shorter than I would like
>them to be.

Done!

-- 
----------------------------------------------<Steven King, king@cig.mot.com>--
Nothing is more conducive to peace of mind than not having any opinions at all.
                                      (Georg Christoph Lichtenberg [1742-1799])
Technical Details
Message-ID: <3bcuq5$7vm@delphinium.cig.mot.com>
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!bga.com!news.sprintlink.net!pipex!uunet!ftpbox!mothost!delphinium.cig.mot.com!wildebeest!king
References: <3bb30d$fql@ae-sun01.alden.com>

Show Full Headers
Complete Article Headers
Message-ID: <3bcuq5$7vm@delphinium.cig.mot.com>
Subject: Re: trn: add header?
Date: Mon, 28 Nov 1994 16:00:05 +0000
From: king@wildebeest.cig.mot.com (Steven King, Software Archaeologist)
References: <3bb30d$fql@ae-sun01.alden.com>
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!bga.com!news.sprintlink.net!pipex!uunet!ftpbox!mothost!delphinium.cig.mot.com!wildebeest!king
Newsgroups: news.software.readers
Organization: Cellular Infrastructure Group, Motorola
Lines: 43
NNTP-Posting-Host: wildebeest.rtsg.mot.com