home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-386-Vol-2of3.iso / b / bat164a.zip / BATCH.DOC next >
Text File  |  1991-08-07  |  3KB  |  104 lines

  1.  
  2. WAFFLE 1.64 ENHANCED BATCH PROGRAM (rev A) -- 7-Aug-91
  3.  
  4. This BATCH is an enhancement from the program delivered with
  5. the 1.64 version of Waffle. When 1.65 is released, throw this away
  6. and use the 1.65 batch (which will support the same options).
  7.  
  8. Enhanced batch features:
  9.  
  10.         o  Limits may be placed on the size of
  11.            batches transmitted to other sites.
  12.  
  13.         o  A nicer way of sending a newsgroup to
  14.            individuals through mail.
  15.  
  16.         o  Improved error checking and handling,
  17.            including more specific exit codes.
  18.  
  19. Copyright (C) 1991 Thomas E Dell, All rights reserved.
  20.  
  21. This software may not be sold or included in other products without express
  22. written permission, and must be distributed unmodified with this document.
  23.  
  24. -----
  25.  
  26. Command line arguments for the enhanced BATCH command:
  27.  
  28.         -s(site)        Create batches for a given site only.
  29.  
  30.                         By default, batches for all sites are created.
  31.  
  32.         -l(limit)       Batch limit guideline, in bytes.
  33.  
  34.                         After a batched group of articles
  35.                         exceeds this size (before compression), a
  36.                         new batch is started.
  37.  
  38.                         This isn't a limit on the actual sizes of
  39.                         the batches, though.
  40.  
  41.                         Minimum -l is 32000. Default is 100000.
  42.  
  43.             NOTE: Use of -l does not stop articles larger
  44.                   from this limit from being batched.
  45.  
  46.         -u(user)        Set username for UUCP queue.
  47.  
  48.                         By default, this is set to "news". There is
  49.                         seldom any need to change this.
  50.  
  51.         -m(address)     Send articles through mail.
  52.  
  53.                         See the except from RNEWS.DOC at
  54.                         the end of this file.
  55.  
  56.                         -m must be specified in conjunction with -s.
  57.  
  58.  
  59. Exit codes for the enhanced BATCH command:
  60.  
  61.         0       Successful, articles batched
  62.         1       Successful, no articles batched
  63.         2       Command line usage error
  64.         3       Configuration error
  65.         4       Error starting subprocess
  66.         5       Out of disk space, or error writing file
  67.  
  68. Status codes above 1 indicate an error condition.
  69.  
  70. -----
  71.  
  72. An excerpt from RNEWS.DOC:
  73.  
  74. o  Sending a newsfeed over an E-Mail link
  75.  
  76.    Occasionally someone will have an account on a machine with
  77.    no access to news or to a particular newsgroup. It is sometimes
  78.    desirable to E-Mail individual articles to that person.
  79.  
  80.    In this example assume Witzleben@lugnut.com wishes to be
  81.    sent rec.humor.funny through E-Mail. Place a line in the feeds
  82.    file \WAFFLE\SYSTEM\FEEDS similar to
  83.  
  84.         witz /batch=mail rec.humor.funny
  85.  
  86.    This will "prequeue" a list of articles in \SPOOL\MAIL\WITZ.
  87.    Articles can then be sent out by issuing the command
  88.  
  89.         batch -switz -mWitzleben@lugnut.com
  90.  
  91.    Note that both -s(site) and -m(address) are required.
  92.  
  93.    We do not recommend heavy use of this feature, since sending
  94.    usenet through the mail is *very* inefficient. Feeding anyone
  95.    more than one or two groups is generally a bad idea.
  96.  
  97.    It is a good idea to obtain permission of intermediate sites
  98.    before feeding significant amounts (either in size or number)
  99.    of Usenet news through mail.
  100.  
  101. --
  102. dell@vox.darkside.com
  103. (C) Copyright 1991 Darkside International
  104.