Article View: news.software.readers
Article #5643Changing default newsheaders in trn.
From: Joshua Bell
Date: Wed, 01 Sep 1993 19:38
Date: Wed, 01 Sep 1993 19:38
42 lines
2194 bytes
2194 bytes
I've gone through the man pages at least twenty times,
experimented with NEWSHEADER, various command lines, files piped
this way and that, and mucked around in Pnews, but I can't get
the default newsheader to show up the way I'd like. (Yes, vain
attempt to avoid RTFM replies. Sigh...).
The man page for trn says you can define the header as you'd like
with the NEWSHEADER variable, but I haven't been able to get it
to perform as I'd like. The man page gives the following as the
default:
%(%[followup-to]=^$?:X-ORIGINAL-NEWSGROUPS: %n
)Newsgroups: %(%F=^$?%C:%F)
Subject: %(%S=^$?%"\en\enSubject: ":Re: %S)
Summary:
Expires:
%(%R=^$?:References: %R
)Sender:
Followup-To:
%(%{REPLYTO}=^$?:Reply-To: %{REPLYTO}
)Distribution: %(%i=^$?%"Distribution: ":%D)
Organization: %o
Cc: \n\n
I assume there are newlines in there, which I simply don't see.
Is there any way to define a file (say, .rnhead_form) as the
following example, and have trn use it as the default header?
%(%[followup-to]=^$?:X-ORIGINAL-NEWSGROUPS: %n
)Newsgroups: %(%F=^$?%C:%F)
Subject: %(%S=^$?%"\en\enSubject: ":Re: %S)
%(%R=^$?:References: %R
)Organization: %o \n\n
Please respond via email, and if you have the same question, mail
me and I'll forward any responses I get.
Joshua
--
| "Has it been a bad year, or what?" - Meriadoc Brandybuck, |
| upon returning to the Shire after the War of the Ring. |
| jsbell@acs.ucalgary.ca Academic Computing Services, University of Calgary |
Technical Details
Message-ID:
<Sep1.193835.77171@acs.ucalgary.ca>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!howland.reston.ans.net!agate!library.ucla.edu!news.mic.ucla.edu!unixg.ubc.ca!acs.ucalgary.ca!jsbellShow Full Headers
Complete Article Headers
Message-ID: <Sep1.193835.77171@acs.ucalgary.ca> Subject: Changing default newsheaders in trn. Date: Wed, 1 Sep 1993 19:38:35 GMT From: jsbell@acs.ucalgary.ca (Joshua Bell) 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!howland.reston.ans.net!agate!library.ucla.edu!news.mic.ucla.edu!unixg.ubc.ca!acs.ucalgary.ca!jsbell Newsgroups: news.software.readers Organization: The University of Calgary, Alberta Keywords: trn header Lines: 42