Where is RNINIT var/file of rn under ksh

Where is RNINIT var/file of rn under ksh

Post by Rick Farm » Thu, 11 Feb 1993 07:21:03



 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.

--
Rick Farmer
Georgia Institute of Technology, Atlanta Georgia, 30332

 
 
 

Where is RNINIT var/file of rn under ksh

Post by John Navar » Thu, 11 Feb 1993 14:29:06



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

-tms

--
You can get further with a kind word | You can get further with a kind word
and a gun than a kind word alone.    | and a phaser than a kind word and a gun.
          --al capone                |           -- John Navarra


 
 
 

Where is RNINIT var/file of rn under ksh

Post by Harley Hahn,,,HAHN,person » Sun, 14 Feb 1993 03:26:33




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

 
 
 

1. Killfiles in RN/RN in general


You have no control key?  How can you edit your messages?  What kind of
terminal is it, a TRS80 Model 1?  (can't be that, it has lower case).
Lowercase "k" will only junk existing messages on the current subject.  
Capital "K" will kill that subject.
 >
With rn or trn, you can't read a group without subscribing.  But you can
unsubscribe simply by pressing "u".

 >3. I also recently started reading my email without the menu.

You should be able to delete all the messages by typing 'd *'.
Some systems have two programs called mail and mailx.  Mailx is a little
smarter than mail; it understands commands like 'd 1-10'.
 >
--

Louisville: We've got bourbon that will knock you on your butt.

2. need monitor info for Packard Bell 1010

3. creating different syslog file /var/log/syslog.0 /var/log/syslog.1...

4. detecting nic speed .....

5. sh var -> awk var -> sh var

6. Boot Errors...

7. ksh script problem: pwd works differently for ksh then linux binary file

8. Proxying for internal www servers

9. tidy(sys): reduce /var/adm/wtmp or "Am I blind"

10. Question about rn KILL file

11. managing KILL files in rn/xrn

12. I am having a problem with sort on a solaris 2.6 box using ksh

13. Am at sea with so many shells -- tcsh, ksh, zsh or bash?