🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Stan Ryckman Sun, 27 Nov 1994 22:59
trn: add header?
#13152
Author: Stan Ryckman
Date: Sun, 27 Nov 1994 22:59
20 lines
1287 bytes
Please accept profuse apologies if this is in a FAQ somewhere,
because I couldn't find it.

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.

Any ideas?

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.

Cheers,
Stan.
-- 
HELP!  I'M BEING HELD PRISONER IN A .SIGNATURE FACTORY!
    Stan Ryckman   sgr@alden.com
Re: trn: add header?
#13172
Author: 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])
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