Subject:
|
Re: Unix shell script for accessing multiple NNTP servers
|
Newsgroups:
|
lugnet.admin.general
|
Date:
|
Fri, 2 Oct 1998 22:29:38 GMT
|
Viewed:
|
574 times
|
| |
| |
If one runs their own hobbyist Unix machine they might want to check out
nntpcache (http://www.nntpcache.org). Its a proxy/cache system which also
works very well for merging multiple NNTP servers into one NNTP server. If
there are multiple people reading from one machine (such as lugnet.com) then
it'll also keep the load on the main server (lugnet in this case) lower.
alex
Todd Lehman wrote in message <3612dc8b.7940027@lugnet.com>...
>
> This (below) isn't the world's greatest sh script or anything but it's
> something I just whipped together for reading these ng's via trn at
> visi.com... There are two main things the script has to do:
>
> 1) Maintain multiple copies of .newsrc
> 2) Set environment variable appropriately before launching trn
>
>
> ---------------------------begin file rnl------------------------------
> #!/bin/sh
>
> cd $HOME
> 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-------------------------------
>
>
> Anyone know a better, cleaner way to accomplish the same effect? (For one
> thing, the script above doesn't handle HUP signals and stuff like that.)
>
> Looks like Pine has built-in support for handling multiple newsservers.
>
> --Todd
|
|
Message is in Reply To:
12 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|