🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Rob Sun, 25 Jan 1998 00:00
SLRNPULL: many news hosts
#38290
Author: Rob
Date: Sun, 25 Jan 1998 00:00
18 lines
1187 bytes

Root directory  /var/spool/news/ispXXX

Currently you need to compile a new slrnpull with the new root directory.
Then the root directory needs to be changed in .slrnrc, so slrn can read.

Would like to see a new version of slrnpull, which reads .slrnrc to get
the root directory.

                                          
               />          Take care, Rob  ;-)
  (           //------------------------------------------------------,
 (*)OXOXOXOXO(*>=================---------                             >
  (           \\------------------------------------------------------'
               \>    http://www.alphalink.com.au/~rbrowne/linux.htm

Re: SLRNPULL: many news hosts
#38355
Author: John E. Davis
Date: Wed, 28 Jan 1998 00:00
92 lines
2174 bytes
On 25 Jan 1998 18:49:56 GMT, Rob <rbrowne@alphalink.com.au>
wrote:
>Root directory  /var/spool/news/ispXXX
>
>Currently you need to compile a new slrnpull with the new root directory.
>Then the root directory needs to be changed in .slrnrc, so slrn can read.

I do not believe this is true.  Simply use the -d slrnpull command
line option to specify a different news directory.  Here is a script
that I run that handles 2 servers:

#!/bin/sh
dir=/var/spool/news
umask 022
slrnpull="/home/john/bin/slrnpull"
servers="news.mit.edu news.fuller.edu"

usage="$0 [--no-expire] [--new-groups] [--expire-only] [--post]"

expire=1
new_groups=
expire_only=0
post=

while test X"$1" != X
do
  case "$1"
  in
    --no-expire)
       expire=0
       shift
       ;;

    --new-groups)  
       new_groups="--new-groups"
       shift
       ;;
       
    --expire-only)
       expire_only=1
       shift
       ;;

    --post)
       expire=0
       post="--post"
       shift
       ;;
       
    *)
       echo $usage
       exit 1
  esac
done

if [ $expire -ne 0 ]
then
   echo "`date`: starting expire"
   for s in $servers
   do
      # Before getting new articles, perform expiration.
      $slrnpull -d $dir/$s --expire
   done
fi

if [ $expire_only -ne 0 ]
then
  exit 0
fi

echo "`date`: starting ppp"

umask 022

if /usr/sbin/ppp-on
then
  for s in $servers
  do
    $slrnpull -d $dir/$s -h $s $new_groups $post
  done
  /usr/sbin/ppp-off
  echo "`date`: ppp off"
  exit 0
fi

echo "`date`: exiting with error"
exit 1



Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads