home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BibleWare
/
BibWare.bin
/
bibmisc
/
pdmember.exe
/
LHA213.EXE
/
LHA213.DOC
< prev
Wrap
Text File
|
1991-08-02
|
32KB
|
884 lines
------------------------------------------------------------------------
Manual for LHA Version 2.13
Ver 2.13 July 20, 1991
------------------------------------------------------------------------
NIFTY-Serve SDI00506 HARUYASU YOSHIZAKI
ASCII-pcs pcs02846 Yoshi
PC-VAN FEM12376
------------------------------------------------------------------------
This is a manual for the public release of LHA.EXE.v 2.13. LHA
is an upward compatible and improved version of LH Ver 1.13C.
Since Microsoft's DOS 5.0 now has an interior command LH (for
Load High), the name has been changed from LH.EXE to LHA.EXE.
0. To begin with
-----------------
This is a revised version of LH113c.EXE, an archiver which was
rather slow in execution but tight in compression rate. I am
grateful for the support of LH113c's users both in Japan where
the .LZH file is a standard archived file name and in other
countries where .LZH has become well-known and used often. I
have been working on this new version for two years since the
last release of LH113c.EXE. I am now glad to announce the re-
lease of LHA. I am constantly upgrading upon user's report on
bugs and on new requests.
LHA differs from LH113c:
-----------------------
LHA is better than LH Ver 1.13 in compression rate, especially
with large files. There are a few exceptions if using rather
small files. (Under 1 Kb.) LHA is faster than LH113c in de-
compressing, with new static Huffman coding, compared with the
older dynamic Huffman. The speed of compression is not as fast
as I was expecting. <Sigh>
LHA needs more memory than LH113c did. If there is not enough
for LHA to work, it may have looser compression rate, although
it tries to continue execution. LHA is upward compatible with
LH113c. But LH113c is not completely compatible with the LHA
format. Please switch from LH113c to LHA as soon as you can.
With the "/o" option, you can make archives dearchivable by
LHarc Ver 1.xx - otherwise LHarc will complain for "unknown
method".
LHA is distributed as a free program with copyright reserved.
There is no restriction for the use within private corporations
or the use for governmental agencies. Users must be respon-
sible for the use of facilities of the software, especially of
the auto ! batch file (Often called a "Telop file). The soft-
ware is distributed as is. I am not liable for any damage
caused by the use of this software. For commercial use, please
refer to our distribution policy.
You can now proceed to read the complete description of com-
mands and options. However, if you are not familiar with what
an archiver is, please refer to the introductory note LHA.HLP
written especially for LHA.EXE by late Irvin Hoff.
1. Usage
---------
A. General Format:
==================
LHA <command> [/<option> ARC [[DIR\] [FILE]...]... [-+012|WDIR]...]
<command>: if one is not used, you get the help screen or a list of
FILE(s).
<option>: you may supply one or more of options explained below.
(needs an / or - in front, to designate an option)
ARC: archive name.
DIR: base directory name.
FILE: File name or full pathname if specified.
WDIR: Working Directory name.
B. <command>
=============
a (Add) compress and add to an archive.
Compress and Add files specified to an archive. If the named
archive does not exist, then create one with the name. LHA
overwrites any file in the archive by the given file name with
'a' command. Compare with 'u' command.
The commands 'a' and 'm' are used to make an archive.
< Example 1 > LHA a EX *.EXE
LHA makes an archive named EX.LZH from all the files with ex-
tension 'EXE'. Extension .LZH is default.
u (Update) Compress and Update.
Compress and add files specified to an archive as command 'a'.
If LHA detects a file with the name same as the one in the
archive, then LHA selects the new one to add to archive, by
comparing the time stamp of each.
< Example 2 > LHA u EX *.C
All the FILE(s) with extension '.C' are archived in EX.LZH.
If you already have an SX.LZH containing a FILE with the same
name, only the one with newer time stamp is archived.
m (Move)
Compress and add to an archive as 'u' command with checking
time stamps. The difference is that LHA deletes all the files
moved into the archive.
< Example 3 > LHA m EX *.C
does the same as
LHA u EX *.C
del *.C
Watch the second line. With the /C option, LHA removes all the
FILE(s) into the ARChive ignoring time stamps. You may lose
the one with the older time stamp.
f (Freshen)
LHA looks for a FILE with the same name as the FILE in the
archive. If it finds one with a newer time stamp, LHA
rewrites the one in the archive. 'LHA f /c ARC ' will not
check the time stamp.
< Example 4 > LHA f EX LHA.DOC
You have LHA.DOC compressed and archived in EX.LZH. You get a
new LHA.DOC, then you replace the one in the ARChive, also.
d (Delete)
LHA deletes a file (or files) in the archive.
< Example 5 > LHA d ex lha.doc
LHA deletes lha.doc in the ARChive ex.LZH.
e (Extract)
LHA extracts FILE(s) from the archive with decompressing. If
LHA finds a FILE in the archive with a newer FILE on the same
DIR and having the same name, it skips that FILE(s). LHA
extracts FILE(s) from ARChives made by L113C, namely, those
with the compression ids -lzs-, -lz4-, -lz5-.
<Example 6 > LHA e EX
Extracts all the FILE(s) in the archive 'EX.LZH'.
< Example 7 > LHA e EX *.COM
LHA extracts all the files with extension .COM from 'EX.LZH'.
x (eXtract) LHA eXtracts compressed FILE with pathnames.
If LHA can not find any path, then it will create directories.
FILE(s) must be archived with full-pathnames. LHA restores the
entire directory structure. 'LHA e /x1m1 ARC' does the same.
< EXample 8 > LHA x EX
Suppose '\BIN\CG86.EXE' were among the FILE(s) in 'EX.LZH'. LHA
creates directory '\BIN' if necessary, and extracts 'CG86.EXE'
there.
p (Print) Print FILE on standard out.
LHA prints FILE decompressing from ARC to standard output.
< Example 9 > LHA p ex lha.doc
LHA extracts 'LHA.DOC' from 'EX.LZH' and displays it on your
terminal.
< Example 10 > LHA p EX LHA.DOC > prn
LHA extracts 'LHA.DOC' from 'EX.LZH' and prints it out from
your printer.
l (List)
LHA lists FILE names in the archive on a line. A FILE with
pathname will have a mark '+' on the head of the line. 'LHA
l /x ARC' shows full-pathnames of FILE(s) in ARC, and in 2 lines
per FILE. You need not type 'l' to have the list.
<Example 11> LHA LHA213.EXE
LHA assumes command 'l' and shows list of FILE(s) archived FILE
per line.
< Example 11x > LHA /x LHA213.EXE
You get a similar list but full-pathnames are inserted, and
each FILE is shown on two lines.
NOTE: Forward slash '/' is used as the pathname separator.
v (View)
'LHA v ARC' is the same with 'LHA l /x ARC'.
t (Test)
Check the integrity of ARC, by CRC check.
LHA t LHA.EXE or LHA t LHA213.EXE
will announce the authenticity of the file you own.
LHA t LHA.EXE
"This file seems to be ORIGINAL distributed from H.Yoshi."
LHA.EXE tests