home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / unzip51.zip / vms / README < prev    next >
Text File  |  1993-10-19  |  4KB  |  74 lines

  1. vms/README for UnZip 5.1 and later, 19 Oct 93
  2. ---------------------------------------------
  3.  
  4. Notes about using UnZip and zipfiles under VMS (see INSTALL for instructions
  5. on compiling and installing):
  6.  
  7.  - After proper installation, UnZip is invoked just as in Unix or MS-DOS:
  8.    "unzip -opts archive files".  The hyphen ('-') is the switch character,
  9.    not the slash ('/') as in native VMS commands.  A portable tool can be
  10.    designed to operate like the native programs on every system, or it can
  11.    be designed to operate consistently across all systems; Info-ZIP has 
  12.    chosen the latter course.  At some future date we may add support which
  13.    allows the user (or installer) to choose native look-and-feel over Info-
  14.    ZIP look-and-feel, but this is not a priority...
  15.  
  16.  - VMS (or the C compiler) translates all command-line text to lowercase
  17.    unless it is quoted, making some options and/or filenames not work as
  18.    intended.  For example:
  19.     unzip -V zipfile vms/README
  20.    is tranlated to
  21.     unzip -v zipfile vms/readme
  22.    which may not match the contents of the zipfile and definitely won't
  23.    extract the file with its version number as intended.  This can be
  24.    avoided by enclosing the uppercase stuff in quotes:
  25.     unzip "-V" zipfile "vms/README"
  26.    Note that quoting the whole line probably won't work, since it would
  27.    be interpreted as a single argument by the C library.
  28.  
  29.  - Wildcards which refer to files internal to the archive behave like Unix
  30.    wildcards, not VMS ones.  This is both a matter of consistency (see
  31.    above) and power--full Unix regular expressions are supported, so that
  32.    one can specify "all .c and .h files which start with a, b, c or d and
  33.    do not have a 2 before the dot" as "[a-d]*[^2].[ch]".  Of course, "*.[ch]"
  34.    is a much more common wildcard specification, but the power is there if
  35.    you need it.  Note that "*" matches zipfile directory separators ('/'),
  36.    too.
  37.  
  38.  - Created files get whatever permissions were stored in the archive (mapped
  39.    to VMS and/or masked with your default permissions, depending on the 
  40.    originating operating system), but created directories additionally in-
  41.    herit the (possibly more restrictive) permissions of the parent directory.
  42.    And obviously things won't work if you don't have permission to write to
  43.    the extraction directory.
  44.  
  45.  - When transferring files, particularly via Kermit, pay attention to the
  46.    settings!  In particularly, zipfiles must be transferred in some binary
  47.    mode, which is NOT Kermit's default mode, and this mode must usually be
  48.    set on BOTH sides of the transfer (e.g., both VAX and PC).  See the notes
  49.    below for details.
  50.  
  51.  
  52.  
  53.  
  54. From INFO-ZIP Digest (Wed, 6 Nov 1991), Volume 91, Issue 290:
  55.  
  56.    Date: Tue, 5 Nov 91 15:31 CDT
  57.    From: Hugh Schmidt <HUGH@macc.wisc.edu>
  58.  
  59.             ****************************************************
  60.             *** VMS ZIP and PKZIP compatibility using KERMIT ***
  61.             ****************************************************
  62.  
  63.    Many use Procomm's kermit to transfer zipped files between PC and VMS
  64.    VAX.  The following VMS kermit settings make VMS Zip/UnZip compatible
  65.    with PC Zip/UnZip or PKZIP/PKUNZIP:
  66.                                          VMS kermit          Procomm kermit
  67.                                     -------------------   --------------------
  68.    Uploading PC zipfile to VMS:     set file type fixed   set file type binary
  69.    Downloading VMS zipfile to PC:   set file type block   set file type binary
  70.  
  71.    "Block I/O lets you bypass the VMS RMS record-processing capabilities
  72.    entirely", (Guide to VMS file applications, Section 8.5).  The kermit
  73.    guys must have known this!
  74.