
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 compresses 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/<sysname> 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

	# Forward everything except misc.jobs.offered to fubar
	#

	fubar:*,-misc.jobs.offered

    (see UUMAN:Sys for more information on the Sys file)

    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.

CONFIG VARIABLES

    BatchBits	    12/13/14/15/16

	Set number of bits for compression, 12 to 16.  You can set it
	higher if you have lots of memory.  This also depends on what the
	sites you feed can handle.  Generally anything greater than 14 bit
	compression is overkill.

    DomainPath	    N/Y

	If 'Y' then your full domain name will be put into the Path:
	instead of just your uucp node name.  ONLY use this option if
	your newsfeed requires a full domain name in the news Path:
	line.

    SpoolSize	    65000

	Set maximum file size for batched spool files, before compression.



