Article View: news.software.readers
Article #11316Re: Setting the NEWSHEADER in trn
From: Wayne Davison
Date: Fri, 09 Sep 1994 19:36
Date: Fri, 09 Sep 1994 19:36
35 lines
1814 bytes
1814 bytes
According to Nik Clayton <Nik.Clayton@brunel.ac.uk>:
> I want to change the header used by trn to include a new line, X-URL:.
> According to the man page, I can do this by setting the environment
> variable NEWSHEADER, and it handily shows me what the default is.
As mentioned in the HINTS.TRN file, put the following into your .trninit
file (if you don't have a .trninit file, create one and "setenv TRNINIT
~/.trninit"):
---8<------8<------8<------8<---cut here--->8------>8------>8------>8---
-ENEWSHEADER="%(%[followup-to]=^$?:X-ORIGINAL-NEWSGROUPS: %n
)Newsgroups: %(%F=^$?%C:%F)
Subject: %(%S=^$?%\"
Subject: \":Re: %S)
Summary:
Expires:
%(%R=^$?:References: %R
)Sender:
Followup-To:
%(%{REPLYTO}=^$?:Reply-To: %{REPLYTO}
)Distribution: %(%i=^$?%\"Distribution: \":%D)
Organization: %o
Keywords: %[keywords]
Cc: %(%F=poster?%t:%(%F!=@?:%F))
"
---8<------8<------8<------8<---cut here--->8------>8------>8------>8---
Include everything between the cut lines verbatim and then add any extra
lines that you need.
--
Wayne Davison
davison@borland.com
Technical Details
Message-ID:
<Cvvnsy.CrK@borland.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.shell.mbox.zip!nntp.gmd.de!xlink.net!slsv6bt!slbh01.bln.sel.alcatel.de!rcvie!Austria.EU.net!newsfeed.ACO.net!paladin.american.edu!gatech!swrinde!elroy.jpl.nasa.gov!decwrl!borland.com!davisonReferences:
<Cvv9LE.IqE@brunel.ac.uk>Show Full Headers
Complete Article Headers
Message-ID: <Cvvnsy.CrK@borland.com> Subject: Re: Setting the NEWSHEADER in trn Date: Fri, 9 Sep 1994 19:36:34 GMT From: davison@borland.com (Wayne Davison) References: <Cvv9LE.IqE@brunel.ac.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.shell.mbox.zip!nntp.gmd.de!xlink.net!slsv6bt!slbh01.bln.sel.alcatel.de!rcvie!Austria.EU.net!newsfeed.ACO.net!paladin.american.edu!gatech!swrinde!elroy.jpl.nasa.gov!decwrl!borland.com!davison Newsgroups: news.software.readers,comp.unix.shell Organization: Borland International Lines: 34