home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
packer
/
lh2
/
lh.doc
next >
Wrap
Text File
|
1992-03-29
|
9KB
|
224 lines
LH 2.14 Mon 03-30-1992
-----------------------
Wow; two releases in the same month. Bending to popular demand (all
two of you!), Lh2 will now preserve case. LH2 is still case
insensitive when searching for files however.
In compatability mode (/c), file names are stored in upper case.
LH 2.13 Tue 03-10-1992
-----------------------
So solve a few problems with it's interaction with Squish, LH will
now exit with a non-zero ERRORLEVEL if:
1) No files are extracted.
2) An invalid LZH header is encountered.
Archives with -lh4- type files are now supported (for decompression) by
using the -lh5- code, which seems to work fine.
A new option: /m. This will cause only files with their archive bits
set to be stored (during an ADD or MOVE operation). The archive bit is
reset if all goes well.
LH 2.12
-------
During compression, LH 2.12 will recognize that there is no space left
on a disk for '-lh5-' compression. (It always worked correctly for
-lh1-).
If a file with an unknown stowage is encountered, LH 2.12 will no
longer stop at a prompt if the /o option is specified.
Wed 05-22-1991
---------------
Version 2.11 is a very small bug fix. When Adding/Moving files,
LH.EXE will now correctly exit with an ERROREVEL of 0 if successful.
LH2.DOC, Mon 04-29-1991
------------------------
Welcome to version 2.00 of LH2. The last version that most of you
had access to was 0.80. I've jumped all the way to 2.00 so that an
association can be made with LHA 2.x, the DOS program which LH2 is
a clone of. With 0.80, I thought LH2 was "functionally stable";
But then Haruhiko Okumura had to go and create a better compression
algorithm! This new version, 2.00, supports that new compression
method and has a few other small changes as well.
Notes:
o This new version is (on many files) faster than the old version
while compressing. It is always faster at decompression (2 to
3 times faster). Files that contain many repeated bytes/strings
(such as text files) compress the fastest (almost as fast as Zip
imploding). Files that are more random compress slower; a very
large and very random file may compress slower than the old
version of LH.
o It is coded all in C, and is therefore slower than Yoshi's DOS
version (LHA.EXE) which is coded in mostly assembly. My tests
show LH2 to be a little more than 1/2 the speed while
compressing, and about 2/3 the speed at decompressing. I can
live with it.
o /c causes LH2 to use the old -lh1- compression method that prior
versions of LH2, and LHARC 1.x, used.
o the new 'D' command erases files from an *.lzh archive.
o When extracting files from an archive, the disk space for the
destination file is allocated at the time the file is opened.
This ensures that as little fragmentation as possible will occur
on the file.
o Specifying a drive with no directory (LH A FOO.LZH C:*.*) will
use the root directory, rather than the current directory on
that drive. Fixed.
o The size of LH.EXE has grown quite a bit (from 38k to 48k) since
it now has to support both the old and new
compression/decompression code.
o I've moved. My new phone number is near the bottom of this
document. I've also added a disclaimer there.
o The new compression code (for -lh5- comression) was lifted from
AR02.LZH, by Haruhiko Okumura. Thanks once again Haruhiko! I
can't make heads or tails of Yoshi's code.
LH2.DOC, Mon 03-11-1991
------------------------
Version 1.00 fixes a small bug: If you tried to L)ist the contents
of an *.lzh file that did not exist, no error message was printed.
LH2.DOC, Tue 01-08-1991
------------------------
This version, 0.80, is the first release that supports EAs
(Extended Attributes) and (to some degree) 'long' file names. If
there are no problems with it, it will be renamed 1.00 and
forgotten about.
EAs are supported in the following manner. During the file search
stage (where LH creates a list of all matching files to be sorted),
a pseudo-archive named EA.LZH is created, if needed. Using the
same names as the original files, EA.LZH contains the associated
extended attributes. EA.LZH is placed in the archive along with the
other files. Therefore, anyone who does not have this version of
LH2 can still apply the EAs to their respective files by using the
OS/2 EAUTIL.EXE file. A file named '!readme.ea' is imbeded in
EA.LZH, which supplies instructions to achieve this.
If you use this version of LH2 to extract archives (and do not use
the /i switch), EA.LZH will be extracted automatically and applied
to the files, then erased.
Notes:
o This version, and future versions, require OS/2 1.20 or newer.
o Wildcards should work just like 1.20 wildcards. (Let me know
if you find an inconsistency).
o t = test option is new.
o /i. This option causes EAs not to be stored for the Add and
Move commands. When used with the eXtract command, /i causes
EA.LZH to be extracted, but not applied or erased.
o LH2 does not support directory EAs, only file EAs.
o do NOT update an lzh file that was already stored with EAs
(since ea.lzh will already be in the lzh file).
o The EAs are applied after ALL of the files have been extracted.
A side effect: If you do not extract a file that has an EA, by
answering 'n' to the "File '<file>' already exists. Overwrite?"
prompt, the EA WILL STILL BE JOINED to the old file on your
disk.
o Longnames are supported -- sort of. The total length of a file
name (including path) must be less than or equal to 74 bytes.
Longnames are stored without modification in the lzh header,
therefore they will fail to extract on a FAT partition and/or
under DOS. Therefore, the onus is on the user to enforce normal
(8.3) file names, so as not to inconvenience other users. It is
HIGHLY recommended that you don't use longnames in files you
upload to BBS's.
LH2.DOC, Tue 03-06-1990
------------------------
LH2 is an OS/2 clone of the MSDOS program LHARC.
It is based on the source code I released as "LH-ANSIC.LZH", the
ansi-c version of a simplified LHARC compatible compressor/decompressor.
This program is the same as LH-ANSIC.LZH, with the following exceptions:
o The Move command has been added. (ADD files, then erase them).
o Wildcards are supported from the command line during an ADD/MOVE
function.
o The /s command will cause LH2 to "walk" down directory trees.
For a complete list of functions, run LH.EXE without any arguments.
NOTE: OS/2 1.20's long file names and EAs are *NOT* supported in
this release. This would make the program incompatible with the
original LHARC. I may change this in the near future though.
Trying to "BIND" this program will cause unpredictable results when
run in DOS mode. (DosFindFirst()/Next() can not be supported in DOS
mode if used recursively).
This program is free for noncommercial, nonprofit use only.
For commercial applications, please write/call:
Peter Fitzsimmons
A:WARE Inc.
PO Box 670
Adelaide St Postal Stn.
Toronto, Canada
M5C 2J8.
Voice: (416)858-3222
FidoNet: 1:250/628
BBS: RT-LAB (416)867-9663
Acknowledgments
---------------
This program is based on the LZH (Lempel-Ziv-Huffman) compression
method developed by Haruhiko Okumura and Haruyasu Yoshizaki. The
compression routines were derived from the uncopyrighted LZHUF.C,
posted by Haruhiko Okumura.
DISCLAIMER
----------
The Program is supplied "AS IS" without any warranty of any kind,
either expressed or implied, including, but not limited to, the
implied warranties of merchantabilty and fitness for a particular
purpose.
In no event shall A:WARE INC be liable for any damages, either
direct or consequential, caused by the use, or inability to use,
this program, even if A:WARE INC has been advised of the
possibility of such damages.
-----------
Copyright (C) 1991 A:WARE Inc.
A:WARE Inc. develops custom OS/2 applications, device
drivers, and utilities.