home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.comp.acad-freedom.talk
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!eff!eff-gate!usenet
- From: kadie@cs.uiuc.edu (Carl M. Kadie)
- Subject: [news.future] Re: reading news from multiple NNTP servers.
- Message-ID: <9208121935.AA23091@herodotus.cs.uiuc.edu>
- Originator: daemon@eff.org
- Sender: kadie@cs.uiuc.edu
- Nntp-Posting-Host: eff.org
- Organization: EFF mail-news gateway
- Date: Wed, 12 Aug 1992 09:35:43 GMT
- Approved: usenet@eff.org
- Lines: 35
-
-
- From: markb@spock.dis.cccd.edu (Mark Bixby)
- Newsgroups: news.future
- Subject: Re: reading news from multiple NNTP servers.
- Message-ID: <BsvsGv.J29@spock.dis.cccd.edu>
- Date: 12 Aug 92 17:26:54 GMT
-
- The NNTP version of trn can do this, via the NNTPSERVER env variable. I've
- built a script which allows flexible access to multiple servers. It will
- store the required "dot" files (.newsrc, .rnlast, .rnsoft) in a $HOME
- directory of .trrn-{nntpserver}-{user $NAME}. You need to keep separate
- .newsrc files for each NNTP server or else trn will get really confused.
- Here's how I do it; my default NNTP server is news.cerf.net:
-
- #!/bin/sh
- NNTPSERVER=${NNTPSERVER:-news.cerf.net}
- suffix=${NAME:+`echo $NAME|sed -e 's/[^[:alpha:]]//g'`}
- DOTDIR=${DOTDIR:-"$HOME/.trrn-$NNTPSERVER${suffix:+-$suffix}"}
- export DOTDIR NNTPSERVER
- if [ ! -d $DOTDIR ] ; then
- echo I am creating the following DOTDIR directory for you: $DOTDIR
- echo This will prevent trrn from conflicting with your standard trn files.
- echo "Please press RETURN to continue...\c"
- read junk
- mkdir $DOTDIR
- fi
- PATH=/usr/contrib/bin/trrndir:$PATH
- export PATH
- /usr/contrib/bin/trrndir/trrn
- --
- Mark Bixby Internet: markb@spock.dis.cccd.edu
- Coast Community College District 1370 Adams Avenue
- District Information Services Costa Mesa, CA, USA 92626
- Technical Support (714) 432-5064
- "You can tune a file system, but you can't tune a fish." - tunefs(1M)
-