🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #33461

Re: TRN: controling header fields question

#33461
From: Ollivier Robert
Date: Mon, 12 May 1997 00:00
38 lines
1685 bytes
    [courtesy cc of this posting sent to cited author via email]

In article <R336A09B6.6663@boeing.REMOVE_THIScom>,
Matt Baney  <matthew.e.baney@boeing.REMOVE_THIScom> wrote:
> 
> I use trn to read and post news, is there a way to 
> control the header fields?

You can play with the environment variable named NEWSHEADER. Here is mine:

NEWSHEADER="%(%[followup-to]=^$?:%(%[followup-to]=^%n$?:X-ORIGINAL-NEWSGROUPS: %n
))Newsgroups: %(%F=^$?%C:%F)
Subject: %(%S=^$?%\"

Subject: \":Re: %S)
Summary: 
Cc: %f
%(%R=^$?:References: %R
)Sender:
Followup-To: 
%(%{REPLYTO}=^$?:Reply-To: %{REPLYTO}
)Distribution: %(%i=^$?%\"Distribution: \":%D)
Organization: %o
Keywords: %[keywords]
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

%(%f=^$?:    [courtesy cc of this posting sent to cited author via email]

)"

-- 
Ollivier ROBERT   -=- Eurocontrol EEC/TS -=-   Ollivier.Robert@eurocontrol.fr
Usenet Canal Historique                        FreeBSD: there are no limits !

Technical Details
Message-ID: <5l76kr$7dc$2@polaris.eurocontrol.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <R336A09B6.6663@boeing.REMOVE_THIScom>

Show Full Headers
Complete Article Headers
Message-ID: <5l76kr$7dc$2@polaris.eurocontrol.fr>
Subject: Re: TRN: controling header fields question
Date: Mon, 12 May 1997 00:00:00 +0000
From: roberto@eurocontrol.fr (Ollivier Robert)
References: <R336A09B6.6663@boeing.REMOVE_THIScom>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 241064075
Organization: Eurocontrol EEC, Bretigny, France
Newsgroups: news.software.readers
X-Newsposter: trn 4.0-test56 (2 Mar 97)