home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
back2roots/padua
/
padua.7z
/
padua
/
uucp
/
cnews_bin.zoo
/
README
< prev
Wrap
Text File
|
1991-01-07
|
3KB
|
59 lines
The following directories must exist to use this C News package:
NewsArts:
The spool location for incoming news, outgoing news, and
unbatched news waiting to be read.
NewsBin:
The binaries required to run the C News package. As much as
possible these programs have been written as Execute scripts
to allow the user to tailor them. Otherwise, you'll need to
obtain the source distribution of C News from the Fish library.
NewsCtl:
The control files for C News and AmigaRN, the news reader.
Executing the following commands would create these directories:
cd top_level_directory_of_news_location
makedir Articles Binaries Control
assign NewsArts: Articles ; these assigns need to be somewhere permanent
assign NewsBin: Binaries
assign NewsCtl: Control
path add NewsBin:relay ; for calling the UnBatch script
The amount of space required will depend on (1) how long you plan to
keep news articles on-line before expiring them, and (2) how much
history information you're going to keep.
You will probably want to use some kind of cron(1) program such as AmiCron
or Dcron to perform the unbatching and expiry programs on a periodic basis.
Usually a program of that kind is provided with the transport package, just
as Dcron is provided with Matt Dillon's UUCP package. [Incidentally, the
older UUCP 1.05D did not work with C News because the UUXQT program did not
invoke the "rnews" program correctly. You must either upgrade to a later
version or modify the code for UUXQT to give the news batch file as standard
input to the program it executes.]
Here is the crontab that I use on my machine at home:
#Dm = day_of_month, My = month_of_year, and Dw = day_of_week
#Min Hr Dm My Dw Command
0 * * * * newshell CON:0/15/698/61/Call from UUPC:C/palan.call
30 15,23 * * * UnBatch
30 5,17 * * * NewsBin:batch/DoBatch.e
30 7,19 * * * NewsBin:expire/DoExpire
This will call my feed site (palan) every hour on the hour. Lines 2 and 3
control the unbatcher; at 3:30pm and 11:30pm any new news is unbatched.
Until that time, any news which comes in is saved by "rnews" in the
NewsArts:In.Coming directory. [I do not have an entry for expiring news
on my machine. Since I travel and am out of town quite a bit, I prefer
to run DoExpire manually to prevent losing news if I am late getting back
home.] Note that any batching for out-bound news _should_ occur before
that day's expiry, since you want to batch the article before (possibly)
removing it! [In practice, most news administrators put at least a day
minimum on their expire times to allow for plenty of leeway in batching.]