🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Leslie B. Houk Thu, 11 Apr 1996 00:00
xrn question
#20525
Author: Leslie B. Houk
Date: Thu, 11 Apr 1996 00:00
25 lines
1604 bytes
When creating a post within xrn, I get the following header lines
created automatically for my message:

     From: houk@mickey.jsc.nasa.gov (Leslie B. Houk)
     Path: mickey.jsc.nasa.gov!houk
     Newsgroups:
     Subject:
     Distribution:
     Followup-To:
     Organization:
     Keywords:

I was wondering if these were user-modifiable, and if so, how?  I
read about the "extraMailHeaders" resource in the xrn man page, but
is that all the control I have over the content of my post's header
lines?  (I know, I know, I could just edit them manually each time
I post, but that seems so inelegant...  :)
------------------------------------------------------------------------
Mr. Leslie B. Houk                  houk@mickey.jsc.nasa.gov
Obligatory Disclaimer: All opinions are mine, not NASA's.
------------------------------------------------------------------------
"...I turn to my computer, spend my evenings with it like a friend."
                                     Kate Bush, "Deeper Understanding"

Re: xrn question
#20556
Author: Jonathan Kamens
Date: Fri, 12 Apr 1996 00:00
47 lines
3138 bytes
(Insert standard flame about how you should have sent your question to
bug-xrn@cam.ov.com before posting it to the entire Usenet.  I would have
answered it quickly, and you wouldn't have had to waste the bandwidth of a
Usenet posting.)

(Insert standard flame about how you should have mentioned what version of XRN
you are using.  Note that this answer is based on the current version of XRN,
8.01.)

Your question can be interpreted in two different ways.  Either you are asking
how to modify the contents of the header lines that are already inserted by
XRN, or you are asking how to get XRN to insert additional header lines.

The former question is answered by the documentation in the config.h file that
comes with XRN and in the XRN man page.  In config.h, see ORG_NAME, ORG_FILE,
DOMAIN_NAME, RESOLVER, RETURN_HOST, UUCPNAME, HIDE_PATH, REAL_HOST,
SENDER_HOST, HIDDEN_FILE, PATH_FILE, DOMAIN_FILE, and DISTRIBUTION.  See also
IDENTIFY_VERSION_IN_MESSAGES, which is disabled by default.

In the man page, see the documentation for the "cc", "ccForward",
"distribution", "organization", and "replyTo" command-line arguments/X
resources, the "domainName" and "hiddenHost" X resources, and the "DOMAIN",
"HIDDENHOST" and "HIDDENPATH" environment variables.

Note that some of the settings mentioned above are overridden by the INN
configuration file, if you configure XRN to use INN and there are settings
present in its configuration file.

As for getting XRN to insert extra headers other than the ones that it knows
about, there are two ways to do that in the current version of XRN:

1) Use an external editor (see the "editorCommand" command-line argument/X
resource), and make it a shell script which adds the extra headers to the
message and then calls the editor on the resulting file.

2) Specify a special mailer (see the "mailer" command-line argument/X
resource) and make it a shell script which adds the extra headers before
calling the real mailer (or feeds the extra headers into the mailer before
feeding the actual article).  Of course, this will only work for E-mail
messages.  For postings, you'd have to change INEWS in config.h to refer to a
customized inews program which adds the extra headers before doing the posting.

I think that it's a good idea for XRN to have some sort of facility for adding
customized headers to messages without having to resort to the trickery
mentioned above.  I'll add it to the TODO list.

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