>> I've been tring to customize my news and however helpful The Book is it
>>doesn't tell me where RNINIT is to be found. I know how to set the wanted
>>switches on the command line but I can't save it. FAQ didn't help either.
>All you have to do is put the same declaration in your one of your .login
>or .profile files and export it. I have the following in my .bash_profile:
>[casbah:64] ~ -> grep RNINIT .bash_profile
>RNINIT="-m -e -L -M"; export RNINIT
>The same can easily be done for csh.
John's solution is a good one but the trouble with it
(and the original solution) is that using RNINIT specifies the
default for ALL invocations of rn.
By using aliasing, you can create custom commands
to invoke rn in various ways.
Here is how I do it:
% grep rn .cshrc
alias humor rn rec.humor
alias rn rn -e -m +H -h +hsubject -r -q -d~
Now, you can read jokes by entering "humor".
You can have as many of these aliases as you like.
For non-specific news reading, simply typing "rn" will
do the trick.
(Note: When you list a newsgroup name in an "rn" command,
rn will read all the groups that start with that name.
For example, the command:
rn rec.humor
will read:
rec.humor
rec.humor.d
rec.humor.funny
rec.humor.oracle
rec.humor.oracle.d
You can control the order that these groups are read by
editing your .newsrc file. You can also unsubscribe
to the groups you don't want.)
-- Harley Hahn