[comp.unix.wizards] Customizing rn

tronix@polari.UUCP (David Daniel) (08/02/90)

I've printed and read the rn manual several times to determine how to set some
parameters the way I want.
Unfortunately the manual was written for those who have far more experience in
news readers and Unix than I do.

My questions are these:

How do I modify my environment to change switch settings? 

How do I modify my environment tochange the way my header is generated on a
Follow-up?

Those who read news.newusers.questions don't know either. I'll be glad to share
the light once it's shed.
Thanx.

-- 
David Daniel (The man with no disclaimer)  tronix@polari.wa.com

"I'd like to live like a poor man with lots of money"." - Pablo Picasso

siegel@stsci.EDU (Howard Siegel) (08/08/90)

In <2274@polari.UUCP>, tronix@polari.UUCP writes:
>I've printed and read the rn manual several times to determine how to set some
>parameters the way I want.

The following "cut here" sections contain the lines in my .cshrc and the
contents of my .rninit file.  The .cshrc contains modifications to the
posting/mail headers to get the return address in the right format
(Internet style with proper domain name).  The .rninit file contains
a modified attribution line format for posting followup articles (see
the result in the above excerp from your posting).  There is no
particular reason why some of this is in the .cshrc versus the .rninit
other than it just happened this way over the years.  Note that I still
have not figured out how to do some of the more complex manipulations,
I've just copied what I've needed and made only very minimal changes.
There are other things I'd like to change but I don't have the time
these days.

Hope this helps.

    ==-->> Standard disclaimers applied.  Your mileage will vary! <<--==

    Howard Siegel    (301) 338-4418
    TRW   c/o Space Telescope Science Institute   Baltimore, MD 21218
    Internet:  siegel@stsci.edu          SPAN:  STOSC::SIEGEL
    uucp:  {arizona,decvax,hao}!noao!stsci!siegel

------- cut here ------- cut here ------- cut here ------- cut here -------

setenv RNINIT ~/.rninit
setenv EDITOR emacs
setenv VISUAL emacs
setenv ORGANIZATION "TRW, c/o Space Telescope Science Institute, Baltimore Md."

setenv MAILHEADER 'To: %t \
Subject: %(%i=^$?:Re: %S \
Newsgroups: %n \
In-Reply-To: %i) \
%(%[references]!=^$?References\: %[references] \
)Organization: %o \
Cc: %L \
Bcc: \n\n'

setenv NEWSHEADER 'Newsgroups: %(%F=^$?%C:%F) \
Subject: %(%S=^$?%"0ubject: ":Re: %S) \
Summary: \
Expires: \
%(%R=^$?:References: %R \
)Sender: \
Reply-To: %L@%H (%N) \
Followup-To: \
Distribution: %(%i=^$?%"0istribution: ":%D) \
Organization: %o \
Keywords: \n\n'

------- cut here ------- cut here ------- cut here ------- cut here -------

-ENAME="Howard Siegel" -EATTRIBUTION="In %i, %t writes:"
-v -N -d~/news -/ -9600-i20 -H -h
+hfrom +hsubject +hdate +horganization +hlines +hreply +hdistribution

------- cut here ------- cut here ------- cut here ------- cut here -------