home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Datafile PD-CD 3
/
PDCD_3.iso
/
archivers
/
infozip
/
unzip-read
< prev
next >
Wrap
Text File
|
1995-03-30
|
6KB
|
153 lines
Acorn Risc OS Port of InfoZip's Unzip v5.13
-------------------------------------------
by: Karl Davis and Sergio Monesi
Introduction
------------
This is a command-line version of the InfoZip group's machine-independent
UnZip program.
Why use Zip - Spark is better? The Zip routines in this distribution
are better than Spark in a number of ways:
* Portability - the files produced are able to be de-archived on many
hundreds of computer platforms
* Speed - the routines in Zip, especially deflate, produce a much better
compression over a wider variety of files than the ARC-procedures in
Spark.
* Security - a Non-US distribution of this release will have, or can
have, a crypt routine, which is much more secure than that used in
Spark. This is in turn able to be read, with the correct pass phrase,
on the aforementioned hundreds of computer platforms.
Unfortunately, InfoZip is a CLI (Command Line Interpreter) program. You
will have to learn how to type. Running it in a taskwindow will maintain
multitasking, though.
Source
------
Acorn Risc OS source files will appear as part of the normal infozip
releases. Simply compiling them should suffice, as the machine type
and details are noted on compilation, and the bits for unix, mac etc
are not used.
Executables
-----------
Released versions of Zip and Unzip, with assorted utilities, will
shortly appear as executables at:
ftp://zonk.geko.com.au/pub/acorn/infozip/zip
ftp://zonk.geko.com.au/pub/acorn/infozip/unzip
with everything else in
ftp://zonk.geko.com.au/pub/acorn/infozip/
as zipfiles.
BINARY TRANSFERRING these files to your Acorn (ftp, DOS discs, etc),
filetyping as 'Absolute' and command-line running them should enable
you to de-archive the remaining files, including the source files and
other tools.
Compiling
---------
This release is able to be compiled with Acorn's Desktop C version 4
and hopefully later versions.
[It has not been tested, but should also work with GNU GCC.]
Before compiling, run the !RunMe1st obey file in the Acorn directory. It
will move the files from the foo/c to the c.foo for the Acorn compiler.
( Alternatively, if you already use InfoZip on your Acorn, )
( see the specific usage instructions about Unzip$Exts )
Now read the "INSTALL" file for details on how to 'make' the executable.
Acorn-specific usage instructions
---------------------------------
As ZIP files can come from a variety of sources apart from Acorn machines,
consideration had to be given to the handling of dot-extensions, a-la
DOSFILE.TXT, unix-filename.tar.gz . What was decided that they would
be extracted as DOSFILE/TXT and unix-filename/tar/gz, and then truncated
to 10-characters, for FileCore compliance. This can quickly be altered
for any new releases of FileCore that Acorn may make for longer filenames.
Unfortunately, this means that you must be REALLY careful about
extracting files from Zips. The files
crypt_dummy.c and crypt_dummy.h
will both be extracted as
crypt_dumm
Unzip will prompt you for confirmation of the over-writing of these files
but you must be really careful unless you wish to loose files (eh?)
Also, because unzip is a unix-ported program, the filenames are CASE
SENSITIVE.
*unzip new/zip newfile
will extract 'newfile', but not 'NewFile', 'NEWFILE' or any other
combinations. Anyway, you can use the -C option to force case insensitive
filenames match.
The Acorn Unzip port has an additional feature to cope with the
extraction of files containing 'c' code. As you may be aware, Acorn
Desktop C requires all files called "foo.c" to be renamed to "c.foo",
ie "foo" in a directory called "c".
To cope with this, a colon-separated environment variable has been
set up called "Unzip$Exts". Any extensions found in this variable will
be extracted to directories named after the extension, with the extension
stripped. For example:
*Set Unzip$Exts "c:h:o:s" will extract all the files called
'foo.c' to a directory called 'c'
This can be used to include "c:h:o:s:txt" to pull all the text files
out to a separate directory. It should be noted, though, that if the
zip file was NOT created on an Acorn machine, the filetypes will ALL
be 'Data', not text, however, having them in a separate directory may
simplify the filetyping process.
Future
------
This version of unzip uses a special message-passing function message().
This is anticipated to provide more desktop-feedback in the future, with
dialogue boxes appearing and dissapearing, hopefully leading to a
completely desktop-compliant version in the near future.
+ Semi-intelligent filetyping of files from non-Acorn formats.
Bugs
----
Known :
None.
Unknown:
Please feel free to contact the authors regarding Acorn-specific
Bugs, at either of their email addresses, or the InfoZip-bugs
group using zip-bugs@wkuvx1.wku.edu.
Additions/Changes
-----------------
Suggestions for alterations or additions are welcome, but if
they're concerned with things to do with the Acorn port
specifically, please email the authors directly. If, however,
there is something you'd like to see changed in the overall
InfoZip senario, or something you want added, then send it to
info-zip@wkuvx1.wku.edu
Although there is no specific copyright maintaining over this
port, we'd prefer it if you didn't release altered versions of
it, seeing as we have to answer all the questions when things
go wrong.
Contacting the Authors
----------------------
Sergio Monesi Karl 'RiscMan' Davis
Via Trento e Trieste 30 PO BOX B23
20046 Biassono (MI) Boronia Park 2111
Italy AUSTRALIA
---------------------------- --------------------------------
pel0015@cdc8g5.cdc.polimi.it riscman@geko.com.au
sergio@phantom.com http://www.geko.com.au/riscman/
sergio@g386bsd.first.gmd.de RiscMan@f510.n712.z3.fidonet.org