123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600 |
- IZREADME_SMS (IZREADME.SMS): Info-ZIP for SMS/QDOS, last revised: 15-Jun-1998
- ===============================================================================
- [was "InfoZIP_SMSQDOS_ReadMe" in J. Hudson's original ports, ca. 08/1995]
- Info-ZIP Programs
- =================
- Zip
- UnZip
- UnZipSFX
- fUnZip
- Introduction
- ------------
- This archive is a result of frustrations with contemporary (August 95)
- versions of Zip and UnZip. While they use the same compression
- algorithms as the Info-ZIP programs, there the compatibility ends. If
- you just use Zip/UnZip only on SMS/QDOS, then perhaps this is not a
- problem (but I know for some users it still is); if you use Zip/UnZip
- to transport source code and data between diverse systems, then the
- disregard for Info-ZIP standards is inconvenient, particularly the
- fact that directories are not supported and files are always stored
- underscored.
- This release of Zip/UnZip offers:
- o zipfile/directory compatibility with all other supported
- platforms
- o SMS/QDOS compatibility and back-compatible with earlier
- versions.
- o Improved performance (Zip is typically 50% faster)
- o Command-line compatibility with Info-ZIP
- o Self-extracting archives (but not very elegantly)
- o Archives are marked as 'created by SMS/QDOS'.
- o Optional recursion into directories
- o Directory structure restored on unzip of Info-ZIP/PKZIP-
- compatible archives.
- o Config'urable for listing and unpack formats (Info-ZIP (.) or
- SMS/QDOS (_) and 'Press any key' timeouts. Override options
- from command line.
- Info-ZIP Standards
- This (rather long-winded and waffling) section discusses the
- conventions and standards used by Info-ZIP-compatible archivers and how
- "Info-ZIP for SMS/QDOS" achieves compatibility.
- Info-ZIP Zip/UnZip on all supported platforms (Unix, DOS, OS/2, NT,
- VAX/VMS, Amiga etc etc), works in a specific way. (Until now SMS/QDOS
- was neither 'supported' nor Info-ZIP-compliant.)
- a. The zipfile directory is in (/.) (Unix) format.
- b. When zips are listed, it is in 'zipfile' (Unix) format.
- c. When files are added, they are defined in native format.
- d. When files are added, this is shown in 'zipfile' format.
- e. When files are unpacked, this is done to native format, but
- selection is done in 'zipfile' format.
- Basically, the listing and stored format of a file is that of the
- destination.
- So, given a file structure at some arbitrary 'root' level.
- Makefile
- src (Dir)
- afile.c
- bfile.c
- docs (Dir)
- prog.txt
- hdr (Dir)
- cfile.h
- dfile.h
- Then these would be in Unix (and Amiga) as
- Makefile
- src/afile.c
- src/bfile.c
- src/docs/prog.txt
- hdr/cfile.h
- hdr/dfile.h
- This is also how the zipfile directory appears.
- And in DOS/OS2/NT
- Makefile
- src\afile.c
- src\docs\prog.txt
- hdr\cfile.h .. etc
- And in VMS (we SHOUT in VMS and have a silly file system)
- MAKEFILE
- [SRC]AFILE.C
- [SRC.DOC]PROG.TXT
- [HDR]CFILE.H .. etc
- (OK VMS purist, [.SRC] etc. Only an example)
- And in SMS/QDOS (quiet again, but slightly ludicrous !)
- Makefile
- src_afile_c
- src_doc_prog_txt
- hdr_cfile_h .. etc
- The main problem regarding SMS/QDOS is not that of extensions - (after
- all, only VMS and DOS _really_ have extensions; Unix, AmigaDOS, NT and
- OS/2 (and Win95) allow multiple '.' in.long.file.names.
- The SMS/QDOS problem is that '_' is both a legal file name character
- and a directory separator. This creates the difficulties, as
- directories and files are somewhat different objects.
- It is the intention that these versions of SMS/QDOS Zip/UnZip will
- follow the Info-ZIP rules, thus providing compatibility with the other
- platforms. It is possible to zip the file structure described above on
- SMS/QDOS and unpack it on VMS and get the VMS structure as shown in the
- example (and vice-versa). [We only choose the most obtuse file
- systems for the examples].
- In order to achieve this, SMS/QDOS names are mapped into Unix-style
- ones when the zipfile is created and un-mapped when it is unpacked.
- There is an option to unpack in 'zipfile' format (i.e. with '.' rather
- than '_'), but there will be no option to pack to all '_'. That would
- contravene the standard. However, a file
- src_split_name_c (which is src->split_name_c !)
- src/split_name.c)
- where src is a hard directory, would be stored in the zip directory as
- src/split_name.c
- It does handle '_' with a little intelligence.
- The default UnZip option will be to translate '.' to '_'; this is
- because there are still many QDOS/Minerva users that cannot handle '.'
- without quotes, which is immensely inconvenient. For many SMS users
- '_' is also the most natural and convenient option. It also means that
- SMS/QDOS <-> SMS/QDOS Zip - UnZip sequences are transparent.
- There will, however, be two ways around this in UnZip.
- 1. It is possible to Config the UnZip default to be '.'
- translations (or not).
- 2. The UnZip -Q1 option will toggle the default (Config'ed)
- state.
- Examples:
- Given that we want/have
- Makefile (Makefile)
- src/afile.c (src_afile_c)
- src/bfile.c (src_bfile_c)
- src/docs/prog.txt (src_docs_prog_txt)
- hdr/cfile.h (hdr_cfile_h)
- hdr/dfile.h (hdr_dfile_h)
- Then on SMS/QDOS we might have added the *.c files as
- ex zip;'-r test *_c'
- (or VMS, just to do something different)
- zip -r test [.src]*.c
- In both cases the file lists as above (left).
- To unpack on SMS/QDOS (just the _c/.c files)
- ex unzip;'test src
|