🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Joshua Bell Wed, 01 Sep 1993 19:38
Changing default newsheaders in trn.
#5643
Author: Joshua Bell
Date: Wed, 01 Sep 1993 19:38
42 lines
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 |
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads