To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.admin.generalOpen lugnet.admin.general in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Administrative / General / 90
89  |  91
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:
  Unix shell script for accessing multiple NNTP servers
 
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 (...) (26 years ago, 1-Oct-98, to lugnet.admin.general)

12 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR