From: ciaran@aldhfn.akron.oh.us (Skip Watson)
Date: Mon, 28 Sep 1992 00:27:03 -0400
Organization: Auldhaefen Associates
Newsgroups: alt.sys.amiga.uucp
Distribution: world
Reply-To: ciaran@aldhfn.akron.oh.us (Skip Watson)
Subject: Re: Cnews?  Help!
X-Newsreader: Ann 0.9

In article <bobl.7znt@bobsbox.rent.com>,
	bobl@bobsbox.rent.com (Bob Lindabury - SysAdmin) writes:
-> In article <1992Sep27.012941.1538@ckctpa.UUCP> crash@ckctpa.UUCP (Frank "Crash" Edwards) writes:
-> newsarts:in.coming (dir):
-> ------rwed--------     2      643 25-Sep-92 14:16 464969760
-> ------rwed--------     2      626 25-Sep-92 14:32 464970720
-> ------rwed--------     7     3462 25-Sep-92 18:03 464983380
-> ------rwed--------     4     1559 25-Sep-92 18:04 464983440
-> ------rwed--------     3     1455 25-Sep-92 23:24 465002640
-> ------rwed--------     3     1367 26-Sep-92 06:12 465027120
-> ------rwed--------     4     1696 26-Sep-92 07:40 465032340
-> ------rwed--------     4     1563 26-Sep-92 06:12 nspoolA.518008
-> ------rwed--------     5     2508 26-Sep-92 06:12 nspoolB.518008
-> 
-> The files starting with the numbers are articles posted locally via GRn.
-> They are not distributed to the appropriate newsgroups and I can't
-> figure out how to do that.  I'm unsure as to what the nspool files are
-> but they seem to be news articles that have arrived via mail and run
-> through AmigaUUCP's postnews from the mail aliases.

	From what I have seen here, the nspool files are the result of an
rnews failure. I've seen them show up if the system "crashes" or has a low
memory problem while rnews is moving the compressed article from uuspool
to newsarts:in.coming. I'm sure there are people out there that know far
more about this than I do.

	You need to a line in the script file that will handle all
uncompressed articles. Here is the script that I came up with to get
things working. It is *not* nice. In fact it is very dirty and needs some
work that I haven't had time to put into it. I dumped the original because
I had an occassional problem with it. I didn't send/post this script
because I thought that someone would have sent in a replacement for it
long ago. It just shows that I shouldn't think :-).
	I'm sure someone out there has a better script than this.

------------------- newsbin:relay/unbatch --------------------------------------

.key COUNT/N
.bra [
.ket ]
;
;	This script unbatches news found in NewsArts:In.Coming/
;
LAB Check_Again
If EXISTS T:Cnews.lock
	Wait 65
	Skip Check_Again back
EndIf
Echo >T:Cnews.lock "Relaynews"

echo >t:$cd noline "cd "
cd >>t:cd
Path Add NewsBin:Misc NewsBin:Relay
CD NewsArts:In.Coming

; copy all compressed articles to a backup dir just in case there is a problem.
; this was incorporated when a system crash wiped out a meg or so of news
; start by deleting old files
delete bkup/#?.Z
copy #?.Z bkup

; really should clean this up one of these days. I don't even know if they
; are needed

SetEnv Exec T:batch[$$].Exec
SetEnv News T:batch[$$].News
SetEnv Temp T:batch[$$].Temp
SetEnv Del T:batch[$$].Del

Echo >T:batch[$$].Del NOLINE ""
Echo >$News NOLINE ""
Echo >$Del NOLINE ""

; uncompress news
List >$Temp #?.Z LFORMAT "acomp -d %s"
execute $temp

; run relaynews on all articles both local and non-local Doesn't touch any
; compressed articles - just in case some new ones have arrived after acomp
; ran 
list >$news ????????? LFORMAT "relaynews -r %s"
sort $news to $exec
failat 20
execute $exec

; delete all articles after relaynews has finished with them. leaving
; compressed ones behind

list >$del ????????? LFORMAT "delete %s"
execute $del

; cleanup
delete QUIET $news $DEL $temp $exec
Delete QUIET ENV:News ENV:Temp
Delete QUIET ENV:Exec ENV:Del
Delete QUIET T:batch[$$].del T:Cnews.lock

execute t:$cd
delete t:$cd
--------------------------------------------------------------------------------

-> > I have seen postings from people claiming they've fixed the batching
-> > scripts (quite a few people said my 2.04 scripts wouldn't run on their
-> > 1.3 systems -- sorry).  Of course, *I've* never gotten a copy of
-> > these, nor even any word that they're available for anon ftp.  So I'm
-> > afraid I can't send you replacements.
-> 
-> I hope someone can point me to these scripts.  I am running under ROM
-> 2.04 and WB 2.1.

	Don't ask me. I didn't fix them. There were problems in batcher
too which didn't help. I cheated and replaced the batch scripts and
batcher with the scripts, batcher, and sendbatches which was written for
CNews and AmigaUUCP+. But it works perfectly well with Amiga UUCP 1.15.

-> However, I don't want to reinvent the wheel here if it's already done.
-> <grin>  I would *love* to use Christian's ARexx scripts but I haven't
-> had any luck finding WShell.  Maybe someone can point me to that as
-> well.  Any chance those scripts could be massaged to use the AmigaShell
-> under 2.x?? <double grin>

	Well, I've got what I'm using available via BMS. It could use some
work on cleaning it up since the old batcher and old scripts are included
in it.

-> Hopefully that will change in the near future.  It will probably be
-> pretty simple to setup CNews for AmigaUUCP once some of the kinks are
-> worked out, the scripts are completed *FOR* AmigaUUCP specifically and a
-> step-by-step installation procedure is included in a distribution.

	Hmm. That is what is really needed, a step by step manual to
install it and get it operating.

	I had thought that a lot of people were running CNews on the
Amiga. 
	How many of us are actually using cnews? If you are using CNews,
send me mail. Let's see how many Amiga sites are using CNews. I'll post
the number when I have it.

Skip Watson
-- 
Internet: ciaran@aldhfn.akron.oh.us    UUCP: ciaran@aldhfn.UUCP
Auldhaefen / World's End BBSes         216 753-8791  (v.32bis)
Auldhaefen Associates                  Email: auldhaefen@aldhfn.akron.oh.us