home *** CD-ROM | disk | FTP | other *** search
-
- NAME
- BatchNews - collect news batches for forwarding to other sites.
-
-
- SYNTAX
- BatchNews [-h hostname] [-t temporary-directory]
-
-
- 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.
-
- By default, BatchNews will batch news for all systems which have files in
- UUSpool:Batch. Using the -h argument, the caller may force only a single
- host to be batched for.
-
- By default, BatchNews creates its temporary files (which consist of copies
- of the news articles to be sent to a destination system) in the UUNews
- directory, and its compressed temporary. Using the -t argument and routing
- these temporaries to RAM: or a subdirectory thereof can significantly
- speed up the batching process.
-
- 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 Unix 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.
-
-
- NOTES
- To speed BatchNews up:
-
- Move temporaries to RAM: (use -t)
-
- Make UUX resident
-
- Run BatchNews more often
-
-
- BUGS
- Doesn't allow for alternate compression types.
-