home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / unzip531.zip / acorn / ReadMe < prev    next >
Text File  |  1996-07-01  |  3KB  |  58 lines

  1. Acorn-specific usage instructions
  2. ---------------------------------
  3.  
  4. As zipfiles can come from a variety of sources apart from Acorn machines,
  5. consideration had to be given to the handling of dot-extensions, a la
  6. DOSFILE.TXT, unix-filename.tar.gz . What was decided that they would
  7. be extracted as DOSFILE/TXT and unix-filename/tar/gz, and then truncated
  8. to 10-characters, for FileCore compliance. This can quickly be altered
  9. for any new releases of FileCore that Acorn may make for longer filenames.
  10. Unfortunately, this means that you must be REALLY careful about
  11. extracting files from archives. The files
  12.  
  13.     dummy_source.c and dummy_source.h
  14.  
  15. will both be extracted as
  16.  
  17.     dummy_sour
  18.  
  19. UnZip will prompt you for confirmation of the over-writing of these files,
  20. but you must be really careful unless you wish to lose files!
  21. Also, because UnZip is a unix-ported program, the filenames are CASE
  22. SENSITIVE.
  23.  
  24.     *unzip new/zip newfile
  25.  
  26. will extract 'newfile', but not 'NewFile', 'NEWFILE' or any other
  27. combinations. However, you can use the -C option to force operations
  28. to disregard the case of filenames.
  29.  
  30. The Acorn UnZip port has an additional feature to cope with the
  31. extraction of files containing 'c' code. As you may be aware, Acorn
  32. Desktop C requires all files called "foo.c" to be renamed to "c.foo",
  33. ie "foo" in a directory called "c".
  34.  
  35. To cope with this, a colon-separated environment variable has been
  36. set up called "Unzip$Exts". Any extensions found in this variable will
  37. be extracted to directories named after the extension, with the extension
  38. stripped. For example:
  39.  
  40.     *Set Unzip$Exts "c:h:o:s"
  41.  
  42. will extract all the files called 'foo.c' to a directory called 'c'.
  43. This can be used to include "c:h:o:s:txt" to pull all the text files
  44. out to a separate directory. 
  45.  
  46. UnZip fully supports SparkFS Extra Field. This means that zipfiles created
  47. with SparkFS or Zip (on RISC OS) will be correctly unzipped, including
  48. filetypes.
  49.  
  50. UnZipSFX can be used to create self-extracting archives. To use it, just
  51. create a common zipfile using Zip (or SparkFS), then load the UnZipSFX
  52. executable into an editor (eg. Edit, Zap), go with the caret the end of the
  53. file (using CTRL-CursorDown) and drag the zipfile to the editor window (in
  54. other words, append the zipfile to the UnZipSFX executable). Now, saving the
  55. resulting file (with filetype Absolute (&FF8)), you have a self-extracting
  56. archive (ie. double-clicking on it will unzip the contents of the original
  57. zipfile to the currently selected directory).
  58.