home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best of German Only 1
/
romside_best_of_german_only_1.iso
/
finanzen
/
finanzbe
/
lharc.man
< prev
next >
Wrap
Text File
|
1989-05-26
|
32KB
|
919 lines
User's Manual for High-Performance File-Compression Program
LHarc Version 1.12B
04/29/89
Copyright (c) Haruyasu Yoshizaki (Yoshi), 1988-89
Nifty Serve PFF00253
ASCII PCS pcs02846
------------------------------------------------------------------------
0. It Came to Pass One Day...
After reading "A Hard Disk Cookbook" from Shouei Press, I had a
strong desire to write my own archiving utility. On the Nifty Serve
network, I was first exposed to Mr. Miki's Larc, which surpassed the
well-known PKware in compression ratios, as reported in the Forum
Software Debut and Review. The next shock came when I saw Mr.
Okumura's LZari, which has even better compaction-ratio performance.
I started to rewrite LZari for in assembly level language, trying to
make it run faster, but I could find no way of speeding up the
process of de-archiving.
So, as an alternative, I used adaptive Huffman coding with an LZSS
encoder in order to achieve a similar rate of compression with a
faster decompression process. This is the idea used in LHarc.
No one can be sure of eradicating all possible bugs, yet if SPACE is
more valuable than TIME to you, please give this program a try. It
may be slower in execution, but it achieves the tightest compression
ratios of any general archiver in the present environment (copyright
reserved).
1. How to Use It:
Just type "LHarc" to see the help screen.
Command-line synopsis:
======================
LHarc [command] [/<switches>[-|+|2|<option>]] <archive_name>
[<path_name>] [<home_directory_name>\ | <drive_name>:]
You may place switch(es) at any place following the
command. A group of switches can be specified together.
Terminology:
============
A path name comprises a directory name and a file name:
a:\tc\include\stdio.ext
|<---- Path_name ---->|
|<Directory_>||<File_>|
|<-- name -->||<name >|
Commands:
=========
a (Add)
LHarc a Archive.LZH file1.ext
Adds 'file1.ext' to 'Archive.LZH'. If 'Archive.LZH' does
not exist, then LHarc creates it. If a file with the name
'file1.ext' already exists in the archive, then LHarc will
replace it with the specified file.
u (Update)
LHarc u Archive.LZH file1.ext
Adds 'file1.ext' to 'Archive.LZH', the same as with the 'a'
command. However, if 'file1.ext' already exists in the
archive, LHarc will check its time stamp, and will keep the
newer one and ignore the older one. (The /c switch forces
LHarc to skip this time-stamp comparison.)
m (Move)
LHarc m Archive.LZH file1.ext
is equivalent to
LHarc u Archive.LZH file1.ext
DEL file1.ext
Beware the fact that the second line is always active. You
might lose the file 'file1.ext' for eternity.
f (Freshen)
LHarc f Archive.LZH file1.ext
Replaces 'file1.ext' in 'Archive.LZH' with the newer one
only if a file with this name already exists in the archive.
Otherwise, no action is taken. (The /c switch forces LHarc
to skip this time-stamp comparison.)
e (Extract) or x (eXtract)
LHarc e Archive.LZH
Extracts all the files from 'Archive.LZH' to the specified
drive or directory. If the specified directory does not
exist, then LHarc will prompt you whether to create it.
LHarc e Archive.LZH file1.ext
Extracts only 'file1.ext' from 'Archive.LZH'. If a file with
the name 'file1.ext' exists in the home directory, then LHarc
will refrain from extraction if the existing file has the
same time stamp or is newer. (The /c switch forces LHarc to
skip this time-stamp comparison.)
LHarc e Archive.LZS file.ext
Extracts 'file.ext' from an .LZS file archived with Larc
3.xx.
NOTE: Larc is another popular archiver on Japanese PDS's.
p (disPlay)
LHarc p Archive.LZH file1.ext
Extracts 'file1.ext' from 'Archive.LZH' and redirects it to
standard output.
LHarc p /v Archive.LZH file1.ext
Invokes the default utility LESS to format and display the
redirected output. LHarc creates a temporary file
'LHARC.TMP' for review that will be deleted later.
LHarc p /vsee Archive.LZH file1.ext
Invokes the text formatter SEE, which then displays
'file1.ext' to standard output in a paged format. Refer to
PC-LESS.ARC, LIST64A.ARC, and SEE15.ARC. (These should be
available in most BBS libraries.)
d (Delete)
LHarc d Archive.LZH file1.ext
Deletes 'file1.ext' from 'Archive.LZH'.
l (List)
LHarc l Archive.LZH
Lists information about all the files in 'Archive.LZH'.
Each file takes one line of output. A '+' before the file
name indicates that a directory na e is stored with the file
name. (The /x switch forces LHarc to display extended file
names.)
If you specify file names and extensions, then only the
files with matching names or extensions will be listed:
LHarc l Archive.LZH *.c *.h readme.DOC
Lists information on all the .C, .H, and README.DOC files
in 'Archive.LZH'.
v (View)
LHarc v Archive.LZH
Which is equivalent to:
LHarc l /x Archive.LZH
Lists information about all the files in 'Archive.LZH',
except that each listing takes two lines: the first for the
full path name, and the second for the rest of the
information. (The /x switch forces LHarc to display
extended file names.)
s (Self-extract)
LHarc s [/x] [k<KEY>] Archive.LZH
Creates a self-extracting file 'Archive.COM' (or
'Archive.EXE' if larger than 64K) from 'Archive.LZH' on the
specified drive or directory.
NOTE: There are now two versions of self-extracting
models. The switch /x after s command specifies
large SFX to be made. This always makes a file
Archive.EXE. AUTOEXEC.BAT file can run on this
/x switch if key word KEY is properly typed.
You may self-extract a file of size more than
1 Mb in this mode. Without the /x switch, you
have 'Archive.COM' or 'Archive.EXE' according to
the reduced size. To have self-extracting file,
it is as large as the 640K DOS free-memory area.
Please check normally, to see whether your self-
extracting file exceeds 400K in size. If more,
use the /x switch then.
(no command specified)
LHarc Archive.LZH
Acts exactly the same as the 'l' command. This optional
action is temporary. Don't count on it in future versions.
LHarc t Archive.LZH
Will check integrity of the archived file Archive.LZH by
CRC check. This is new in this version 1.12.
Switches:
=========
Specify switch(es) following the switch character '/'. If you want
to specify more than one switch, type characters continuously
without any intervening spaces, like "/rxwe:\work" or "/cxvless".
When the 'v' and 'w' switches are used with other switches, they must
be specified at the end of a sequence, as shown in the above
examples.
You may place a '+' or '-' sign after switches, with the following
meanings: '+' turns the switch on, and '-' turns the switch off.
The '2' creates a special option for the /r and /v switches (see
below). If you just specify /<switch> without '+' or '-', then
<switch> will be toggled from 'on' to 'off' or vice