home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 10: Diskmags / nf_archive_10.iso / MAGS / ON_DISC / ONDISC03.MSA / ACC_SQUNSQ.DOC < prev    next >
Text File  |  1985-11-19  |  2KB  |  48 lines

  1.  
  2. SQUEEZE.TTP  - Squeeze (Compress) a file before sending.
  3. UNSQUEEZ.TTP - Unsqueeze (DeCompress) files after receiving.  
  4.  
  5. SQUEEZE
  6. --------
  7.   Enter the name of the file to squeeze when running this program.
  8.  
  9.   SQUEEZE compresses a file without losing information.
  10.   UNSQUEEZ must be run to unsqueeze the file before it can be used.  
  11.  
  12.   Typical compression rates are:
  13.  
  14.         Binary    6-12% 
  15.         Ascii    33-46%
  16.         Pictures 20-70%
  17.  
  18.   The squeezed file name is formed by changing the second from 
  19.   last letter of the file type to Q. If there is no file type, 
  20.   the squeezed file type is QQQ.  If the named exists it is 
  21.   overwritten!  
  22.  
  23.   The transformations compress strings of identical bytes and 
  24.   then encode each resulting byte value and EOF as bit strings 
  25.   having lengths in inverse proportion to their frequency of 
  26.   occurrence in the intermediate input stream. The latter uses 
  27.   the Huffman algorithm. Decoding information is included in the 
  28.   squeezed file, so squeezing short files or files with uniformly 
  29.   distributed byte values will actually increase size.  
  30.  
  31.  UNSQUEEZ
  32.  --------
  33.   Enter the squeezed filename when this program is run.
  34.   UNSQUEEZ decompresses squeezed files.
  35.  
  36.   The algorithm is identical to the one used by the popular 
  37.   public domain 'SQ' programs, originally authored by Richard 
  38.   Greenlaw.  
  39.  
  40. WARNING:
  41.   Both SQUEEZE and UNSQUEEZ blindly create their corresponding
  42.    output files.  
  43.  
  44. AUTHOR:
  45.   Richard Greenlaw (original).
  46.   Computer Toolbox, Inc - ATARI ST520.
  47. (This program is free to distribute but may not be sold.)
  48.