[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Part1 - Part2 - Single Page

Top Document: [news.software.readers] trn newsreader FAQ, part 1: Basics
Previous Document: CSRP: Can I get rid of the "hit return" prompts?
Next Document: CWHT: Where can I find some hints and configuration examples?


CCHL: How can I customize my header lines?


        Steven King, Software Archaeologist <king@wildebeest.cig.mot.com>,
        Wayne Davison <trn@clari.net>,
        Peter J. Kappesser <Peter_Kappesser@promail.com>

> 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."

Look for the "NEWSHEADER" or "MAILHEADER" environment variables. The
best thing to do is to put it in your .trninit file (and point the
TRNINIT environment variable at the file if you haven't already done
so). Then, use the default definition as mentioned in the man page (or
copy it out of the common.h source file, if you have access to it), and
tweak the value as you desire.

The following lines represent trn's default headers for posting an
article.  If you want to customize your header copy this to your
.trninit file and modify it (and _don't_ use Pnews directly to post,
use trn -- the ".f" command from newsgroup prompt works well for this).
[Caution: Lines have been quoted with "> " to conform to FAQ minimal
digest format, which forbids "Subject:" at the beginning of a line in
the body of a section; and, the first line is longer than 80 columns.]

> -ENEWSHEADER="%(%[followup-to]=^$?:%(%[followup-to]=^%n$?: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))
>
> "



Top Document: [news.software.readers] trn newsreader FAQ, part 1: Basics
Previous Document: CSRP: Can I get rid of the "hit return" prompts?
Next Document: CWHT: Where can I find some hints and configuration examples?

Part1 - Part2 - Single Page


[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
@tigerden.com (Peter J. Kappesser)

Last Update October 12 2008 @ 00:13 AM

© 2008 FAQS.ORG. All rights reserved.