Subject:
|
Re: Unix shell script for accessing multiple NNTP servers
|
Newsgroups:
|
lugnet.admin.general
|
Date:
|
Thu, 1 Oct 1998 09:25:35 GMT
|
Viewed:
|
798 times
|
| |
| |
Todd Lehman (lehman@javanet.com) wrote:
I have a script like the one you included, but for some reason I can't
remember, I decided to use different machines to read news from different
NNTP hosts.
I would at least keep both/all the site specific .newsrc files with
other names. I will insert some (untested) modifications in your script
below.
| ---------------------------begin file rnl------------------------------
| #!/bin/sh
|
| cd $HOME
if (-e .newsrc)
echo "You were about to erase a .newsrc file."
exit
endif
# mv .newsrc .newsrc-visi
| mv .newsrc-lugnet .newsrc
| NNTPSERVER=lugnet.com
| NNTPPORT=119
| export NNTPSERVER
| export NNTPPORT
| trn -x -X
| mv .newsrc .newsrc-lugnet
#| mv .newsrc-visi .newsrc
| ----------------------------end file rnl-------------------------------
You will need a script for each NNTP host, and you should make sure that
no other files (like the "kill file") contain information specific to one
host.
I have noticed that the "kill file" for one newsreader (can't remember
which) adresses groups by a number, rather than by name, and this could
cause some trouble.
| Looks like Pine has built-in support for handling multiple newsservers.
Seems like I might be changing newsreader (again). :-(
Play well,
Jacob
----------------------------------------------
-- E-mail: Jacob.Sparre.Andersen@risoe.dk --
-- Web...: <URL:http://hugin.risoe.dk/> --
----------------------------------------------
LEGO: MOC+++c TO+++(6543) TC+++(8880) AQ+++ BV-- #++ S LS++ A-/+ YB72m
|
|
Message is in Reply To:
12 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|