home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-04-02 | 54.3 KB | 1,217 lines |
- Newsgroups: comp.sources.misc
- From: info-zip@cs.ucla.edu (Info-Zip)
- Subject: v29i039: unzip - Info-ZIP's portable UnZip v4.2, Part09/12
- Message-ID: <1992Apr3.063326.29116@sparky.imd.sterling.com>
- X-Md4-Signature: e03539e4c76bacee0b10a4469c7eef54
- Date: Fri, 3 Apr 1992 06:33:26 GMT
- Approved: kent@sparky.imd.sterling.com
-
- Submitted-by: info-zip@cs.ucla.edu (Info-Zip)
- Posting-number: Volume 29, Issue 39
- Archive-name: unzip/part09
- Environment: Unix, VMS, OS/2, MS-DOS, Amiga, Macintosh
- Supersedes: unzip, Volume 19, Issues 96-101
-
- #! /bin/sh
- # This is a shell archive. Remove anything before this line, then feed it
- # into a shell via "sh file" or similar. To overwrite existing files,
- # type "sh file -c".
- # The tool that generated this appeared in the comp.sources.unix newsgroup;
- # send mail to comp-sources-unix@uunet.uu.net if you want that tool.
- # Contents: COPYING MAC/macstat.c MSDOS/bcc/unzip.prj.uu
- # MSDOS/bcc/zipinfo.prj.uu VMS/bilf/bilf.exe.uu zipinfo.1
- # zipinfo.man
- # Wrapped by kent@sparky on Mon Mar 30 01:45:55 1992
- PATH=/bin:/usr/bin:/usr/ucb ; export PATH
- echo If this archive is complete, you will see the following message:
- echo ' "shar: End of archive 9 (of 12)."'
- if test -f 'COPYING' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'COPYING'\"
- else
- echo shar: Extracting \"'COPYING'\" \(6168 characters\)
- sed "s/^X//" >'COPYING' <<'END_OF_FILE'
- X===============================================================================
- X The following copyrights are claimed on portions of the UnZip source code.
- X Further comments are at the bottom.
- X===============================================================================
- X
- X Copyright in unzip.c, originally from unzip version 1.2 (?):
- X
- X * Copyright 1989 Samuel H. Smith; All rights reserved
- X *
- X * Do not distribute modified versions without my permission.
- X * Do not remove or alter this notice or any other copyright notice.
- X * If you use this in your own program you must distribute source code.
- X * Do not use any of this in a commercial product.
- X
- X-------------------------------------------------------------------------------
- X
- X Copyright in match.c, originally from arcmatch.c, version 1.1 (?):
- X
- X * ARC - Archive utility - ARCMATCH
- X * Version 2.17, created on 12/17/85) at 20:32:18
- X * (C) COPYRIGHT 1985 by System Enhancement Associates; ALL RIGHTS RESERVED
- X
- X-------------------------------------------------------------------------------
- X
- X Copyright in misc.c, applying to UpdateCRC() and crc_32_tab[]:
- X
- X COPYRIGHT (C) 1986 Gary S. Brown. You may use this program, or code
- X or tables extracted from it, as desired without restriction.
- X
- X-------------------------------------------------------------------------------
- X
- X Copyright in unimplod.c (and UnZip in general?), claimed retroactively by
- X Carl Mascott, cmascott@world.std.com, 7 November 1991:
- X
- X Portions copyright (C) 1989 Carl Mascott. All rights reserved.
- X Permission is granted to any individual or institution to use,
- X copy, or redistribute this software so long as it is not sold for
- X profit or included with other software that is sold for profit,
- X provided this copyright notice is retained.
- X
- X Also noted by Carl Mascott:
- X
- X The following routines in unimplod.c were written entirely by me:
- X SortLengths
- X GenerateTrees
- X ReadTree
- X
- X Original notes from unzip 2.0a:
- X
- X * 12/14/89 C. Mascott 2.0a adapt for UNIX
- X * ifdef HIGH_LOW swap bytes in time, date, CRC,
- X * version needed, bit flag
- X * implement true s-f trees instead of table
- X * don't pre-allocate output file space
- X * implement -t, -v, member file specs
- X * buffer all input
- X * change hsize_array_integer to short
- X * overlap storage used by different comp. methods
- X * speed up unImplode
- X * use insertion sort in SortLengths
- X * define zipfile header structs in a way that
- X * avoids structure padding on 32-bit machines
- X * fix "Bad CRC" msg: good/bad CRCs were swapped
- X * check for write error on output file
- X
- X-------------------------------------------------------------------------------
- X
- X Copyright in vms.c, distributed with UnZip versions 4.2 and later:
- X
- X * Copyright (C) 1992 Igor Mandrichenko.
- X * Permission is granted to any individual or institution to use, copy,
- X * or redistribute this software so long as all of the original files
- X * are included unmodified, that it is not sold for profit, and that
- X * this copyright notice is retained.
- X
- X-------------------------------------------------------------------------------
- X
- X Additional copyright information:
- X
- X BILF (distributed with the VMS stuff) is copyrighted by Rahul Dhesi,
- X but it is freely distributable.
- X
- X The functions extract_or_test_files() and store_info() in extract.c,
- X do_string() and return_VMS() in misc.c, VMS version of echo() in
- X file_io.c, and find_end_central_dir() in unzip.c, were written by
- X Greg Roelofs and subsequently modified by many others via Info-ZIP.
- X I do not claim a copyright on these routines, but I do ask that no
- X one else do so either, :-) and that anyone using them in other pro-
- X grams note their source.
- X
- X The function decrypt_member() in extract.c and the password functions
- X in file_io.c were written by Mark Adler.
- X
- X The function mapped_name() in mapname.c was written by David Kirschbaum,
- X based on the XXU program by Frank Da Cruz.
- X
- X Most of the remaining routines have contributions from all of us, and
- X show it. :-)
- X
- X===============================================================================
- X
- X Info-ZIP comments:
- X
- X Info-ZIP has very little interest in legal matters, aside from the usual
- X "CYA" sense. In particular, Info-ZIP makes no claim as to the validity of
- X the fourth copyright notice, which did not appear in any of the original
- X source code in question. We do NOT, however, dispute the fact that Mr.
- X Mascott made contributions to unzip--in fact, he was apparently responsi-
- X ble for the original port to Unix on which Info-ZIP UnZip is based. As
- X an author, his wishes should be honored, regardless of any copyrights.
- X
- X Regarding the original copyright by Mr. Smith: Info-ZIP has attempted to
- X contact Mr. Smith at the BBS formerly listed in the usage screen, in order
- X to comply with his first stipulation; no response was ever received, and
- X as of early 1992 the number no longer exists (hence was removed from the
- X usage screen lest it be reassigned to someone else by the phone company).
- X Since the current incarnation of UnZip can be considered "our own"--it
- X bears very little resemblance to his original program, in either content
- X or size :-) --and since we freely distribute the source code, we feel that
- X we are within the bounds of his third stipulation. In any case, Info-ZIP
- X has acted in good faith, and we hope we are not overstepping our authority.
- X
- X Info-ZIP would *like* UnZip to be distributed with minimal restrictions,
- X and to that end, the authors are working to rewrite portions of the code
- X where time permits. This is a slow business, however, and it is not a
- X primary concern for most of us. So don't hold your breath. :-)
- X
- X===============================================================================
- END_OF_FILE
- if test 6168 -ne `wc -c <'COPYING'`; then
- echo shar: \"'COPYING'\" unpacked with wrong size!
- fi
- # end of 'COPYING'
- fi
- if test -f 'MAC/macstat.c' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'MAC/macstat.c'\"
- else
- echo shar: Extracting \"'MAC/macstat.c'\" \(5884 characters\)
- sed "s/^X//" >'MAC/macstat.c' <<'END_OF_FILE'
- X#ifdef THINK_C
- X#define MACOS
- X#include <pascal.h>
- X#endif
- X#ifdef MPW
- X#define MACOS
- X#include <Files.h>
- X#include <Errors.h>
- X#define FSFCBLen (*(short *)0x3F6)
- X#define CtoPstr c2pstr
- X#define PtoCstr p2cstr
- X#endif
- X
- X#ifdef MACOS
- X#include <string.h>
- X#include "macstat.h"
- Xint stat(char *path, struct stat *buf);
- X
- X/* assume that the path will contain a Mac-type pathname, i.e. ':'s, etc. */
- Xint stat(path, buf)
- Xchar *path;
- Xstruct stat *buf;
- X{
- X char temp[256];
- X short curVolume;
- X long curDir;
- X short fIsHFS = false;
- X OSErr err;
- X
- X if (buf == (struct stat *)0L || path == (char *)0L) {
- X SysBeep(1);
- X return -1;
- X }
- X
- X if (path[0] == '\0' || strlen(path)>255) {
- X return -1;
- X }
- X
- X if (GetVol((StringPtr)&temp[0], &curVolume) != noErr) {
- X SysBeep(1);
- X return -1;
- X }
- X
- X /* get info about the specified volume */
- X if (FSFCBLen > 0) /* HFS Disk? */
- X {
- X WDPBRec wdpb;
- X HParamBlockRec hpbr;
- X Str255 st;
- X
- X wdpb.ioCompletion = 0;
- X wdpb.ioNamePtr = (StringPtr)temp;
- X err = PBHGetVol(&wdpb, 0);
- X if (err == noErr)
- X {
- X hpbr.volumeParam.ioCompletion = 0;
- X hpbr.volumeParam.ioNamePtr = st;
- X hpbr.volumeParam.ioVRefNum = wdpb.ioVRefNum;
- X hpbr.volumeParam.ioVolIndex = 0;
- X err = PBHGetVInfo(&hpbr, 0);
- X
- X if (err == noErr && hpbr.volumeParam.ioVFSID == 0
- X && hpbr.volumeParam.ioVSigWord == 0x4244) {
- X fIsHFS = true;
- X }
- X }
- X }
- X
- X
- X /* number of links, at least in System 6.0x, 0 */
- X buf->st_nlink = 0;
- X /* user id */
- X buf->st_uid = 0;
- X /* group id */
- X buf->st_gid = 0;
- X
- X if (fIsHFS == true) /* HFS? */
- X {
- X CInfoPBRec cPB;
- X HParamBlockRec wPB;
- X
- X wPB.wdParam.ioCompletion = (ProcPtr)0L;
- X wPB.wdParam.ioNamePtr = (StringPtr)temp;
- X err = PBHGetVol((WDPBPtr)&wPB, false);
- X if (err != noErr) {
- X SysBeep(1);
- X return -1;
- X }
- X
- X curVolume = wPB.wdParam.ioWDVRefNum;
- X buf->st_dev = curDir = wPB.wdParam.ioWDDirID;
- X
- X /* get information about file */
- X cPB.hFileInfo.ioCompletion = (ProcPtr)0L;
- X CtoPstr(path);
- X strncpy(temp,path, path[0]+1);
- X PtoCstr(path);
- X cPB.hFileInfo.ioNamePtr = (StringPtr)temp;
- X cPB.hFileInfo.ioVRefNum = 0;
- X cPB.hFileInfo.ioDirID = 0;
- X cPB.hFileInfo.ioFDirIndex = 0;
- X
- X err = PBGetCatInfo(&cPB, false);
- X
- X if (err != noErr) {
- X if (err != fnfErr) {
- X SysBeep(1);
- X }
- X return -1;
- X }
- X
- X /* Type of file: directory or regular file */
- X buf->st_mode = (cPB.hFileInfo.ioFlAttrib & ioDirMask) ? S_IFDIR : S_IFREG;
- X
- X /* last access time, modification time and creation time(?) */
- X buf->st_atime = buf->st_mtime = cPB.hFileInfo.ioFlMdDat;
- X buf->st_ctime = cPB.hFileInfo.ioFlCrDat;
- X /* inode number */
- X buf->st_ino = cPB.hFileInfo.ioDirID + ((long)curVolume)<<16;
- X /* size of file - use only the data fork */
- X buf->st_size = cPB.hFileInfo.ioFlLgLen;
- X /* size of disk block */
- X if (cPB.hFileInfo.ioFlClpSiz == 0) {
- X HParamBlockRec hPB;
- X
- X hPB.volumeParam.ioCompletion = (ProcPtr)0L;
- X hPB.volumeParam.ioNamePtr = (StringPtr)temp;
- X hPB.volumeParam.ioVRefNum = 0;
- X hPB.volumeParam.ioVolIndex = 0;
- X
- X err = PBHGetVInfo(&hPB, false);
- X
- X if (err != noErr) {
- X SysBeep(1);
- X return -1;
- X }
- X
- X buf->st_blksize = hPB.volumeParam.ioVClpSiz;
- X }
- X else
- X buf->st_blksize = cPB.hFileInfo.ioFlClpSiz;
- X
- X buf->st_blocks = cPB.hFileInfo.ioFlPyLen/ buf->st_blksize;
- X }
- X else /* MFS? */
- X {
- X ParamBlockRec pPB;
- X
- X buf->st_dev = 0;
- X
- X CtoPstr(path);
- X strncpy(temp, path, path[0]+1);
- X PtoCstr(path);
- X pPB.fileParam.ioCompletion = (ProcPtr)0;
- X pPB.fileParam.ioNamePtr = (StringPtr)temp;
- X pPB.fileParam.ioVRefNum = curVolume;
- X pPB.fileParam.ioFVersNum = 0;
- X pPB.fileParam.ioFDirIndex = 0;
- X
- X err = PBGetFInfo(&pPB, false);
- X
- X if (err != noErr) {
- X SysBeep(1);
- X return -1;
- X }
- X
- X /* Type of file: either directory or regular file */
- X buf->st_mode = (pPB.fileParam.ioFlAttrib & ioDirMask) ? S_IFDIR : S_IFREG;
- X
- X /* last access time, modification time and creation time(?) */
- X buf->st_atime = buf->st_mtime = pPB.fileParam.ioFlMdDat;
- X buf->st_ctime = pPB.fileParam.ioFlCrDat;
- X /* inode number */
- X buf->st_ino = pPB.fileParam.ioFlNum + ((long)curVolume)<<16;
- X /* size of file - use only the data fork */
- X buf->st_size = pPB.fileParam.ioFlLgLen;
- X /* size of disk block */
- X {
- X ParamBlockRec hPB;
- X
- X hPB.volumeParam.ioCompletion = (ProcPtr)0;
- X hPB.volumeParam.ioNamePtr = (StringPtr)temp;
- X hPB.volumeParam.ioVRefNum = curVolume;
- X hPB.volumeParam.ioVolIndex = 0;
- X
- X err = PBGetVInfo(&hPB, false);
- X
- X if (err != noErr) {
- X SysBeep(1);
- X return -1;
- X }
- X
- X buf->st_blksize = hPB.volumeParam.ioVClpSiz;
- X }
- X
- X /* number of disk blocks used by file - includes resource fork */
- X buf->st_blocks = pPB.fileParam.ioFlPyLen/ buf->st_blksize +
- X pPB.fileParam.ioFlRPyLen/buf->st_blksize;
- X }
- X
- X return 0;
- X}
- X#else
- X#error 1
- X#endif
- END_OF_FILE
- if test 5884 -ne `wc -c <'MAC/macstat.c'`; then
- echo shar: \"'MAC/macstat.c'\" unpacked with wrong size!
- fi
- # end of 'MAC/macstat.c'
- fi
- if test -f 'MSDOS/bcc/unzip.prj.uu' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'MSDOS/bcc/unzip.prj.uu'\"
- else
- echo shar: Extracting \"'MSDOS/bcc/unzip.prj.uu'\" \(9234 characters\)
- sed "s/^X//" >'MSDOS/bcc/unzip.prj.uu' <<'END_OF_FILE'
- Xbegin 666 MSDOS/bcc/unzip.prj
- XM5'5R8F\@0R!0<F]J96-T($9I;&4@&@ !#1(7 1H 0<R $ 'R0 " $ R@ "
- XM RP " $ S " $ S0 " ( S@ " SP " T " T0 "
- XMT@ " $ TP " $ U " , U@ " $ UP " $ \0 ! #R $ /, 0 !
- XM] ! 'U $ ?8 @ @/< 0 ^ ! #Y $ /H @ (+ $ @ OL
- XM 0 _ ! '] $ /X 0 _P ! 0$ 0$! 0 P$! $$ 0$ 4!
- XM 0 !@$! $' 0$ &0@! 0!D"0$! " * 0$ L! 0 # $! - 0$ X!
- XM 0 #P$! 0 0$ !$! 0 $@$! 3 0$ !0! 0 %0$! $6 0$ !<!
- XM @ @!@! 0 &0$" &@$! ; 0$ !P! 0 !'0$! > 0$ Q\! 0 !
- XM( $! B 0$ ",! 0 ) $! E 0$ "8! @#_?R<! K 0( !9 @$
- XM 6L" 0 6@(! %; @$ 5P" 0 !70(! %> @$ 5\" 0 !8 (! %A @$
- XM 6(" 0 !8P(! %D @$ 64" 0 !9@(! %G @$ 6@" 0 :0(! %L @$
- XM 6T" 0 !;@(! %O @$ 7 " 0 !<0(! %R @$ 7," 0 != (! %U @$
- XM '8" 0 !=P(! %X @$ 7D" 0 !>@(! %[ @$ 7P" 0 C@(! %] @$
- XM 7X" 0 !?P(! & @$ 8$" 0 !@@(! @$ 80" 0 !A0(! && @$
- XM 8<" 0 !B (! &) @$ 8H" 0 !BP(! &, @$ 8T" 0 !CP(! &0 @$
- XM 9$" 0 !D@(! &3 @$ 2T!1
- XM "X!
- XM@ !#.EQ"3U),04Y$7$E.0TQ51$4
- XM
- XM "\!@ !#
- XM.EQ"3U),04Y$7$Q)0@
- XM
- XM # !! S,@
- XM,0$% #(U ,@$% #$P, ,P%_ !?35-#
- XM
- XM
- XM T 1X *@
- XM -0$> "H #8!'@ J
- XM W 1X *@
- XM . $> "H
- XM #D!'@ J Z 1X *@
- XM .P$> "H
- XM #P!'@ J
- XM ] 1X *@ /@$> "H
- XM #\!'@ J
- XM ! 8
- XM
- XM
- XM !$ 0@ ,S(W-C< !% 0@ .#$Y,@ !& 7\
- XM
- XM
- XM $,!!0 N0P /__
- XM S 8 0# 6&<8"@#5" !^1U)%4
- XM 9W)E<
- XM
- XM M;BL@)$U%32@V-"D@)$Y/4U=!4" D4%)/35!4("1#05 @35-'*$=215 R
- XM35-'*79O:60@*BYC(
- XM
- XM
- XM ,C_ 7Y4=7)B;R!!<W-E;6)L97(
- XM !405--
- XM
- XM "]-6" O6DD@+T\@)%1!4TT
- XM
- XM
- XM
- XM R?\ 5'5R8F\@?D1E8G5G
- XM9V5R '1D
- XM
- XM )$5814Y!344
- XM
- XM
- XM
- XM #*_P!4=7)B
- XM;R!^4')O9FEL97( ='!R;V8
- XM
- XM D15A%3D%-10
- XM
- XM
- XM
- XM
- XM ,O_ 5)^97-O=7)C92!#;VUP:6QE<@ !2
- XM0P
- XM "120P
- XM
- XM
- XM
- XM
- XM S/\!?DEM<&]R="!,:6)R87)I86X
- XM $E-4$Q)0@
- XM )$E-
- XM4$Q)0@
- XM
- XM
- XM
- XM #-____
- XM
- XM
- XM
- XM
- XM
- XM
- XM -0#. P $@ E<D@8S1D )25
- XM "[!@ 54Y:25 N0P!53EI)4"Y#
- XM " ,
- XM! * (0 C5F<8X 0 H! #] @ 1DE,15])3RY# $Q%7TE/+D,
- XM
- XM % 8 !P ) ( H5F<89 ( )8 Y 0 34%0
- XM3D%-12Y# %!.04U%+D,
- XM + P #0 ( % L
- XM5F<82 ( !< #+ 34%40T@N0P!-051#2"Y#
- XM
- XM . \ $ ' %@ S5F<8P@0 $\$ "9 @ 34E30RY# %Q-25-#
- XM+D,
- XM 1 !( $P & & X5F<88 4 !@&
- XM " 0 54Y)35!,3T0N0P!-4$Q/1"Y#
- XM 4 !4
- XM%@ % &@ ]5F<8H , "(# "^ 54Y214150T4N0P!%1%5#12Y#
- XM
- XM 7 !@ &0 $ ' !$5F<8:@, @ "S 54Y3
- XM2%))3DLN0P!(4DE.2RY#
- XM : !L ' #
- XM __________\ 15A44D%#5"Y# %1204-4+D,
- XM
- XM = !X 'P " " -@"1!2( #__X0%=P57!3<%%P7W!-,$L 2,!&\$
- XM4 0P! \$[@/- VD#6@/6 4L#<@$^ PX!,@.J "(#1@ 2 ___ @,Z IX"1@
- XM ! 'P!P7(05! EF&48!0 $! 7!@ $! 7!P $! 7" $! 7"0 $$T6
- XM"@ $! 7"P $! 7# $! 7#0 $! 7#@ $! 7#P $! 7$ $! 7$0
- XM$! 7__],(" @ 0 !T ]J)B%P0 )9AE& 4 ! 0%P8 ! 0%P< ! 0%P@
- XM ! 0%PD !!-%@H ! 0%PL ! 0%PP ! 0%PT ! 0%PX ! 0%P\ ! 0
- XM%Q ! 0%Q$ ! 0%___3" @( $ ; *6%01@$ "6891@% 0$!<& 0
- XM$!<' 0$!<( 0$!<) 0318* 0$!<+ 0$!<, 0$!<- 0$!<.
- XM 0$!</ 0$!<0 0$!<1 0$!?__TP@(" ! &0!,CF,8! EF&48
- XM!0 $! 7!@ $! 7!P $! 7" $! 7"0 $$T6"@ $! 7"P $! 7#
- XM$! 7#0 $! 7#@ $! 7#P $! 7$ $! 7$0 $! 7__],(" @ 0 !<
- XM;(Y!& 0 )9AE& 4 ! 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3%5$15Q#5%E0
- XM12Y( /\ $! 7+BY<0D]23$%.1%Q)3D-,541%7%]$1493+D@ _P 0$!<N+EQ"
- XM3U),04Y$7$E.0TQ51$5<4U1$24\N2 #_)9AE&%5.6DE0+D@ _WFV9AA53EI)
- XM4"Y# #< 70 @ 7 !; %H 60!8 %< ________5@!5 %0 4P!2 %$ 4 !/
- XM $X 30!, $L 2@!) $@ 1P!& $4 1 !# $( 0@
- X/ #__P
- X
- Xend
- END_OF_FILE
- if test 9234 -ne `wc -c <'MSDOS/bcc/unzip.prj.uu'`; then
- echo shar: \"'MSDOS/bcc/unzip.prj.uu'\" unpacked with wrong size!
- else
- echo shar: Uudecoding \"'MSDOS/bcc/unzip.prj.uu'\"
- cat MSDOS/bcc/unzip.prj.uu | uudecode
- if [ -f MSDOS/bcc/unzip.prj.uu ]; then
- rm MSDOS/bcc/unzip.prj.uu
- fi
- fi
- # end of 'MSDOS/bcc/unzip.prj.uu'
- fi
- if test -f 'MSDOS/bcc/zipinfo.prj.uu' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'MSDOS/bcc/zipinfo.prj.uu'\"
- else
- echo shar: Extracting \"'MSDOS/bcc/zipinfo.prj.uu'\" \(7442 characters\)
- sed "s/^X//" >'MSDOS/bcc/zipinfo.prj.uu' <<'END_OF_FILE'
- Xbegin 666 MSDOS/bcc/zipinfo.prj
- XM5'5R8F\@0R!0<F]J96-T($9I;&4@&@ !#1(7 1H 0<R $ 'R0 " $ R@ "
- XM RP " $ S " $ S0 " ( S@ " SP " T " T0 "
- XMT@ " $ TP " $ U " , U@ " $ UP " $ \0 ! #R $ /, 0 !
- XM] ! 'U $ ?8 @ @/< 0 ^ ! #Y $ /H @ (+ $ @ OL
- XM 0 _ ! '] $ /X 0 _P ! 0$ 0$! 0 P$! $$ 0$ 04!
- XM 0 !@$! $' 0$ &0@! 0!D"0$! " * 0$ L! 0 # $! - 0$ X!
- XM 0 #P$! 0 0$ !$! 0 $@$! 3 0$ !0! 0 %0$! $6 0$ 1<!
- XM @ @!@! 0 &0$" &@$! ; 0$ !P! 0 !'0$! > 0$ Q\! 0 !
- XM( $! B 0$ ",! 0 ) $! E 0$ "8! @#_?R<! K 0( !9 @$
- XM 6L" 0 6@(! %; @$ 5P" 0 !70(! %> @$ 5\" 0 !8 (! %A @$
- XM 6(" 0 !8P(! %D @$ 64" 0 !9@(! %G @$ 6@" 0 :0(! %L @$
- XM 6T" 0 !;@(! %O @$ 7 " 0 !<0(! %R @$ 7," 0 != (! %U @$
- XM 78" 0 !=P(! %X @$ 7D" 0 !>@(! %[ @$ 7P" 0 !C@(! %] @$
- XM 7X" 0 !?P(! & @$ 8$" 0 !@@(! @$ 80" 0 !A0(! && @$
- XM 8<" 0 !B (! &) @$ 8H" 0 !BP(! &, @$ 8T" 0 !CP(! &0 @$
- XM 9$" 0 !D@(! &3 @$ 2T!1
- XM "X!
- XM@ !#.EQ"3U),04Y$7$E.0TQ51$4
- XM
- XM "\!@ !#
- XM.EQ"3U),04Y$7$Q)0@
- XM
- XM # !! S,@
- XM,0$% #(U ,@$% #$P, ,P%_ %I)4$E.1D\ 7U]-4T,
- XM
- XM
- XM T 1X *@
- XM -0$> "H #8!'@ J
- XM W 1X *@
- XM . $> "H
- XM #D!'@ J Z 1X *@
- XM .P$> "H
- XM #P!'@ J
- XM ] 1X *@ /@$> "H
- XM #\!'@ J
- XM ! 8
- XM
- XM
- XM !$ 0@ ,S(W-C< !% 0@ .#$Y,@ !& 7\
- XM
- XM
- XM $,!!0 N0P /__
- XM S 8 0!K6V<8"@#5" !^1U)%4
- XM 9W)E<
- XM
- XM M;BL@)$U%32@V-"D@)$Y/4U=!4" D4%)/35!4("1#05 @35-'*$=215 R
- XM35-'*79O:60@*BYC(
- XM
- XM
- XM ,C_ 7Y4=7)B;R!!<W-E;6)L97(
- XM !405--
- XM
- XM "]-6" O6DD@+T\@)%1!4TT
- XM
- XM
- XM
- XM R?\ 5'5R8F\@?D1E8G5G
- XM9V5R '1D
- XM
- XM )$5814Y!344
- XM
- XM
- XM
- XM #*_P!4=7)B
- XM;R!^4')O9FEL97( ='!R;V8
- XM
- XM D15A%3D%-10
- XM
- XM
- XM
- XM
- XM ,O_ 5)^97-O=7)C92!#;VUP:6QE<@ !2
- XM0P
- XM "120P
- XM
- XM
- XM
- XM
- XM S/\!?DEM<&]R="!,:6)R87)I86X
- XM $E-4$Q)0@
- XM )$E-
- XM4$Q)0@
- XM
- XM
- XM
- XM #-____
- XM
- XM
- XM
- XM
- XM
- XM
- XM -0!& 0 %P!26V<8X!< +L4
- XM !0!0 6DE024Y&3RY# %!)3D9/+D,
- XM " ,
- XM! $ $P!:6V<83 ( !< #+ 34%40T@N0P!-051#2"Y#
- XM
- XM % 8 !P # %0!D6V<8]@, &H "Q @ 34E3
- XM0RY# %Q-25-#+D,
- XM ( D "@ " " -@ ]
- XM Q@ #__RX#(0,! ^$"P0*A GT"6@(V O__&0+Z =H!N0&8 7<!E@!J 3(
- XM7@'Z #( 0 !8 3(YC& 0 )9AE& 4 ! 0%P8 ! 0%P< ! 0%P@ ! 0
- XM%PD !!-%@H ! 0%PL ! 0%PT ! 0%PX ! 0%P\ ! 0%Q ! 0%Q$
- XM ! 0%Q( ! 0%___ P $ 4 &R.01@$ "6891@% 0$!<& 0$!<'
- XM 0$!<( 0$!<) 0318* 0$!<+ 0$!<- 0$!<. 0$!</ 0
- XM$!<0 0$!<1 0$!<2 0$!?__P , ! P *%608! EF&48!0
- XM$! 7!@ $! 7!P $! 7" $! 7"0 $$T6"@ $! 7"P $! 7#0 $! 7
- XM#@ $! 7#P $! 7$ $! 7$0 $! 7$@ $! 7__\ #______]-25-#
- XM+D, ______]-051#2"Y# /______+BY<0D]23$%.1%Q)3D-,541%7$Q)34E4
- XM4RY( /______+BY<0D]23$%.1%Q)3D-,541%7%-44DE.1RY( /______+BY<
- XM0D]23$%.1%Q)3D-,541%7%-41$Q)0BY( /______+BY<0D]23$%.1%Q)3D-,
- XM541%7$9#3E1,+D@ ______\N+EQ"3U),04Y$7$E.0TQ51$5<5$E-12Y( /__
- XM____+BY<0D]23$%.1%Q)3D-,541%7$E/+D@ ______\N+EQ"3U),04Y$7$E.
- XM0TQ51$5<4UE37%1)345"+D@ ______\N+EQ"3U),04Y$7$E.0TQ51$5<4UE3
- XM7%-4050N2 #______RXN7$)/4DQ!3D1<24Y#3%5$15Q365-<5%E015,N2 #_
- XM_____RXN7$)/4DQ!3D1<24Y#3%5$15Q%4E).3RY( /______+BY<0D]23$%.
- XM1%Q)3D-,541%7$-465!%+D@ ______\N+EQ"3U),04Y$7$E.0TQ51$5<7T1%
- XM1E,N2 #______RXN7$)/4DQ!3D1<24Y#3%5$15Q35$1)3RY( /______54Y:
- XM25 N2 #______UI)4$E.1D\N0P W "$ "P " 'P > !T ' ; !H &0 8
- X0 !@ __\ $\N
- X
- Xend
- END_OF_FILE
- if test 7442 -ne `wc -c <'MSDOS/bcc/zipinfo.prj.uu'`; then
- echo shar: \"'MSDOS/bcc/zipinfo.prj.uu'\" unpacked with wrong size!
- else
- echo shar: Uudecoding \"'MSDOS/bcc/zipinfo.prj.uu'\"
- cat MSDOS/bcc/zipinfo.prj.uu | uudecode
- if [ -f MSDOS/bcc/zipinfo.prj.uu ]; then
- rm MSDOS/bcc/zipinfo.prj.uu
- fi
- fi
- # end of 'MSDOS/bcc/zipinfo.prj.uu'
- fi
- if test -f 'VMS/bilf/bilf.exe.uu' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'VMS/bilf/bilf.exe.uu'\"
- else
- echo shar: Extracting \"'VMS/bilf/bilf.exe.uu'\" \(7798 characters\)
- sed "s/^X//" >'VMS/bilf/bilf.exe.uu' <<'END_OF_FILE'
- Xbegin 666 VMS/bilf/bilf.exe
- XMJ P $0 6 ,#(P-0$! #__________P H !/6@O20
- XM$@ :-_^?P ( + $ 1"
- XM24Q& $5C$N,
- XM 8! ]:"])E %,#4M,#4 $ # $ "*
- XM @ ! !0 $ @ 4 0 $ "0 H$ * # 4 .S_/P",
- XM #]( $ A # , 0+5D%80U)43%\P,#$? +X "$
- XM , #@ 0I,24)25$Q?,# Q'P". A # R ($*351(
- XM4E1,7S P,0 ________________________________________________
- XM____________________________________________________________
- XM____________________________________________________________
- XM____________________________________________________________
- XM______________________]"24Q&('9E<G-I;VX@,2XP,"!F;W(@5D%8+U9-
- XM4R!B>2!286AU;"!$:&5S:2 H,3DX-R\P-R\R-2D*"@ H0RD@0V]P>7)I9VAT
- XM(#$Y.#<@4F%H=6P@1&AE<VDL("!!;&P@4FEG:'1S(%)E<V5R=F5D"@!097)M
- XM:7-S:6]N('1O('5S92!A;F0@9&ES=')I8G5T92!I<R!G<F%N=&5D('!R;W9I
- XM9&5D('1H:7,@8V]P>7)I9VAT"@!N;W1I8V4@:7,@<')E<V5R=F5D(&%N9"!I
- XM;F-L=61E9"!I;B!A;&P@8V]P:65S+@H* %5S86=E.B @0DE,1BR86-E<RX@($EF(&]U=&9I;&4@:7,@;F]T('-U<'!L:65D"@!I
- XM="!H87,@=&AE('-A;64@;F%M92!A<R!I;F9I;&4@8G5T(&$@:&EG:&5R('9E
- XM<G-I;VX@;G5M8F5R+@H 3W!T:6]N<R!A<F4Z"@H ;#H@(%=R:71E(&]U='!U
- XM="!F:6QE(&EN('-T<F5A;2U,1B!F;W)M870N("!4:&ES(&ES('1H92!F;W)M
- XM870@=&AA= H (" @('IO;R!E>'!E8W1S(&%L;"!Z;V\@87)C:&EV97,@=&\@
- XM8F4@:6XN("!)9B!A('IO;R!A<F-H:79E('=A<PH (" @('5P;&]A9&5D('1O
- XM(&$@5D%8+U9-4R!S>7-T96TL(&ET('=I;&P@;F5E9"!T;R!B92!C;VYV97)T
- XM960@=&\* " @("!S=')E86TM3$8@9F]R;6%T(&)E9F]R92!M86YI<'5L871I
- XM;F<@=VET:"!Z;V\N"@H 8CH@(%=R:71E(&]U='!U="!F:6QE(&EN(&9I>&5D
- XM+6QE;F=T:" U,3(M8GET92!B:6YA<GD@<F5C;W)D(&9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CP @?MT!W\W\W_L$_U0& #0
- XM4%(4T]U5^P'_.@8 -U4^P'_,08 -%2C_____\2!,X!4 344 0!! #""%[=
- XMK 3[ ?\)!@ UE#=4/L!__H% #04%(3$-VL!-U2^P+_\04 -!24 344 35
- XM4'P GJZT7I[O>/7__U/= -VL"/L"_[\% #04%;15H______$P,QQ@":CV:N
- XM1-[#3P14T*P(4I&N1(]E$PZ1KD2/=Q,'D:Y$CV82"]_#G 3[ ?^J!0 F*Y$
- XM4,]0CV4 2,@!2 &( 8@!B &( 8@!B &( 8@!B &( 8@!B &( 8@!B &(
- XM0@ 1.M50%^_R^O\_U5#?PZ,$^P'_804 !$RU5 !W\.K!/L!_U$% 1(M50
- XM =_#M03[ ?]!!0 $1+54 '?P[T$FH]F?OL"[VD" #=4MU4^P+_(@4 )&N
- XM1(]F$@G=+/L!_P(% #?PW4$W\-M!-T W:P$^P3_V@0 -!05-%4C_____\3
- XM S'% )J/9JY WL-]!%70K 12D:Y CV43#I&N0(]W$P>1KD"/9A(+W\.<!/L!
- XM_\$$ "8KD!0SU"/90 !(Q %$ 80!A &$ 80!A &$ 80!A &$ 80!A &$
- XM80!A &$ 80!! !$Y 1?O"OK_/]50W\.C!/L!_WD$ 1,M50 =_#JP3[ ?]I
- XM! $2+54 '?P[4$^P'_600 !$2U5 !W\.]!)J/9G[[ N^! 0 W5+=5?L"
- XM_SH$ "1KD"/9A()W2S[ ?\:! W5;=5/L"[QL #04%+=5OL!__\# #=
- XM5/L!__8# #04E $U5#\ Y[.^/U>U%B>_\4# !7T*P(5M[-_/UNWFY9/(\
- XM E744M55%48!PU)55-U4GT*^!-U6^P-GT%!3$@[=5)]"O@3=5OL#9]!04]53
- XM$Q_14X______$@7. 5(1 \!34M%2C_____\3!=%251F[T%)4%4[15(\ @
- XM&!_05%#14(\ @ &!$!E$#-_/W64-%0CP " 9\-98/(\ G[?S?S]W:P$
- XM^P/_*P, -!05-%4C_____\3!]58$@,Q4/_15(______$@3. 5 $U% $_ '"
- XM!%[44]ZL#%714V486=ZL"%30I !8WLP$ %>>_^$" !6PU-E?I]#:-UG^P-F
- XMT%!2$A##4V5^GT.T -UG^P-FT%!2U5(3(-%2C_____\2!LX!4Q$$ <!24]%3
- XMC_____\3!=%391F[T%-0!-50 00 PB!>GN\]\O__4I"L!%"14(]E$PR14(]W
- XM$P:14(]F$@O?PIP$^P'_EP( )BL!%#/4(]E $C, 4P!C &, 8P!C &,
- XM8P!C &, 8P!C &, 8P!C &, 8P!C $, $3O54 $7[][W_S_54-_"HP3[ ?]-
- XM @ $3+54 '?PJL$^P'_/0( !$BU5 !W\*U!/L!_RT" 1$M50 =_"O02:
- XMCV9^^P+O5?___]VL#-VL"/L"_PP" "1K 2/9A()W2S[ ?_L 0 !
- XM
- XM
- XM
- XM
- XM
- XM
- XM
- XM
- XM ! 0 "( E
- XM 0 \ !
- XM"@ "0! !D 0 ] !P #\ P G ( (P" 4 S $ &P ",
- XM M 0! #$ @ $ $ 0 -
- XM !
- XM '5D%80U)43
- XM
- XM !DQ)0E)43
- XM 9-5$A25$P
- XM
- XM
- XM +O ' !$))
- XM3$8+O@ " !&UA:6X&OP 8 @ $+X & H EC=G1S=')E86T&OP O @
- XM#;X 2 P 9S=')D=7 &OP R #;X ? P 9C=G1B:6X&OP#Z 0 #KX
- XM> X =C;VYV97)T!K\ T Z^ $@/ '=FUS<F5A9 :_ &T /O@"X
- XM#P "'!R=&5R<F]R!K\ R0 FY"8<#$ ( "TN0 "!^WQ]/KZ^?GY^?GY
- XM^?GY^?GY^?GW @$ ^ (!_ (!^M+U_/[^ @'\^O+V\OP!Q@#W\?<"!?L"!?+O
- XM^P'& ._[ @$!Q@#F @'3[O?\ /T"!?\" OOH_O3\ /T"(/X" O/Q] '& .GT
- XM <4 \O?W_ ('_@(#^?[YH/X @'W\_#^ .KW /GW_ #] @8 @7[_N/Q_O#\
- XM /?]_?WR_ ("_0("].H" ?7!\/#P\0(! //Y]PX! ;T
- XM
- XM
- XM
- X'
- X
- Xend
- END_OF_FILE
- if test 7798 -ne `wc -c <'VMS/bilf/bilf.exe.uu'`; then
- echo shar: \"'VMS/bilf/bilf.exe.uu'\" unpacked with wrong size!
- else
- echo shar: Uudecoding \"'VMS/bilf/bilf.exe.uu'\"
- cat VMS/bilf/bilf.exe.uu | uudecode
- if [ -f VMS/bilf/bilf.exe.uu ]; then
- rm VMS/bilf/bilf.exe.uu
- fi
- fi
- # end of 'VMS/bilf/bilf.exe.uu'
- fi
- if test -f 'zipinfo.1' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'zipinfo.1'\"
- else
- echo shar: Extracting \"'zipinfo.1'\" \(5963 characters\)
- sed "s/^X//" >'zipinfo.1' <<'END_OF_FILE'
- X.TH unzip 1 "ZipInfo version 0.96"
- X.SH NAME
- Xzipinfo - list detailed information about a ZIP archive file
- X.SH SYNOPSIS
- Xzipinfo [-1lv] file[.zip] [filespec...]
- X.SH ARGUMENTS
- X.in +12
- X.ti -12
- Xfile[.zip] Path of the ZIP archive. The suffix ``.zip'' is applied
- Xif the file specified does not exist. Note that
- Xself-extracting ZIP files are supported; just specify
- Xthe ``.exe'' suffix yourself.
- X.sp 1
- X.ti -12
- X[filespec] An optional list of archive members to be processed.
- XExpressions may be used to match multiple members; be sure to quote
- Xexpressions that contain characters interpreted by the UNIX shell. See
- XPATTERN MATCHING (below) for more details.
- X.SH OPTIONS
- X.nf
- X -1 list filenames only, one per line (useful for pipes)
- X -l list files in Unix "ls -l" format: default
- X -v list files in verbose, multi-page format
- X.fi
- X.SH DESCRIPTION
- X.B ZipInfo
- Xlists technical information about a ZIP archive, including information
- Xfile access permissions, encryption status, type of compression, version
- Xand operating system of compressing program, and the like. The default
- Xoption is to list files in the following format:
- X.sp 1
- X.nf
- X.ti -5
- X-rw-rwl--- 1.5 unx 2802 t- 538 defX 11-Aug-91 13:48 perms.2660
- X.fi
- X.sp 1
- XThe last three fields are clearly the modification date and time of
- Xthe file, and its name. The case of the filename is respected; thus
- Xfiles which come from MS-DOS are always capitalized. If the file was
- Xzipped with a stored directory name, that is also displayed as part of
- Xthe filename.
- X.sp 1
- XThe second and third fields indicate that the file was zipped under
- XUnix with version 1.5 of zip (not available, so don't ask--this is
- Xjust an example). Since it comes from Unix, the file permissions at
- Xthe beginning of the line are printed in Unix format. The uncompressed
- Xfile-size (2802 in this example) is the fourth field, and the compressed
- Xfile-size is the sixth (538).
- X.sp 1
- XThe fifth field consists of two characters, either of which may take
- Xon several values. The first character may be either `t' or `b', indicating
- Xthat zip believes the file to be text or binary, respectively; but if the
- Xfile is encrypted,
- X.B ZipInfo
- Xnotes this fact by capitalizing the character (`T' or `B'). The second
- Xcharacter may also take on four values, depending on whether there is
- Xan extended local header and/or an ``extra field'' associated with the
- Xfile (explained in PKWare's APPNOTE.TXT). If neither exists, the character
- Xwill be a hyphen (`-'); if there is an extended local header but no extra
- Xfield, `l'; if the reverse, `x'; and if both exist, `X'. Thus the
- Xfile in this example is (apparently) a text file, is not encrypted, and
- Xhas neither an extra field nor an extended local header associated with it.
- XThe example below, on the other hand, is an encrypted binary file with an
- Xextra field:
- X.sp 1
- X.nf
- X.ti -5
- XRWD,R,R 0.9 vms 168 Bx 165 shrk 9-Aug-91 19:15 perms.0644
- X.fi
- X.sp 1
- XExtra fields are used by PKWare for authenticity verification (?) and
- Xpossibly other purposes, and by an upcoming release of Info-ZIP's zip
- Xfor VMS (to store file attributes). This example presumably falls into
- Xthe latter class, then. Note that the file attributes are listed in
- XVMS format. Other possibilities for the host operating system are
- XOS/2 with High Performance File System
- X(HPFS), and DOS or OS/2 with File Allocation Table (FAT) file system, denoted
- Xas follows:
- X.sp 1
- X.nf
- X.ti -5
- Xarc,hid,rdo,sys dos 4096 b- 2334 i4:2 14-Jul-91 12:58 EA DATA. SF
- X.ti -5
- Xarc,,rw, 1.0 os2 5358 Tl 1914 i4:3 4-Dec-91 11:33 longfilename.hpfs
- X.fi
- X.sp 1
- XFile attributes in both of these cases are indicated in a DOS-like format,
- Xwhere the file may or may not have its archive bit set; may be hidden or not;
- Xmay be read-write or read-only; and may be a system file or not. If the
- Xattributes are too long, the version number of the encoding software is
- Xomitted. (The information is still available in the verbose listing,
- Xhowever.)
- X.sp 1
- XFinally, the seventh field indicates
- Xthe compression method and possible sub-method used. There are six methods
- Xknown at present: storing (no compression), reducing, shrinking, imploding,
- Xtokenizing, and deflating. In addition, there are four levels of reducing
- X(1 through 4); four types of imploding (4K or 8K sliding dictionary, and
- X2 or 3 Shannon-Fano trees); and three levels of deflating (fast, normal,
- Xmaximum compression).
- X.B ZipInfo
- Xrepresents these methods and their sub-methods as follows: ``stor'';
- X``re:1,'' ``re:2,'' etc.; ``shrk''; ``i4:2,'' ``i8:3,'' etc.; ``tokn'';
- Xand ``defF,'' ``defN,'' and ``defX.''
- X.sp 1
- XThe verbose listing is self-explanatory. It also lists file comments and
- Xthe zipfile comment, if any.
- X.SH PATTERN MATCHING
- XAll archive members are listed unless a
- X.B filespec
- Xis provided to specify a subset of the archive members.
- XThe
- X.B filespec
- Xis similar to an egrep expression, and may contain:
- X.sp 1
- X.in +8
- X.ti -8
- X* matches a sequence of 0 or more characters
- X.ti -8
- X? matches exactly 1 character
- X.ti -8
- X\\nnn matches the character having octal code nnn
- X.ti -8
- X[...] matches any single character found inside the brackets; ranges
- Xare specified by a beginning character, a hyphen, and an ending
- Xcharacter. If a '!' follows the left bracket, then the range
- Xof characters matched is complemented with respect to the ASCII
- Xcharacter set.
- X.SH TIPS
- XThe author finds it convenient to set up an alias ``ii'' for
- X.B ZipInfo
- Xon systems which allow aliases, or else to set up a batch file ``ii.bat''
- Xor to rename the executable to ``ii.exe'' on systems such as MS-DOS which
- Xhave no provision for aliases. The ``ii'' usage parallels the common
- X``ll'' alias for long listings in Unix, and the similarity between the
- Xoutputs of the two commands was intentional.
- X.SH AUTHOR
- XGreg Roelofs (also known as Cave Newt).
- X.B ZipInfo
- Xis partly based on
- XS. H. Smith's unzip and contains pattern-matching code from Thom
- XHenderson, but mostly it was written from scratch.
- END_OF_FILE
- if test 5963 -ne `wc -c <'zipinfo.1'`; then
- echo shar: \"'zipinfo.1'\" unpacked with wrong size!
- fi
- # end of 'zipinfo.1'
- fi
- if test -f 'zipinfo.man' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'zipinfo.man'\"
- else
- echo shar: Extracting \"'zipinfo.man'\" \(7007 characters\)
- sed "s/^X//" >'zipinfo.man' <<'END_OF_FILE'
- X
- X
- X
- Xunzip(1) USER COMMANDS unzip(1)
- X
- X
- X
- XNAME
- X zipinfo - list detailed information about a ZIP archive file
- X
- XSYNOPSIS
- X zipinfo [-1lv] file[.zip] [filespec...]
- X
- XARGUMENTS
- X file[.zip] Path of the ZIP archive. The suffix ``.zip'' is
- X applied if the file specified does not exist.
- X Note that self-extracting ZIP files are sup-
- X ported; just specify the ``.exe'' suffix your-
- X self.
- X
- X [filespec] An optional list of archive members to be pro-
- X cessed. Expressions may be used to match multi-
- X ple members; be sure to quote expressions that
- X contain characters interpreted by the UNIX
- X shell. See PATTERN MATCHING (below) for more
- X details.
- X
- XOPTIONS
- X -1 list filenames only, one per line (useful for pipes)
- X -l list files in Unix "ls -l" format: default
- X -v list files in verbose, multi-page format
- X
- XDESCRIPTION
- X ZipInfo lists technical information about a ZIP archive,
- X including information file access permissions, encryption
- X status, type of compression, version and operating system of
- X compressing program, and the like. The default option is to
- X list files in the following format:
- X
- X-rw-rwl--- 1.5 unx 2802 t- 538 defX 11-Aug-91 13:48 perms.2660
- X
- X The last three fields are clearly the modification date and
- X time of the file, and its name. The case of the filename is
- X respected; thus files which come from MS-DOS are always cap-
- X italized. If the file was zipped with a stored directory
- X name, that is also displayed as part of the filename.
- X
- X The second and third fields indicate that the file was
- X zipped under Unix with version 1.5 of zip (not available, so
- X don't ask--this is just an example). Since it comes from
- X Unix, the file permissions at the beginning of the line are
- X printed in Unix format. The uncompressed file-size (2802 in
- X this example) is the fourth field, and the compressed file-
- X size is the sixth (538).
- X
- X The fifth field consists of two characters, either of which
- X may take on several values. The first character may be
- X either `t' or `b', indicating that zip believes the file to
- X be text or binary, respectively; but if the file is
- X
- X
- X
- X ZipInfo version 0.96 1
- X
- X
- X
- X
- X
- X
- Xunzip(1) USER COMMANDS unzip(1)
- X
- X
- X
- X encrypted, ZipInfo notes this fact by capitalizing the char-
- X acter (`T' or `B'). The second character may also take on
- X four values, depending on whether there is an extended local
- X header and/or an ``extra field'' associated with the file
- X (explained in PKWare's APPNOTE.TXT). If neither exists, the
- X character will be a hyphen (`-'); if there is an extended
- X local header but no extra field, `l'; if the reverse, `x';
- X and if both exist, `X'. Thus the file in this example is
- X (apparently) a text file, is not encrypted, and has neither
- X an extra field nor an extended local header associated with
- X it. The example below, on the other hand, is an encrypted
- X binary file with an extra field:
- X
- XRWD,R,R 0.9 vms 168 Bx 165 shrk 9-Aug-91 19:15 perms.0644
- X
- X Extra fields are used by PKWare for authenticity verifica-
- X tion (?) and possibly other purposes, and by an upcoming
- X release of Info-ZIP's zip for VMS (to store file attri-
- X butes). This example presumably falls into the latter
- X class, then. Note that the file attributes are listed in
- X VMS format. Other possibilities for the host operating sys-
- X tem are OS/2 with High Performance File System (HPFS), and
- X DOS or OS/2 with File Allocation Table (FAT) file system,
- X denoted as follows:
- X
- Xarc,hid,rdo,sys dos 4096 b- 2334 i4:2 14-Jul-91 12:58 EA DATA. SF
- Xarc,,rw, 1.0 os2 5358 Tl 1914 i4:3 4-Dec-91 11:33 longfilename.hpfs
- X
- X File attributes in both of these cases are indicated in a
- X DOS-like format, where the file may or may not have its
- X archive bit set; may be hidden or not; may be read-write or
- X read-only; and may be a system file or not. If the attri-
- X butes are too long, the version number of the encoding
- X software is omitted. (The information is still available in
- X the verbose listing, however.)
- X
- X Finally, the seventh field indicates the compression method
- X and possible sub-method used. There are six methods known
- X at present: storing (no compression), reducing, shrinking,
- X imploding, tokenizing, and deflating. In addition, there
- X are four levels of reducing (1 through 4); four types of
- X imploding (4K or 8K sliding dictionary, and 2 or 3 Shannon-
- X Fano trees); and three levels of deflating (fast, normal,
- X maximum compression). ZipInfo represents these methods and
- X their sub-methods as follows: ``stor''; ``re:1,'' ``re:2,''
- X etc.; ``shrk''; ``i4:2,'' ``i8:3,'' etc.; ``tokn''; and
- X ``defF,'' ``defN,'' and ``defX.''
- X
- X The verbose listing is self-explanatory. It also lists file
- X comments and the zipfile comment, if any.
- X
- X
- X
- X
- X
- X ZipInfo version 0.96 2
- X
- X
- X
- X
- X
- X
- Xunzip(1) USER COMMANDS unzip(1)
- X
- X
- X
- XPATTERN MATCHING
- X All archive members are listed unless a filespec is provided
- X to specify a subset of the archive members. The filespec is
- X similar to an egrep expression, and may contain:
- X
- X * matches a sequence of 0 or more characters
- X ? matches exactly 1 character
- X \nnn matches the character having octal code nnn
- X [...] matches any single character found inside the brack-
- X ets; ranges are specified by a beginning character,
- X a hyphen, and an ending character. If a '!' follows
- X the left bracket, then the range of characters
- X matched is complemented with respect to the ASCII
- X character set.
- X
- XTIPS
- X The author finds it convenient to set up an alias ``ii'' for
- X ZipInfo on systems which allow aliases, or else to set up a
- X batch file ``ii.bat'' or to rename the executable to
- X ``ii.exe'' on systems such as MS-DOS which have no provision
- X for aliases. The ``ii'' usage parallels the common ``ll''
- X alias for long listings in Unix, and the similarity between
- X the outputs of the two commands was intentional.
- X
- XAUTHOR
- X Greg Roelofs (also known as Cave Newt). ZipInfo is partly
- X based on S. H. Smith's unzip and contains pattern-matching
- X code from Thom Henderson, but mostly it was written from
- X scratch.
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X
- X ZipInfo version 0.96 3
- X
- X
- X
- END_OF_FILE
- if test 7007 -ne `wc -c <'zipinfo.man'`; then
- echo shar: \"'zipinfo.man'\" unpacked with wrong size!
- fi
- # end of 'zipinfo.man'
- fi
- echo shar: End of archive 9 \(of 12\).
- cp /dev/null ark9isdone
- MISSING=""
- for I in 1 2 3 4 5 6 7 8 9 10 11 12 ; do
- if test ! -f ark${I}isdone ; then
- MISSING="${MISSING} ${I}"
- fi
- done
- if test "${MISSING}" = "" ; then
- echo You have unpacked all 12 archives.
- rm -f ark[1-9]isdone ark[1-9][0-9]isdone
- else
- echo You still must unpack the following archives:
- echo " " ${MISSING}
- fi
- exit 0
- exit 0 # Just in case...
-