home *** CD-ROM | disk | FTP | other *** search
/ Hacker / Hacker.iso / HACKER / PATCH / PTOOL / DIET.DOC < prev    next >
Encoding:
Text File  |  1997-05-27  |  6.4 KB  |  188 lines

  1. ;============== DIET100.DOC ==============
  2. <<<< executable file compressor DIET ver 1.00 >>>>
  3.      ... copyright 1990   Teddy Matsumoto ...
  4.  
  5.  
  6. What is DIET?
  7. =============
  8.   DIET compresses executable files with DLV-method, dynamic Lempel-Ziv,
  9. into executable files preserving the file names. The method of compression
  10. is similar to Lexem093.exe with @ switch.
  11.   You can create exe or com files in compressed size with a
  12. decompression so fast that you would feel as if you are working with the 
  13. uncompressed original. DIET is similar to LZEXE or PKLITE in concepts
  14. and is an outgrowth of LEXEM which has gained much popularity in Japan.
  15. Some of the new features of DIET are:
  16.  
  17. *DIET accepts wild cards: 
  18.     Type DIET *.* whenever your storage space causes you a panic.
  19.  
  20. *DIET uses the same name for a compressed file, and overwrites the original
  21.     on default.
  22.  
  23. *DIET retrieves the original with the same attributes and time stamp.
  24.  
  25. *DIET compresses ASCII files, too. 
  26.  
  27. *DIET can change the original name into another name with -o option.
  28.       You may save the original file with this facility.
  29.  
  30. *DIET uses new file header which decreases the compressed file size.
  31.  
  32. *DIET uses only a small portion of available memory in decompression.
  33.     Its size is far smaller than LEXEM uses.
  34.  
  35. ΓΌ@
  36.  
  37. Effective Use of Diet.
  38. ======================
  39. What is more comfortable than to type 
  40.     DIET *.*
  41. while similar utilities ask you one command line to compress each file?
  42. You may just type 
  43.     DIET -r *.*
  44. to restore all the files into the original sizes. You may restore
  45. only some of the data files by:
  46.     DIET -r *.dat
  47.     DIET -r *.log
  48.     DIET -r *.pif
  49. and so on. And keep all of your executable files in compressed size.
  50. This utility has minimum amount of switches and commands to go
  51. with Diet. You do not have to read lengthy manual or documents.
  52. Our document itself is compact as your Laptop.
  53.  
  54. Diet overwrites every file which it compresses, and removes the
  55. original. The compressed file is stored where the original was.
  56. Try to take directory before and after it compressed every thing.
  57. You just get the same list of files in the same order, neat and tidy.
  58.  
  59.  
  60. <<< Usage >>>
  61.  
  62. Usage :  DIET [option] filename [filename]...
  63. Option:  -C      check already compressed
  64.          -R      retrieve original file
  65.          -Oxxxx  output file is xxxx.
  66.  
  67. This is all what you have to remember with its capability for
  68. accepting wild cards. Parameters in angle braces [....] may be
  69. omitted. For an example,
  70.  
  71.        DIET \bin\format.com
  72.        
  73. will produce the following message:
  74.           ..
  75.      <<<< executable file compressor DIET ver 1.00 >>>>
  76.           ... copyright 1990   Teddy Matsumoto ...
  77.  
  78.      Compress '\BIN\FORMAT.COM' .Success! (10208 to 6889 bytes)
  79.  
  80.  
  81. The compressed file format.com is in the directory \bin.
  82. To retrieve the original type:
  83.  
  84.       DIET -r \bin\format.com
  85.  
  86. What you see is the information:
  87.  
  88.     <<<< executable file compressor DIET ver 1.00 >>>>
  89.           ... copyright 1990   Teddy Matsumoto ...
  90.  
  91.      Retrieve original file '\BIN\FORMAT.COM'
  92.      Success! (6889 to 10208 bytes)
  93.  
  94.  
  95. Throghout the process of compression and decompression, the time stamp
  96. of the file remains the same.
  97.  
  98. To check whether some of your files are compressed by DIET use c option.
  99.  
  100.       DIET -c \bin\*.*
  101.  
  102. Then you see something like:
  103.  
  104.      <<<< executable file compressor DIET ver 1.00 >>>>
  105.           ... copyright 1990   Teddy Matsumoto ...
  106.  
  107.      '\BIN\LHARC.EXE' is already compressed by DIET!
  108.       (packed data size: 20118 bytes  CRC: 0B4B)
  109.      '\BIN\LESS.EXE' is not compressed by DIET!
  110.      '\BIN\LESS.HLP' is already compressed by DIET!
  111.       (packed data size: 400 bytes  CRC: 0572)
  112.      '\BIN\SYS.EXE' is already compressed by DIET!
  113.       (packed data size: 2394 bytes  CRC: 3190)
  114.      '\BIN\SED.EXE' is already compressed by DIET!
  115.       (packed data size: 14057 bytes  CRC: F77B)
  116.      '\BIN\LINK.EXE' is not compressed by DIET!
  117.      '\BIN\SORT.EXE' is already compressed by DIET!
  118.       (packed data size: 928 bytes  CRC: 0B71)
  119.      '\BIN\TEE.COM' is already compressed by DIET!
  120.       (packed data size: 7390 bytes  CRC: 79D4)
  121.      '\BIN\TREE.COM' is already compressed by DIET!
  122.       (packed data size: 1245 bytes  CRC: A1CC)
  123.      '\BIN\DIET.EXE' is not compressed by DIET!
  124.      '\BIN\FGREP.EXE' is already compressed by DIET!
  125.       (packed data size: 9024 bytes  CRC: 5C27)
  126.      '\BIN\PKLITE.EXE' is not compressed by DIET!
  127.  
  128.  
  129. Finally, to change output filename you type
  130.  
  131.          DIET -O\bin\lh.exe \bin\lharc.exe
  132.  
  133. Follwing information is supplied by DIET:   
  134.      .......
  135.      <<<< executable file compressor DIET ver 1.00 >>>>
  136.           ... copyright 1990   Teddy Matsumoto ...
  137.  
  138.     Compress '\BIN\LHARC.EXE' to '\bin\lh.exe' .Success! (31256 to 20409 bytes)
  139.  
  140. To see what has happened look the directory:
  141.  
  142.     dir \bin\lh*
  143.  
  144.      LHARC    EXE    31256  89-05-21  21:14
  145.      LH       EXE    20409  90-12-23  17:32.
  146.  
  147.  
  148. Note that the original file is not overwritten and is kept there.
  149.  
  150.     DIET -r \bin\lh.exe
  151.  
  152.      <<<< executable file compressor DIET ver 1.00 >>>>
  153.           ... copyright 1990   Teddy Matsumoto ...
  154.  
  155.      Retrieve original file '\BIN\LH.EXE'
  156.      Success! (20409 to 31256 bytes)
  157.  
  158.  
  159.          dir \bin\lh*
  160.          ------------
  161.  
  162.      LHARC    EXE    31256  89-05-21  21:14
  163.      LH       EXE    31256  90-12-23  17:32
  164.  
  165.  
  166.  You must know the time stamp of lh.exe has been changed, but not the
  167. original lharc.exe's. You can keep the original file if you want to
  168. take some precaustions.
  169.  
  170.  
  171. Our Distribution Policy.
  172. ========================
  173.  You may distribute the archived file diet100.lzh free of charge to
  174. any BBS or for any use. You may distribute files compressed with
  175. DIET. However, as you may know files with overlays or files which change
  176. memory allocations may not function properly. Please check the compressed
  177. programs before you distribute compressed files. You need not pay no
  178. share or donation to the author. However, since this is the first public
  179. version of DIET, the author would like to hear from you about this product. 
  180. Please mail to the following address:
  181.  
  182.                                    Nifty Serve: NAF00230   Teddy Matsumoto
  183. or to:
  184.                                    Compuserve 74100,2565 K.Okubo
  185.                                    Genie                 K.Okubo
  186.                                    c31834@sinet.ad.jp
  187.                                       through CSNET or BITNET.
  188.