home *** CD-ROM | disk | FTP | other *** search
/ PC Shareware 1994 #0 / pc_shareware_0_94.zip / LHA_DOC.LZH / LHA.HLP next >
Text File  |  1991-03-03  |  7KB  |  202 lines

  1.  
  2.                         LHA v2.11 HELP GUIDE
  3.  
  4.                  by Irv Hoff, cleared by Yoshi-san
  5.  
  6.                             3 March 1991
  7.  
  8.  
  9. LHA v2.11 - WHAT IS IT?
  10. -----------------------
  11.  
  12.      LHA v2.11 is a dual purpose archive program.
  13.  
  14.      1)  Its primary purpose is to take normal binary or text files
  15.          and make them smaller in size.  This saves great amounts of
  16.          storage space, with typical results being approximately 1/4
  17.          to 1/3 of original size.  It can handle any size file that
  18.          can be placed on the disk, together with the compressed file
  19.          it then makes.  Files in excess of 1 Mb may be easily used,
  20.          even though perhaps only 200 Kb RAM might be available.
  21.  
  22.          This eliminates any potential problems from one computer to
  23.          another.
  24.  
  25.          It does this with by using special "compression tables."
  26.          These are automatically built into the program and involve
  27.          mathematical procedures which are simple for a computer.
  28.  
  29.      2)  The secondary purpose is to take more than one of these
  30.          programs and include them in just one file, although each
  31.          will have its own individual name inside that file.
  32.  
  33.                This is called an "archive."  In the days of
  34.                CP/M, they were called "library" files.  In the
  35.                early days of MS-DOS (and other comparable pro-
  36.                grams used by IBM computers) they were called
  37.                .ARC files.
  38.  
  39.                However, as other comparable programs appeared,
  40.                they were given various "extents" to identify
  41.                the program used.  Some sample names are .ARC,
  42.                .DWC, .LZH, .PAK, .ZIP, .ZOO, etc.
  43.  
  44.                Each has its own special characteristics.
  45.                Lists comparing the various programs are
  46.                available.
  47.  
  48.  
  49. ARCHIVE FILES
  50. -------------
  51.  
  52.      LHA v2.11 can have hundreds of files in a single .LZH archive.
  53.      This allows storing complete hard disk directories in a space
  54.      typically 1/2 or less the original total - although many of the
  55.      files might already be archived.
  56.  
  57.      One such check we tried, made a file we called "TEST.LZH."  It
  58.      had 200 files and was 41% the original directory size.
  59.  
  60.      Not only is this a great saving in size for storage, but puts
  61.      (in this case), the 200 files into one, single file.  This is
  62.      often beneficial.  Among other things, all files associated with
  63.      one program are kept together in the same archive.
  64.  
  65.  
  66. ------------------------------------------------------------------------
  67.  
  68. SIMPLE INSTRUCTIONS FOR USING LHA v2.11
  69. ---------------------------------------
  70.  
  71.      1)  To compress one file called ABC.TXT.  (It will make a
  72.          file called ABC.LZH.)
  73.  
  74. 'a'               LHA a ABC ABC.TXT
  75.              or
  76. 'a'               LHA a ABC.LZH ABC.TXT
  77.                       ^    ^       ^
  78.                       a    b       c
  79.  
  80.  
  81.                   a  =  command
  82.                   b  =  archive program name
  83.                   c  =  pgm (or pgms) to be added/compressed
  84.  
  85.  
  86.          Either is suitable, one requires more typing.
  87.  
  88.          a)  In this case, the "a" is called a command.  There are
  89.              12 of those available (shown below).  A few are dupli-
  90.              cates to initially help users more familiar with other
  91.              programs.
  92.  
  93.              Typing LHA <ret> will display this list on the screen.
  94.              It also gives a very short summary what the command
  95.              does.
  96.  
  97.  
  98.      2)  ADDING a program to an existing file:
  99.  
  100. 'a'               LHA a ABC ABC.DOC
  101.                          ^
  102.                          archive name
  103.  
  104.  
  105.      3)  ADDING SEVERAL files at one time:
  106.  
  107. 'a'               LHA a ABC PGM1.EXT PGM2.EXT PGM3.EXT
  108.                          ^
  109.                          archive name
  110.  
  111.  
  112.      4) DELETING a file called PGM4.EXT:
  113.  
  114. 'd'               LHA d ABC PGM4
  115.                          ^
  116.                          archive name
  117.  
  118.  
  119.      5) EXTRACTING a file called PGM4.EXT:
  120.  
  121. 'e'  (or 'x')     LHA e ABC PGM4
  122.                          ^
  123.                          archive name
  124.  
  125.  
  126.      6) LOOKING at the archive contents:
  127.  
  128. 'l'  (or 'v')     LHA l ABC PGM4
  129.                          ^
  130.                          archive name
  131.  
  132.  
  133.      7) MOVES files into archive and deletes file from directory:
  134.  
  135. 'm'               LHA m ABC PGM1 PGM2 PGM3
  136.                          ^
  137.                          archive name
  138.  
  139.  
  140.      8) DISPLAY a text file in an archive:
  141.  
  142. 'p'               LHA p ABC PGM4
  143.                          ^
  144.                          archive name
  145.  
  146.  
  147.      9) TEST the integrity of an archive:
  148.  
  149. 't'               LHA t ABC PGM4
  150.                          ^
  151.                          archive name
  152.  
  153.  
  154.           NOTE:  LHA.EXE makes both "long and short SFX files."
  155.                  Check the advanced .DOC file for information.
  156.                  It has a quite extensive discussion on the SFX
  157.                  files.
  158.  
  159.  
  160. COMMANDS:
  161. ---------
  162.  
  163.      There are 12 commands available.
  164.  
  165.      The 'l' and 'v' are very slightly different, the 'v' putting
  166.      the file name on a line by itself.)  The 'e' and 'x' are
  167.      slightly different, as well.
  168.  
  169.      These are listed by typing just LHA without any command of
  170.      file name:
  171.  
  172. -------------------------------------------------------------------------------
  173.  
  174.   <command>
  175.      a: Add files           u: Update files        m: Move files
  176.      f: Freshen files       d: Delete files        p: disPlay files
  177.      e: Extract files       x: eXtract files with pathnames
  178.      l: List of files       v: View listing of files with pathnames
  179.      s: make a Self-extracting archive   t: Test the integrity of an archive
  180.  
  181.  
  182. OPTIONS
  183. -------
  184.  
  185.      There are 15 "options" which many users will not need/use.
  186.      They will be explained in detail in the LHA211.DOC manual for
  187.      advanced users.  Those are:
  188.  
  189.  
  190.   <option>
  191.      r: Recursively collect files        w: assign Work directory
  192.      x: allow eXtended file names        m: no Message for query
  193.      p: distinguish full Path names      c: skip time-stamp Check
  194.      a: allow any Attributes of files    z: Zero compression (only store)
  195.      t: archive's Time-stamp option      h: select Header level (default = 1)
  196.      o: use Old compatible method        n: display No indicator a/o pathname
  197.      i: not Ignore lower case            l: display Long name with indicator
  198.      -: '-' or '@' as the first letter of filenames
  199. ===============================================================================
  200.  
  201.                                   - end -
  202.