home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
fish
/
telecom
/
uucp_442
/
uucp2
/
man
/
batchnews
< prev
next >
Wrap
Text File
|
1990-09-27
|
2KB
|
40 lines
NAME
BatchNews - collect news batches for forwarding to other sites.
SYNTAX
BatchNews
DESCRIPTION
The BatchNews program scans the UUSPOOL/batch directory for text files
containing lists of news articles (prepared by rnews) which are to be
forwarded to other sites. The names of these files will be the names of
the respective systems to which news is to be forwarded.
BatchNews calls 'CBatch' to compress each batch of news and then calls
'uux' to spool the batch for delivery to the target system. When batching
is completed for a particular system, that UUSPOOL/batch file is deleted.
BatchNews is intentionally decoupled from the 'uuxqt' program (it isn't
run by uuxqt) so that you can schedule the times at which news batching
is performed (using crontab entries), providing you some degree of control
over when outgoing news activity takes place without restricting login
times, etc.
News batching is driven by a file named UULIB/sys. Entries in the file
have the form:
# Forward the following groups to system jojo -
jojo:comp.*, \
gnu.* \
misc.jobs.offered
Lines beginning with a number sign (#) are comments and are ignored. Each
entry in the file is essentially treated as one very long line which can
be continued over many physical lines through the use of the backslash
continutation character (\). The format of the 'sys' file is somewhat
different from what is implemented on Un*x systems. Each "entry" is a
simple pattern which may contain wildcards (*, ?). The 'rnews' program
compares the newsgroup name against each of these patterns until either
a match is detected or the end of the list is reached.