unzip 5.11 released by Info-zip

unzip 5.11 released by Info-zip

Post by Dr. Jacques Gelin » Fri, 05 Aug 1994 12:26:17



The newest version of  unzip  was released yesterday by the Info-zip group.
It is available now at the CTAN site in the USA, and will probably spread
to ftp.dante.de and ftp.tex.ac.uk soon (but export restrictions on crypt..)

Path:   pip.shsu.edu: /tex-archive/tools/zip/info-zip

      (See the end of this message for other sites/other operating systems)

It is of course available at quest.jpl.nasa.gov, the info-zip home site.
Note that zip seem more effective than compress on the unzip archive (:).
-r--r--r--  1 ftp        87469 Jul 27 00:10 compression-faq.zip
-r--r--r--  1 ftp       513509 Aug  2 23:18 unzip511.tar.Z
-r--r--r--  1 ftp       397944 Aug  2 23:18 unzip511.zip
-r--r--r--  1 ftp        18656 Aug  2 23:24 zcrypt22.zip

By the way, a listing of the test directory gives a hint of the activities
of the info-zip group. They are making the programs more robust, and working
hard with some well known OS (MSDOS ansi.sys and Novell archive stamp).
-rw-r--r--  1 zipper    207562 Jul  5 19:15 defective.zip
-rw-r--r--  1 zipper       773 Jul 18 00:28 ansibomb.zip
-rw-r--r--  1 zipper    106236 Jul 27 13:54 novbug1.zip
-rw-r--r--  1 zipper     26404 Jul 27 13:54 novbug2.zip

Here is a comparison of three versions of  unzip that are on my system now.
The times are for the command  "time  unzip  -tqq  unzip511.zip".

            Date              Times                               size
  unzip50  12Jan93  2.94user 0.15system 0:03.09elapsed 100%CPU     47k
  unzip51   7Feb94  2.56user 0.18system 0:02.74elapsed 100%CPU     70k
  unzip511  2Aug94  2.54user 0.20system 0:02.74elapsed 100%CPU     70k

The increase in size is due to the merging of zipinfo into unzip.
The funzip utility is included with unzip51[1], allowing the decompression
of the first member of an archive within a pipe. I found these elapsed times:

  tar ztvf linux-1.37.tar.gz             > /dev/null 12.09 sec
  gzip -cd linux-1.37.tar.gz | tar tvf - > /dev/null    11.90 sec (The winner)
  funzip   linux-1.37.tar.gz | tar tvf - > /dev/null    13.98 sec

New with the 511 release is a stub, unzipsfx (40k), to transform a zip archive
into a self decompressing archive. Here are the comments from the man page:
-----------------------------------------------------------------------------
NAME
    unzipsfx  -  self-extracting  stub  for  prepending  to  ZIP archives

DESCRIPTION
     unzipsfx is a modified version of unzip(1L) designed  to  be
     prepended  to  existing  ZIP archives in order to form self-
     extracting archives.

     Note that self-extracting archives made with unzipsfx are no
     more  (or  less) portable across different operating systems
     than is the unzip executable itself.   In  general  a  self-
     extracting  archive  made  on  a particular Unix system, for
     example, will only self-extract under  the  same  flavor  of
     Unix.  Regular unzip may still be used to extract the embed-
     ded archive as with any normal  zipfile,  although  it  will
     generate  a harmless warning about extra bytes at the begin-
     ning of the zipfile.
----------------------------------------------------------------------------

Hints about installation under Linux.

The unzip511.zip file unzips into the current directory.

"make linux" did it for me, in a minute. By default, "make install"
copies the executables into /usr/local/bin, leaving the existing unzip (5.0pl1)
in /usr/bin (Slackware 2.0) alone. I found it wise to keep the old program.
Otherwise,    make  INSTALL=install  prefix=/usr  install   will overwite.
The 4 man pages are preformatted for MSDOS users, and could be simply gzipped
and put into the man/preformat/man1 directory.

Where ?   (Extracted from the Where file)
-----------------------------------------------------------------------------
   unz511x.exe     MSDOS self-extracting executable (16-bit unzip, ..., docs)
   unz511x3.exe    MSDOS self-extracting executable (16- and 32-bit unzip,docs)
   unz511x1.exe    OS/2 1.x (16-bit) self-extracting executables and docs
   unz511x2.exe    OS/2 2.x (32-bit) self-extracting executables and docs
   unz511xN.exe    Windows NT (and Chicago?) self-extracting exes and docs
   unz511x-vax.exe VMS bare VAX executable for unzip
   unz511x-vax.zip VMS docs and unzipsfx VAX executable
   unz511x-axp.exe VMS bare Alpha executable for unzip
   unz511x-axp.zip VMS docs and unzipsfx Alpha executable
   unz511x.lha     Amiga executables and docs for unzip
   unz511x.tos     Atari self-extracting executables and docs for unzip
   unz511x.hqx     Macintosh BinHex'd executables and docs for unzip

ftp sites for the US-exportable sources and executables:

   oak.oakland.edu:/pub/msdos/{zip,windows3}       [AND OTHER SIMTEL MIRRORS]
   oak.oakland.edu:/pub/misc/{unix,vaxvms}
   garbo.uwasa.fi:/{unix,pc}/arcers                 [AND OTHER GARBO MIRRORS]
   ftp-os2.cdrom.com:/pub/os2/{2_x,all}/archiver
   ftp-os2.nmsu.edu:/os2/{2_x,all}/archiver
   ftp.informatik.tu-muenchen.de:/pub/comp/os/os2/archiver
   sumex-aim.stanford.edu:/info-mac/util
   ftp.wustl.edu:/pub/aminet/util/arc              [AND OTHER AMINET MIRRORS]
   atari.archive.umich.edu:/ ... ?
   lpuds.oea.ihep.su:/ ... ?

ftp sites for the encryption and decryption sources and/or executables:

   From the US:
      wuarchive.wustl.edu:/mirrors/garbo.uwasa.fi/arcutil
      ftp.uu.net:/pub/archiving/zip

   Outside the US:
      garbo.uwasa.fi:/pc/arcutil
      ftp.inria.fr:/system/arch-compr
      ftp.informatik.tu-muenchen.de:/pub/comp/os/os2/archiver
         (mail server at ftp-mai...@informatik.tu-muenchen.de)

      ftp.win.tue.nl:/pub/compression/zip/...
      ftp.uni-erlangen.de:/pub/pc/msdos/utilities/zip/...

UUCP sites:

   uunet!~/pub/archiving/zip/ ...

Bulletin boards (commercial and otherwise):

   Sources, MS-DOS executables:
      CompuServe IBMPRO forum, Library 10, Data Compression (unz511.zip,
         sources; unz511.exe, self-extracting executables and docs)
         [verified 940311]
      CompuServe (ZiffNet) PBSUTIL forum and Public Brand Software BBS
         [US, membership required; V.32 line, (317) 856-1490]
         (unz511.zip, sources; unz511.exe, self-extracting exes and docs)
      FidoNet node 1:124/2113, Lunatic Fringe [Richardson, Texas; BBS
         (214) 235-5288; sysop john.stew...@lunatic.com; complete mirror
         of Info-ZIP home site]
      FidoNet node 1:246/74, Metal Shoppe BBS [Windsor, Ontario; CLink
         node 911:6510/0; BBS (519) 256-0278; sysop ra...@cyberspace.net
         (Ray Akey); micro-based files but no Unix/VMS/NT stuff]
      Drealm Conference System [London, UK; V.22bis, subscriber lines
         to V.32bis, etc.; (+44) 81 568 2204]
      Compulink Information eXchange (CIX) [UK ... details?]

   Windows sources and executables:
      CompuServe ZENITH forum (wunzip.zip, WizUnZip exe + libs for
         Win 3.x, NT, OS/2 2.x)
      CompuServe CRAFTS forum (wunz20.exe, WizUnZip bare executable
         for Win 3.1, NT, OS/2 2.1)

   OS/2 executables:
      CompuServe OS2USER forum (zip201.zip and unz511.exe, OS/2 16-
         and 32-bit exes and docs)

   Amiga executables:
      BIX in AMIGA files section (perform keyword search on "info-zip")
         [requires account; telnet bix.com, or "C BIX" via local Sprint
         X.25 PAD, or dial direct in US at (617) 491-5410]

Mail servers:

   If you don't have anonymous FTP capability, you can mail one
   of the following commands (in the body of an e-mail message) to
   lists...@vm.ecs.rpi.edu or lists...@vm1.nodak.edu in order to
   get a copy of the source code via e-mail:

      /pdget mail /pub/misc/unix/unzip511.tar.Z uuencode
      /pdget mail /pub/msdos/zip/unzip511.zip uuencode
      /pdget mail /pub/msdos/zip/zip201.zip uuencode

   The older, pseudo-TOPS-20 style also works:

      /pdget mail pd:<misc.unix>unzip511.tar.Z uuencode
      /pdget mail pd:<misc.unix>zip201.zip uuencode

   To get the encryption source by e-mail, send the following commands
   to ftp-mai...@informatik.tu-muenchen.de:

      get /pub/comp/os/os2/archiver/zcrypt22.zip
      quit

   To get the VMS Zip/UnZip package by e-mail, send the following
   commands in the body of a mail message to mxser...@wkuvx1.wku.edu
   (the "HELP" command is also accepted):

      SEND ZIP-UNZIP
      SEND FILESERV_TOOLS

   To get Atari executables by e-mail, send a message to
   at...@atari.archive.umich.edu for information about the mail server.
__________________________________________________________________________

--
Jacques Ge'linas, Ph.D., Maths,           INTERNET: geli...@cmr.ca
Colle`ge Militaire Royal de Saint-Jean,
Que'bec, Canada, J0J 1R0.

 
 
 

unzip 5.11 released by Info-zip

Post by Cave Ne » Sun, 07 Aug 1994 10:11:04



Quote:>The newest version of  unzip  was released yesterday by the Info-zip group.
>It is of course available at xxxxxxxxxxxxxxxxxx, the info-zip home site.

...and we'd appreciate it if people would not publicize (or use) this
site--it's the personal workstation of one of the developers.

ftp.uu.net:/pub/archiving/zip is the official primary mirror site for
public releases, and it's much better able to handle a large ftp load.

Quote:>Note that zip seem more effective than compress on the unzip archive (:).
>-r--r--r--  1 ftp       513509 Aug  2 23:18 unzip511.tar.Z
>-r--r--r--  1 ftp       397944 Aug  2 23:18 unzip511.zip

For fairness, however, you should compare with tar+gzip, which compresses
much better than zip (due to its effective use of "unit packing").  Of
course, you have to decompress the whole archive to get a listing or to
extract a single file...

Quote:>-rw-r--r--  1 zipper    106236 Jul 27 13:54 novbug1.zip
>-rw-r--r--  1 zipper     26404 Jul 27 13:54 novbug2.zip

These are actually demonstrations of a bug in PKZIP. :-)  Zip functions
correctly on Novell drives.  See the ToDo file for a list of what's next
on the slate.

Quote:>  gzip -cd linux-1.37.tar.gz | tar tvf - > /dev/null    11.90 sec (The winner)
>  funzip   linux-1.37.tar.gz | tar tvf - > /dev/null    13.98 sec

fUnZip should improve in the next release when we switch to a "new"
version of inflate (which has actually been around a long time, but
never got incorporated for various historical reasons).  I'm pretty
sure gunzip already uses the faster version.

Quote:>New with the 511 release is a stub, unzipsfx (40k), to transform a zip archive
>into a self decompressing archive. Here are the comments from the man page:

Note that there is a newly discovered bug in this (oh, the embarrassment),
and as a result there will be a 5.12 release in roughly 10 days.  The bug,
btw, involves an off-by-one pointer and results in the loss of the first
filespec (e.g., "foosfx '*.[ch]' \*.doc" only extracts *.doc).  The fix is
trivial; there's a "wildzipfn = *argv++" around line 693, I believe (this
is from memory), and it should be surrounded by an "#ifndef SFX".

As a personal point of interest, I'd be curious to know whether folks
would like/dislike/not care to have UnZip binaries distributed in a
self-extracting archive instead of a gzip'd tarfile.  I don't really
know the issues regarding shared library versions, iBCS2 (or whatever),
etc.  Responses via e-mail (to me or zip-bugs) are fine.

Quote:>The unzip511.zip file unzips into the current directory.

The tarfile creates an unzip-5.11 directory, however.

Quote:>the existing unzip (5.0pl1) in /usr/bin (Slackware 2.0)

They're still using 5.0p1?  I must have words with them...

Thanks for the local announcement.  I would have gotten here eventually
(yes, three of the core authors use Linux), but I figured Linux users
can fend for themselves a little better than DOS or even OS/2 folks. :-)

Greg Roelofs
UnZip maintainer
(running Linux, OS/2, Doom :-) )