home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / UTILITY / FILE / QUX01_91.ZIP / QUX-PP.DOC < prev    next >
Encoding:
Text File  |  1991-01-15  |  6.3 KB  |  127 lines

  1.  
  2.  
  3.  
  4.  
  5.     These are  the latest  versions of  QUUNCD &  QUUDCD (UU- encoder and
  6. decoder), QXXNCD & QXXDCD (XX- encoder  and decoder),  and PREPROC (which
  7. strips header and footer lines and concatenates multipart UU-encoded [but
  8. NOT XX-encoded] files).  These  are  fast  programs  written  in assembly
  9. language.
  10.  
  11.     QUUDCD or  QXXDCD will  take one  or many encoded file[s], and decode
  12. it[/them] into the original  binary file.   (PREPROC,  as mentioned, only
  13. strips  header  and  footer/.signature  lines and concatenates UU-encoded
  14. multipart files into a single large file.)  The initial input file may be
  15. entered on the command line, or else the program will prompt the user for
  16. it.  Any drive or path may be specified for the input  file, but  only to
  17. 80 characters (which should be more than enough).
  18.  
  19.     IMPORTANT: If  there is  more than  one portion  to the encoded file,
  20. they must all be in the same directory, and they must follow a particular
  21. naming convention,  explained below.   The output file will be written to
  22. the current logged drive, and this feature cannot  be overridden.   There
  23. are no command line switches.  Usage is:
  24.  
  25.     QUUDCD [drive][path][filename.ext]
  26.     QXXDCD [drive][path][filename.ext]
  27.     PREPROC [drive][path][filename.ext]
  28.  
  29.     For multipart  encoded files, these programs will search for the next
  30. encoded file portion according to these rules: The first encoded file may
  31. have any DOS-legal name and extension (or even no extension).  The second
  32. file *MUST* have a '1' as the last character of  the filename  -- NOT the
  33. extension.   Or, if  the last character of the filename of the first file
  34. WAS a number (ANY number --  whether  '1'  or  something  else,  the last
  35. character of  the second  filename must be one number higher.  Subsequent
  36. files must have filenames ending in  numbers  of  ascending  order.   All
  37. other filename  characters must  be the same, and all files must have the
  38. same extension.
  39.  
  40.     Moreover, these  programs  increment  filename  numbers  of multipart
  41. files, and  are capable of "rolling around" when the last digit is a '9',
  42. and adjusting the next  higher  order  digit.    They  are  even  able to
  43. "extend" a  filename, such  as from  '999.UUE' to  '1000.UUE'.  They will
  44. not, however, extend a filename to more than 8 characters  (excluding the
  45. extension).  Probably, the easiest thing to do is to name multipart files
  46. simply by number, such as '1', '2', '3', etc.
  47.  
  48. Here are some examples of filenames that will work:
  49.  
  50.     File:      Ex. 1:         Ex. 2:      Ex. 3:    Ex.4:     Ex. 5:
  51.     ----     ----------     ---------     -----     ----    ---------
  52.     1st:     abcdef.uue     file1.xxe     14998      999    rstu9.xxx
  53.     2nd:     abcde1.uue     file2.xxe     14999     1000    rst10.xxx
  54.     3rd:     abcde2.uue     file3.xxe     15000     1001    rst11.xxx
  55.     etc.        ...            ...         ...       ...       ...
  56.  
  57.  
  58.  
  59.  
  60. Here are a couple that won't:
  61.  
  62.     File:     Ex. 1:          Ex. 2:
  63.     ----     ----------     ----------
  64.     1st:     abcdef.uu1     file-a.xxe
  65.     2nd:     abcdef.uu2     file-b.xxe
  66.     3rd:     abcdef.uu3     file-c.xxe
  67.     etc.        ...            ...
  68.  
  69.  
  70.     These programs are "intelligent"  programs,  able  to  decode encoded
  71. files of  any length (in addition to multipart files, as outlined above).
  72. They can even strip out spurious lines in  the main  body of  the encoded
  73. portion.   Thus, it  is possible  to concatenate  multipart postings to a
  74. single file (without removing headers and .signatures), and  the decoders
  75. will successfully  decode it.  Also, the headers and .signatures need not
  76. be edited out of individual multipart encoded files.   The  encoded files
  77. may have CRLF line end pairs, or just the single UNIX (tm) LF character.
  78.  
  79.     (NOTE:  under  an  extremely  unlikely  set  of  circumstances, it is
  80. possible for these programs  to accept  a spurious  line as  valid, but I
  81. have yet to receive any reports of this ever having occurred.)
  82.  
  83.     QUUNCD and  QXXNCD will create one or many UU- or XX- encoded file[s]
  84. (as many as it takes) from an original binary file.   The  input file may
  85. be entered on the command line, or else the programs will prompt the user
  86. for it.  Any drive or path may be specified for the input file,  but only
  87. to 80  characters (which  should be  more than  enough).  IMPORTANT: Make
  88. sure you have enough free disk space!  UU- and XX- encoded  files take up
  89. more space  than the  original files  being encoded.   The output file[s]
  90. will be written to the current logged drive,  and this  feature cannot be
  91. overridden.  There are no command line switches.  Usage is:
  92.  
  93.     QUUNCD [drive][path][filename.ext]
  94.     QXXNCD [drive][path][filename.ext]
  95.  
  96.     If there  is only a single encoded output file, it will have the same
  97. filename as the input file, with the extension  changed (or  appended, if
  98. there wasn't any) to .UUE or .XXE (as appropriate).  If there are several
  99. encoded output files, the first of these will have the  last character if
  100. its filename  changed to a '1' (unless it was a number digit in the first
  101. place), and the last characters of the filenames of subsequent files will
  102. be numbers  in ascending  order.  The lengths of individual encoded files
  103. of a file encoded into multiple parts will be approximately equal, except
  104. that  the  first  file  will  be  about 1.2K to 1.8K shorter, in order to
  105. accommodate a short explanation.
  106.  
  107.     These programs have been designed to use large buffers, so  as not to
  108. cause  "thrashing",  i.e.,  repeated  disk  reads  and writes.  They also
  109. allocate memory dynamically according to their  needs.   The maximums are
  110. slightly  more  than  62K  in  the  case of the decoders and PREPROC, and
  111. slightly more than 110K in the case of the encoders.
  112.  
  113.  
  114.  
  115.  
  116.     These programs read responses to prompts from the  standard input and
  117. display messages  concerning time  spent in encoding or decoding (but NOT
  118. in reading or writing to the disk) to  the standard  output.  Redirection
  119. is supported.  Error messages are displayed to the standard error device,
  120. and standard DOS error codes are returned upon abnormal exit.
  121.  
  122.     Please note that there are Copyrights  on these  programs by Theodore
  123. A. Kaldis.  The programs may be distributed freely, without charge.
  124.  
  125. [UNIX is a trademark of AT&T]
  126.  
  127.