CDLHA Copyright 1993 Area52. All Rights Reserved.
Programmed by David Tiberio July 13 1993.
FREELY DISTRIBUTABLE. Please include this readme file along
with any distribution of CDLHA. I accept no responsibility for
any damage caused using this program. It has been thoroughly tested
and all bugs have been noted. Feel free to include CDLHA in any
distributions of LHA according to the distribution guidelines set
by Stefan Boberg, author of LhA.
+-----------------------------------------------------------------------------+
IMPORTANT!
This version of CDLHA has at least two known bugs in it.
1. CBM allows an interactive Template mode. If you type CDLHA ?,
you get a list of all the support commands you can pass to
CDLHA. However, if you use this method, it will not work if
you enter more than just the filename. However, if you use
the Templates without the CDLHA ? option, they WILL work.
For example, typing CDLHA filename.lha SPEED 9 will work,
but CDLHA ? followed by filename.lha SPEED 9 will not work
properly. Please note that a huge number of new commands
have been added that are not listed in the next section (I'm
uploading this README in 5 minutes so I will document them later).
Use the ? option from the command line, or the H command,
for a list of all supported commands.
2. It randomly crashes (on my machine at least). Sometimes it just
makes the machine crawl. But let me explain my setup first. I
am running under 3.0 with XPK and XFH. I have various Shell
Startup files as opposed to using IconX. I have one Shell
Startup for programming, one for general use, etc. The one for
general use is bare bones and does not use XPK or XFH, and
likewise hardly ever crashes. However, it does crash using
XFH and XPK randomly and unexpectedly. If it starts spewing
out something like æWJ: all over the place, open a new Shell
and type Status. Then look for all the processes called CDLHA.
Then type Break followed by the CDLHA process ID numbers to
halt the data spewing. Then again, this bug may be alive only
on my system.
+-----------------------------------------------------------------------------+
This program requires LHA 1.38 or greater to operate. It will use
the LHA program as long as it is in your search path. This program is
a frontend, much like the various LHA GUI programs. However, CDLHA
is for Shell and CLI users only.
Here is a summary of commands currently supported:
a ADD
m MOVE
e EXTRACT
x EXTRACT/PATH
d DELETE
r REPLACE
f FRESHEN
u UPDATE
l LIST
v VIEW
t TEST
q QUIT
? HELP
At the CDLHA prompt, type the one letter command followed
by any required arguments. If no arguments are specified, LHA
may attempt to operate on all files. Be careful when using
this with the D command, as all files will become unrevocerable
when deleted.
For a more verbose help file, type the one letter command
followed by a question mark, such as:
a ?
...for help using the ADD command. All commands currently must
be typed in lowercase. This may change soon.
CDLHA allows you to use most Shell commands. It can NOT use
the CD or CDLHA command unless CDLHA is exited. Otherwise it may
enter a loop. Use the BREAK command to halt the process from another
shell. Use STATUS to list all running process ID numbers.
+-----------------------------------------------------------------------------+
Here are some sample commands.
Instead of typing "LHA l archive.lha", you can enter the archive
using the command "CDLHA archive.lha" and then enter "l" and RETURN
at the prompt. This allows you to perform many operations on the same
archive without repeatedly typing LHA or the archive filename.
If a non-existant archive is given, a new one will be created in
the first attempt to add files to it. Otherwise, LHA may report an
error message that it was unable to open the archive.
Wildcards are supported, such as #? and *. You may type something
like "l #?.info" to list all the icons in the archive. You can also
delete large numbers of files in an archive at once, but be careful.
Typing the "d" command followed by a RETURN will delete all files in
the archive, similar to the "LHA d archive.lha" command.
To enter a new archive, exit CDLHA and type "CDLHA archive.lha"
to open the new archive. Remember, you are still in your current
directory, so typing the AmigaDOS "List" command will list all the
files that the archive is found in, or wherever CDLHA was started
from.
+-----------------------------------------------------------------------------+
|