Path: utzoo!mnetor!uunet!husc6!ukma!nrl-cmf!ames!killer!ssbn!bill
From: bill@ssbn.WLK.COM (Bill Kennedy)
Newsgroups: comp.sys.ibm.pc
Subject: Re: Readnews for the PC
Message-ID: <190@ssbn.WLK.COM>
Date: 8 May 88 12:52:30 GMT
References: <1280@valhalla.ee.rochester.edu> <1259@uokmax.UUCP>
Reply-To: bill@ssbn.UUCP (Bill Kennedy)
Distribution: na
Organization: W.L. Kennedy Jr. and Associates, Pipe Creek, TX
Lines: 52

In article <1259@uokmax.UUCP> rmtodd@uokmax.UUCP (Richard Michael Todd) writes:
>In article <1280@valhalla.ee.rochester.edu> jal@galaxy.ee.rochester.edu (John Lefor) writes:
>>I got a version of uucp for the PC working recently and 
>>am now interested in getting a newsfeed.  Has anyone converted
>>a news reading program (such a rn, vnews, etc) over to the
>>PC or will I have to work on it myself?
>Just for the record, a news-reading program by itself won't do much good;
>you also need to port the 'rnews' program (or some equivalent) that reads
>in the compressed news batches and inserts the separate articles into
[ ... ]
It's easier than that if you can get your feeding site to go along with it.
There are two alternatives, each illustrated below.  If the site is running
uulink (from Vortex Technology) the first technique will work.  Note that it
does not batch to allow reading on an article basis as opposed to a batch
basis.  The second simply mails the articles to each reader.  The sys file
for each site determines what groups they get and the script below actually
ships the stuff out from time to time.  Note that each batch is sorted by
newsgroup first so that they are at least batched by group.
#
#   Send news to neighbors daily at 0600
#
if test -s /usr/spool/batch/uulinksite
then
	sort /usr/spool/batch/uulinksite > /tmp/uulinksite
	cp /tmp/techsoar /usr/spool/batch/uulinksite
	cat /usr/spool/batch/uulinksite | while read art
	do
		uux - -r -n -gd uulinksite!rnews < $art
	done
	rm -f /usr/spool/batch/uulinksite /tmp/uulinksite
fi
#
#   Mail news to neighbors daily at 0600
#
if test -s /usr/spool/batch/mailsite
then
	sort /usr/spool/batch/mailsite > /tmp/mailsite
	cp /tmp/mailsite /usr/spool/batch/mailsite
	cat /usr/spool/batch/mailsite | while read art
	do
		mail mailsite!user1 mailsite!user2 < $art
	done
	rm -f /usr/spool/batch/mailsite /tmp/mailsite
fi

I suspect that the news administrator feeding you would be more
receptive to this technique if you sent it along with the request
for a feed.  I never said it was elegant, just offered it as an
alternative.
-- 
Bill Kennedy  usenet      {rutgers,ihnp4!killer,cbosgd}!ssbn!bill
              internet    bill@ssbn.WLK.COM