home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume19 / unzip / part06 < prev    next >
Text File  |  1991-05-19  |  22KB  |  593 lines

  1. Newsgroups: comp.sources.misc
  2. From: David Kirschbaum <kirsch@usasoc.soc.mil>
  3. Subject:  v19i101:  unzip - Portable unzip v4.1, Part06/06
  4. Message-ID: <1991May20.012453.29432@sparky.IMD.Sterling.COM>
  5. X-Md4-Signature: b520f6251dcc798c5032106755e3b920
  6. Date: Mon, 20 May 1991 01:24:53 GMT
  7. Approved: kent@sparky.imd.sterling.com
  8.  
  9. Submitted-by: David Kirschbaum <kirsch@usasoc.soc.mil>
  10. Posting-number: Volume 19, Issue 101
  11. Archive-name: unzip/part06
  12. Supersedes: unzip-3.1: Volume 14, Issue 102-106
  13.  
  14. #! /bin/sh
  15. # into a shell via "sh file" or similar.  To overwrite existing files,
  16. # type "sh file -c".
  17. # The tool that generated this appeared in the comp.sources.unix newsgroup;
  18. # send mail to comp-sources-unix@uunet.uu.net if you want that tool.
  19. # Contents:  ./v41/ATARI_ST/MAKEIT ./v41/ATARI_ST/TCM
  20. #   ./v41/ATARI_ST/UNZIP.PRJ ./v41/MAC/macstat.h ./v41/MSDOS/UNZIP.PRJ
  21. #   ./v41/MSDOS/tcconfig.uue ./v41/OS2/Readme.os2 ./v41/OS2/unzip.def
  22. #   ./v41/VMS/DESCRIP.MMS ./v41/VMS/VMS_MAKE.COM ./v41/VMS/fatdef.h
  23. #   ./v41/VMS/fchdef.h ./v41/unzip41.descr
  24. # Wrapped by kent@sparky on Sun May 19 19:40:39 1991
  25. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  26. echo If this archive is complete, you will see the following message:
  27. echo '          "shar: End of archive 6 (of 6)."'
  28. if test -f './v41/ATARI_ST/MAKEIT' -a "${1}" != "-c" ; then 
  29.   echo shar: Will not clobber existing file \"'./v41/ATARI_ST/MAKEIT'\"
  30. else
  31.   echo shar: Extracting \"'./v41/ATARI_ST/MAKEIT'\" \(373 characters\)
  32.   sed "s/^X//" >'./v41/ATARI_ST/MAKEIT' <<'END_OF_FILE'
  33. Xtcc -DATARI_ST=1 -I=\tc\include unzip.c
  34. Xtcc -DATARI_ST=1 -I=\tc\include file_io.c
  35. Xtcc -DATARI_ST=1 -I=\tc\include mapname.c
  36. Xtcc -DATARI_ST=1 -I=\tc\include match.c
  37. Xtcc -DATARI_ST=1 -I=\tc\include misc.c
  38. Xtcc -DATARI_ST=1 -I=\tc\include unimplod.c
  39. Xtcc -DATARI_ST=1 -I=\tc\include unreduce.c
  40. Xtcc -DATARI_ST=1 -I=\tc\include unshrink.c
  41. Xtlink -O=unzip.prg  -S=4096 -C=tlink.opt
  42. END_OF_FILE
  43.   if test 373 -ne `wc -c <'./v41/ATARI_ST/MAKEIT'`; then
  44.     echo shar: \"'./v41/ATARI_ST/MAKEIT'\" unpacked with wrong size!
  45.   fi
  46.   # end of './v41/ATARI_ST/MAKEIT'
  47. fi
  48. if test -f './v41/ATARI_ST/TCM' -a "${1}" != "-c" ; then 
  49.   echo shar: Will not clobber existing file \"'./v41/ATARI_ST/TCM'\"
  50. else
  51.   echo shar: Extracting \"'./v41/ATARI_ST/TCM'\" \(50 characters\)
  52.   sed "s/^X//" >'./v41/ATARI_ST/TCM' <<'END_OF_FILE'
  53. Xsetenv PATH=e:\tc,$PATH
  54. Xmake -r -f makefile.st $*
  55. END_OF_FILE
  56.   if test 50 -ne `wc -c <'./v41/ATARI_ST/TCM'`; then
  57.     echo shar: \"'./v41/ATARI_ST/TCM'\" unpacked with wrong size!
  58.   fi
  59.   # end of './v41/ATARI_ST/TCM'
  60. fi
  61. if test -f './v41/ATARI_ST/UNZIP.PRJ' -a "${1}" != "-c" ; then 
  62.   echo shar: Will not clobber existing file \"'./v41/ATARI_ST/UNZIP.PRJ'\"
  63. else
  64.   echo shar: Extracting \"'./v41/ATARI_ST/UNZIP.PRJ'\" \(367 characters\)
  65.   sed "s/^X//" >'./v41/ATARI_ST/UNZIP.PRJ' <<'END_OF_FILE'
  66. X;>>>>>>> UNZIP.PRJ
  67. X
  68. XUNZIP.PRG
  69. X
  70. X=                  ; list of modules follows...
  71. X
  72. XTCSTART.O          ; startup code
  73. XUNZIP.C
  74. XFILE_IO.C
  75. XMAPNAME.C
  76. XMATCH.C
  77. XMISC.C
  78. XUNIMPLOD.C
  79. XUNREDUCE.C
  80. XUNSHRINK.C
  81. X
  82. XTCSTDLIB.LIB       ; standard library
  83. XTCEXTLIB.LIB       ; extended library
  84. XTCTOSLIB.LIB       ; TOS library
  85. X
  86. X;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  87. END_OF_FILE
  88.   if test 367 -ne `wc -c <'./v41/ATARI_ST/UNZIP.PRJ'`; then
  89.     echo shar: \"'./v41/ATARI_ST/UNZIP.PRJ'\" unpacked with wrong size!
  90.   fi
  91.   # end of './v41/ATARI_ST/UNZIP.PRJ'
  92. fi
  93. if test -f './v41/MAC/macstat.h' -a "${1}" != "-c" ; then 
  94.   echo shar: Will not clobber existing file \"'./v41/MAC/macstat.h'\"
  95. else
  96.   echo shar: Extracting \"'./v41/MAC/macstat.h'\" \(909 characters\)
  97.   sed "s/^X//" >'./v41/MAC/macstat.h' <<'END_OF_FILE'
  98. X/*****************************************************************
  99. X *
  100. X *                stat.h
  101. X *
  102. X *****************************************************************/
  103. X
  104. X#include <time.h>
  105. Xextern stat();
  106. Xtypedef long dev_t;
  107. Xtypedef long ino_t;
  108. Xtypedef long off_t;
  109. X
  110. Xstruct stat {
  111. X    dev_t    st_dev;
  112. X    ino_t    st_ino;
  113. X    unsigned short    st_mode;
  114. X    short    st_nlink;
  115. X    short    st_uid;
  116. X    short    st_gid;
  117. X    dev_t    st_rdev;
  118. X    off_t    st_size;
  119. X    time_t   st_atime, st_mtime, st_ctime;
  120. X    long     st_blksize;
  121. X    long     st_blocks;
  122. X};
  123. X
  124. X#define S_IFMT     0xF000
  125. X#define S_IFIFO    0x1000
  126. X#define S_IFCHR    0x2000
  127. X#define S_IFDIR    0x4000
  128. X#define S_IFBLK    0x6000
  129. X#define S_IFREG    0x8000
  130. X#define S_IFLNK    0xA000
  131. X#define S_IFSOCK   0xC000
  132. X#define S_ISUID    0x800
  133. X#define S_ISGID    0x400
  134. X#define S_ISVTX    0x200
  135. X#define S_IREAD    0x100
  136. X#define S_IWRITE   0x80
  137. X#define S_IEXEC    0x40
  138. END_OF_FILE
  139.   if test 909 -ne `wc -c <'./v41/MAC/macstat.h'`; then
  140.     echo shar: \"'./v41/MAC/macstat.h'\" unpacked with wrong size!
  141.   fi
  142.   # end of './v41/MAC/macstat.h'
  143. fi
  144. if test -f './v41/MSDOS/UNZIP.PRJ' -a "${1}" != "-c" ; then 
  145.   echo shar: Will not clobber existing file \"'./v41/MSDOS/UNZIP.PRJ'\"
  146. else
  147.   echo shar: Extracting \"'./v41/MSDOS/UNZIP.PRJ'\" \(159 characters\)
  148.   sed "s/^X//" >'./v41/MSDOS/UNZIP.PRJ' <<'END_OF_FILE'
  149. Xunzip.c        (unzip.h)
  150. Xmisc.c        (unzip.h)
  151. Xmapname.c    (unzip.h)
  152. Xmatch.c        (unzip.h)
  153. Xunshrink.c    (unzip.h)
  154. Xunreduce.c    (unzip.h)
  155. Xunimplod.c    (unzip.h)
  156. Xfile_io.c    (unzip.h)
  157. END_OF_FILE
  158.   if test 159 -ne `wc -c <'./v41/MSDOS/UNZIP.PRJ'`; then
  159.     echo shar: \"'./v41/MSDOS/UNZIP.PRJ'\" unpacked with wrong size!
  160.   fi
  161.   # end of './v41/MSDOS/UNZIP.PRJ'
  162. fi
  163. if test -f './v41/MSDOS/tcconfig.uue' -a "${1}" != "-c" ; then 
  164.   echo shar: Will not clobber existing file \"'./v41/MSDOS/tcconfig.uue'\"
  165. else
  166.   echo shar: Extracting \"'./v41/MSDOS/tcconfig.uue'\" \(2360 characters\)
  167.   sed "s/^X//" >'./v41/MSDOS/tcconfig.uue' <<'END_OF_FILE'
  168. Xbegin 640 TCCONFIG.TC
  169. XM5'5R8F\@0R!#;VYF:6=U<F%T:6]N($9I;&4@&@`!#1(7`1H``@$!``(````"
  170. XM``(``0`#``(``@`$``$```4``0``!@`!```(``$``0D``@````T``@`!``X`
  171. XM`@```!$``0`$$@`"````$P`"`!D`%``"``$`%0`"``$`%@`"``(`%P`"````
  172. XM&``"````9``!``%E``$``68``0`!9P`!``%H``$``6D``0`!:@`!``%K``$`
  173. XM`6P``0`!;0`!``%N``$``6\``0`!<``!``%Q``$``7(``0`!<P`!``%T``$`
  174. XM`74``0`!=@`!``%W``$``7@``0`!>0`!``%Z``$``7L``0``?``!``%]``$`
  175. XM`7X``0`!?P`!``&```$``8(``0``A``!``"%``$``<@``0``R0`!``'*``$`
  176. XM`<L``0`!S``!``'-``$``,X``0`!SP`!``#0``$`&=$``0!DT@`!`"#5``$`
  177. XM`-<``0``V``!``#9``$``=H``0`!VP`!``#<``$``-T``0`!W@`!``'?``$`
  178. XM`.```0``X0`!``#B``$``2P!1```````````````````````````````````
  179. XM`````````````````````````````````````````````````````````"T!
  180. XM@`!#.EQ40UQ)3D-,541%````````````````````````````````````````
  181. XM````````````````````````````````````````````````````````````
  182. XM`````````````````````````````````````````````````````"X!@`!#
  183. XM.EQ40UQ,24(`````````````````````````````````````````````````
  184. XM````````````````````````````````````````````````````````````
  185. XM`````````````````````````````````````````````````"\!4`!53EI)
  186. XM4"Y04DH`````````````````````````````````````````````````````
  187. XM`````````````````````````````````````````#`!!``S,@``,0$%`#(U
  188. XM````,@$%`#$P,```,P%_````````````````````````````````````````
  189. XM````````````````````````````````````````````````````````````
  190. XM````````````````````````````````````````````````````````````
  191. XM```````````T`1X`*@``````````````````````````````````````-0$>
  192. XM`"H``````````````````````````````````````#8!'@`J````````````
  193. XM```````````````````````````W`1X`*@``````````````````````````
  194. XM````````````.`$>`"H``````````````````````````````````````#D!
  195. XM'@`J```````````````````````````````````````Z`1X`*@``````````
  196. XM````````````````````````````.P$>`"H`````````````````````````
  197. XM`````````````#P!'@`J```````````````````````````````````````]
  198. XM`8``````````````````````````````````````````````````````````
  199. XM````````````````````````````````````````````````````````````
  200. XM```````````````````````````````````````````````````````^`00`
  201. XM-````#\!4```0U!)0TLN5$-0````````````````````````````````````
  202. XM`````````````````````````````````````````````````````````$`!
  203. XM1`!#.EQ40P``````````````````````````````````````````````````
  204. XM`````````````````````````````````$$!4`!53EI)4"Y#````````````
  205. XM````````````````````````````````````````````````````````````
  206. X9`````````````````````````/__`@`:````
  207. X`
  208. Xend
  209. END_OF_FILE
  210.   if test 2360 -ne `wc -c <'./v41/MSDOS/tcconfig.uue'`; then
  211.     echo shar: \"'./v41/MSDOS/tcconfig.uue'\" unpacked with wrong size!
  212.   fi
  213.   # end of './v41/MSDOS/tcconfig.uue'
  214. fi
  215. if test -f './v41/OS2/Readme.os2' -a "${1}" != "-c" ; then 
  216.   echo shar: Will not clobber existing file \"'./v41/OS2/Readme.os2'\"
  217. else
  218.   echo shar: Extracting \"'./v41/OS2/Readme.os2'\" \(1130 characters\)
  219.   sed "s/^X//" >'./v41/OS2/Readme.os2' <<'END_OF_FILE'
  220. X[Info-ZIP #127]
  221. XDate: Fri, 26 Apr 91 17:42:24 PDT
  222. XFrom: wbonner@yoda.eecs.wsu.edu (Wim Bonner)
  223. XSubject: Makefile Change for OS/2 (and addition of def file)
  224. X
  225. X[makefile changes posted]
  226. X
  227. XThe following are two lines which should be placed in a file called unzip.def
  228. Xfor the make file changes to work correctly.  They could be put in the make
  229. Xfile, and have the make file echo them to unzip.def if the system is being
  230. Xbuilt on OS/2, but that may be more complicated than simply including one
  231. Xmore file.  The description line is optional, but I thought that it might
  232. Xbe useful for something, perhaps a copyright statement?  I think it is what
  233. XWindows uses for descriptions when it searches a dos hard drive for programs
  234. Xto install.  It may be used in the future for OS/2 things, I don't know.
  235. X
  236. Xunzip.def: (The following two lines are for a Module Definition File)
  237. X
  238. XNAME Unzip WINDOWCOMPAT NEWFILES
  239. XDESCRIPTION 'any one line description can be placed here between single quotes'
  240. X-- 
  241. X|  wbonner@yoda.eecs.wsu.edu  | The Loft BBS
  242. X| 27313853@wsuvm1.csc.wsu.edu | (509)335-4339
  243. X|  72561.3135@CompuServe.com  | USR HST Dual Standard HST/V.32
  244. END_OF_FILE
  245.   if test 1130 -ne `wc -c <'./v41/OS2/Readme.os2'`; then
  246.     echo shar: \"'./v41/OS2/Readme.os2'\" unpacked with wrong size!
  247.   fi
  248.   # end of './v41/OS2/Readme.os2'
  249. fi
  250. if test -f './v41/OS2/unzip.def' -a "${1}" != "-c" ; then 
  251.   echo shar: Will not clobber existing file \"'./v41/OS2/unzip.def'\"
  252. else
  253.   echo shar: Extracting \"'./v41/OS2/unzip.def'\" \(92 characters\)
  254.   sed "s/^X//" >'./v41/OS2/unzip.def' <<'END_OF_FILE'
  255. XNAME Unzip WINDOWCOMPAT NEWFILES
  256. XDESCRIPTION 'The world-famous unzip utility from Info-ZIP'
  257. END_OF_FILE
  258.   if test 92 -ne `wc -c <'./v41/OS2/unzip.def'`; then
  259.     echo shar: \"'./v41/OS2/unzip.def'\" unpacked with wrong size!
  260.   fi
  261.   # end of './v41/OS2/unzip.def'
  262. fi
  263. if test -f './v41/VMS/DESCRIP.MMS' -a "${1}" != "-c" ; then 
  264.   echo shar: Will not clobber existing file \"'./v41/VMS/DESCRIP.MMS'\"
  265. else
  266.   echo shar: Extracting \"'./v41/VMS/DESCRIP.MMS'\" \(2209 characters\)
  267.   sed "s/^X//" >'./v41/VMS/DESCRIP.MMS' <<'END_OF_FILE'
  268. X! MMS description file for unzip.
  269. X!
  270. X!   From: AntonioQuerubin, Jr. <QUERUBIN@uhccvx.uhcc.hawaii.edu>
  271. X!   Date: Sun 23 Dec 90 13:49:55-HST
  272. X!
  273. X!   "The following is an MMS description file that works for unzip.  The UNIX 
  274. X!   makefile is much too different to be converted to work also with mms.  MMS 
  275. X!   will search for a file called DESCRIP.MMS before looking for MAKEFILE so 
  276. X!   you should be able to include this in the distribution as descrip.mms to 
  277. X!   avoid confusion."
  278. X
  279. X! To build unzip that uses shared libraries,
  280. X!    mms
  281. X! [For this to work, however, you presently need a separate file called
  282. X!   VMSSHARE.OPT, which is no longer included as a normal part of this pack-
  283. X!   age.  It's trivial to reconstruct, however; it contains the single line:
  284. X!    sys$share:vaxcrtl.exe/shareable
  285. X!   (not including the "! ").  One-time users will find it easier to use
  286. X!   the VMS_MAKE.COM command file; real MMS hacker-types can probably figure
  287. X!   out how to include the sys$share line within this file.  GRR, 1991.2.19]
  288. X
  289. X! To build unzip without shared libraries,
  290. X!    mms noshare
  291. X
  292. X! To delete unnecessary OBJ files,
  293. X!    mms clean
  294. X
  295. X! Toad Hall Note:  Jumping in where mortals fear to tread,
  296. X! I'm attempting to add the vms_attr.c stuff Cave Newt gleefully
  297. X! threw at me (and ran giggling away).
  298. X! Not having the *foggiest* idea about ANYTHING VMS-related ....
  299. X! Just look for the "vms_attr" stuff.
  300. X! David Kirschbaum
  301. X! Toad Hall
  302. X
  303. XCC = cc
  304. XCFLAGS =
  305. XLD = link
  306. XLDFLAGS =
  307. XEXE =
  308. XO = .obj;
  309. XOBJS = unzip$(O), file_io$(O), mapname$(O), match$(O), misc$(O), \
  310. X       unimplod$(O), unreduce$(O), unshrink$(O), vms_attr$(O)
  311. XLDFLAGS2 =
  312. X
  313. Xdefault :    $(OBJS), vmsshare.opt
  314. X    $(LD) $(LDFLAGS) $(OBJS), \
  315. X        vmsshare.opt/options, \
  316. X        sys$library:vaxcrtl.olb/library $(LDFLAGS2)
  317. X
  318. Xnoshare :    $(OBJS)
  319. X    $(LD) $(LDFLAGS) $(OBJS), \
  320. X        sys$library:vaxcrtl.olb/library $(LDFLAGS2)
  321. X
  322. Xclean :
  323. X    delete $(OBJS)    ! you may want to change this to 'delete *.obj;*'
  324. X
  325. Xvms_attr$(O):   fatdef.h fchdef.h fjndef.h
  326. Xfile_io$(O) :    file_io.c unzip.h
  327. Xmapname$(O) :    mapname.c unzip.h
  328. Xmatch$(O) :    match.c unzip.h
  329. Xmisc$(O) :    misc.c unzip.h
  330. Xunimplod$(O) :    unimplod.c unzip.h
  331. Xunreduce$(O) :    unreduce.c unzip.h
  332. Xunshrink$(O) :    unshrink.c unzip.h
  333. Xunzip$(O) :    unzip.c unzip.h
  334. END_OF_FILE
  335.   if test 2209 -ne `wc -c <'./v41/VMS/DESCRIP.MMS'`; then
  336.     echo shar: \"'./v41/VMS/DESCRIP.MMS'\" unpacked with wrong size!
  337.   fi
  338.   # end of './v41/VMS/DESCRIP.MMS'
  339. fi
  340. if test -f './v41/VMS/VMS_MAKE.COM' -a "${1}" != "-c" ; then 
  341.   echo shar: Will not clobber existing file \"'./v41/VMS/VMS_MAKE.COM'\"
  342. else
  343.   echo shar: Extracting \"'./v41/VMS/VMS_MAKE.COM'\" \(340 characters\)
  344.   sed "s/^X//" >'./v41/VMS/VMS_MAKE.COM' <<'END_OF_FILE'
  345. X$ !
  346. X$ !    "Makefile" for VMS version of unzip
  347. X$ !
  348. X$ set verify    ! like "echo on", eh?
  349. X$ define lnk$library sys$library:vaxcrtl.olb
  350. X$ cc unzip,file_io,VMS_attr,mapname,match,misc,unimplod,unreduce,unshrink
  351. X$ link unzip,file_io,VMS_attr,mapname,match,misc,unimplod,unreduce,unshrink,sys$input:/opt
  352. Xsys$share:vaxcrtl.exe/shareable
  353. X$ set noverify
  354. END_OF_FILE
  355.   if test 340 -ne `wc -c <'./v41/VMS/VMS_MAKE.COM'`; then
  356.     echo shar: \"'./v41/VMS/VMS_MAKE.COM'\" unpacked with wrong size!
  357.   fi
  358.   # end of './v41/VMS/VMS_MAKE.COM'
  359. fi
  360. if test -f './v41/VMS/fatdef.h' -a "${1}" != "-c" ; then 
  361.   echo shar: Will not clobber existing file \"'./v41/VMS/fatdef.h'\"
  362. else
  363.   echo shar: Extracting \"'./v41/VMS/fatdef.h'\" \(2069 characters\)
  364.   sed "s/^X//" >'./v41/VMS/fatdef.h' <<'END_OF_FILE'
  365. X/* This header file was created by Joe Meadows, and is not copyrighted
  366. X   in any way. No guarantee is made as to the accuracy of the contents
  367. X   of this header file. This header file was last modified on Sep. 22th,
  368. X   1987. (Modified to include this statement) */
  369. X#define FAT$K_LENGTH 32
  370. X#define FAT$C_LENGTH 32
  371. X#define FAT$S_FATDEF 32
  372. X
  373. Xstruct fatdef {
  374. X  union  {
  375. X    unsigned char fat$b_rtype;
  376. X    struct  {
  377. X      unsigned fat$v_rtype : 4;
  378. X      unsigned fat$v_fileorg : 4;
  379. X    } fat$r_rtype_bits;
  380. X  } fat$r_rtype_overlay;
  381. X# define FAT$S_RTYPE 4
  382. X# define FAT$V_RTYPE 0
  383. X#   define FAT$C_UNDEFINED 0
  384. X#   define FAT$C_FIXED 1
  385. X#   define FAT$C_VARIABLE 2
  386. X#   define FAT$C_VFC 3
  387. X#   define FAT$C_STREAM 4
  388. X#   define FAT$C_STREAMLF 5
  389. X#   define FAT$C_STREAMCR 6
  390. X# define FAT$S_FILEORG 4
  391. X# define FAT$V_FILEORG 4
  392. X#   define FAT$C_SEQUENTIAL 0
  393. X#   define FAT$C_RELATIVE 1
  394. X#   define FAT$C_INDEXED 2
  395. X#   define FAT$C_DIRECT 3
  396. X  union  {
  397. X    unsigned char fat$b_rattrib;
  398. X    struct  {
  399. X      unsigned fat$v_fortrancc : 1;
  400. X      unsigned fat$v_impliedcc : 1;
  401. X      unsigned fat$v_printcc : 1;
  402. X      unsigned fat$v_nospan : 1;
  403. X    } fat$r_rattrib_bits;
  404. X  } fat$r_rattrib_overlay;
  405. X#   define FAT$V_FORTRANCC 0
  406. X#   define FAT$M_FORTRANCC 1
  407. X#   define FAT$V_IMPLIEDCC 1
  408. X#   define FAT$M_IMPLIEDCC 2
  409. X#   define FAT$V_PRINTCC 2
  410. X#   define FAT$M_PRINTCC 4
  411. X#   define FAT$V_NOSPAN 3
  412. X#   define FAT$M_NOSPAN 8
  413. X  unsigned short int fat$w_rsize;
  414. X  union
  415. X  {
  416. X    unsigned long int fat$l_hiblk;
  417. X    struct
  418. X    {
  419. X      unsigned short int fat$w_hiblkh;
  420. X      unsigned short int fat$w_hiblkl;
  421. X    } fat$r_hiblk_fields;
  422. X  } fat$r_hiblk_overlay;
  423. X  union
  424. X  {
  425. X    unsigned long int fat$l_efblk;
  426. X    struct
  427. X    {
  428. X      unsigned short int fat$w_efblkh;
  429. X      unsigned short int fat$w_efblkl;
  430. X    } fat$r_efblk_fields;
  431. X  } fat$r_efblk_overlay;
  432. X  unsigned short int fat$w_ffbyte;
  433. X  unsigned char fat$b_bktsize;
  434. X  unsigned char fat$b_vfcsize;
  435. X  unsigned short int fat$w_maxrec;
  436. X  unsigned short int fat$w_defext;
  437. X  unsigned short int fat$w_gbc;
  438. X  char fat$fill[8];
  439. X  unsigned short int fat$w_versions;
  440. X};
  441. END_OF_FILE
  442.   if test 2069 -ne `wc -c <'./v41/VMS/fatdef.h'`; then
  443.     echo shar: \"'./v41/VMS/fatdef.h'\" unpacked with wrong size!
  444.   fi
  445.   # end of './v41/VMS/fatdef.h'
  446. fi
  447. if test -f './v41/VMS/fchdef.h' -a "${1}" != "-c" ; then 
  448.   echo shar: Will not clobber existing file \"'./v41/VMS/fchdef.h'\"
  449. else
  450.   echo shar: Extracting \"'./v41/VMS/fchdef.h'\" \(1746 characters\)
  451.   sed "s/^X//" >'./v41/VMS/fchdef.h' <<'END_OF_FILE'
  452. X/* This header file was created by Joe Meadows, and is not copyrighted
  453. X   in any way. No guarantee is made as to the accuracy of the contents
  454. X   of this header file. This header file was last modified on Sep. 22th,
  455. X   1987. (Modified to include this statement) */
  456. X
  457. X#define FCH$V_BADACL 0x00B
  458. X#define FCH$M_BADACL (1 << FCH$V_ACL)
  459. X#define FCH$V_BADBLOCK 0x00E
  460. X#define FCH$M_BADBLOCK (1 << FCH$V_BADBLOCK)
  461. X#define FCH$V_CONTIG 0x007
  462. X#define FCH$M_CONTIG (1 << FCH$V_CONTIG)
  463. X#define FCH$V_CONTIGB 0x005
  464. X#define FCH$M_CONTIGB (1 << FCH$V_CONTIGB)
  465. X#define FCH$V_DIRECTORY 0x00D
  466. X#define FCH$M_DIRECTORY (1 << FCH$V_DIRECTORY)
  467. X#define FCH$V_ERASE 0x011
  468. X#define FCH$M_ERASE (1 << FCH$V_ERASE)
  469. X#define FCH$V_LOCKED 0x006
  470. X#define FCH$M_LOCKED (1 << FCH$V_LOCKED)
  471. X#define FCH$V_MARKDEL 0x00F
  472. X#define FCH$M_MARKDEL (1 << FCH$V_MARKDEL)
  473. X#define FCH$V_NOBACKUP 0x001
  474. X#define FCH$M_NOBACKUP (1 << FCH$V_NOBACKUP)
  475. X#define FCH$V_NOCHARGE 0x010
  476. X#define FCH$M_NOCHARGE (1 << FCH$V_NOCHARGE)
  477. X#define FCH$V_READCHECK 0x003
  478. X#define FCH$M_READCHECK (1 << FCH$V_READCHECK)
  479. X#define FCH$V_SPOOL 0x00C
  480. X#define FCH$M_SPOOL (1 << FCH$V_SPOOL)
  481. X#define FCH$V_WRITCHECK 0x004
  482. X#define FCH$M_WRITCHECK (1 << FCH$V_WRITCHECK)
  483. X#define FCH$V_WRITEBACK 0x002
  484. X#define FCH$M_WRITEBACK (1 << FCH$V_WRITEBACK)
  485. X
  486. Xstruct fchdef  {
  487. X  unsigned : 1;
  488. X  unsigned fch$v_nobackup : 1 ;
  489. X  unsigned fch$v_writeback : 1;
  490. X  unsigned fch$v_readcheck : 1;
  491. X  unsigned fch$v_writcheck : 1;
  492. X  unsigned fch$v_contigb : 1;
  493. X  unsigned fch$v_locked : 1;
  494. X  unsigned fch$v_contig : 1;
  495. X  unsigned : 3;
  496. X  unsigned fch$v_badacl : 1;
  497. X  unsigned fch$v_spool : 1;
  498. X  unsigned fch$v_directory : 1;
  499. X  unsigned fch$v_badblock : 1;
  500. X  unsigned fch$v_markdel : 1;
  501. X  unsigned fch$v_nocharge : 1;
  502. X  unsigned fch$v_erase : 1;
  503. X};
  504. END_OF_FILE
  505.   if test 1746 -ne `wc -c <'./v41/VMS/fchdef.h'`; then
  506.     echo shar: \"'./v41/VMS/fchdef.h'\" unpacked with wrong size!
  507.   fi
  508.   # end of './v41/VMS/fchdef.h'
  509. fi
  510. if test -f './v41/unzip41.descr' -a "${1}" != "-c" ; then 
  511.   echo shar: Will not clobber existing file \"'./v41/unzip41.descr'\"
  512. else
  513.   echo shar: Extracting \"'./v41/unzip41.descr'\" \(2157 characters\)
  514.   sed "s/^X//" >'./v41/unzip41.descr' <<'END_OF_FILE'
  515. XUNZIP41.ZIP    Generic Unix unzip v4.1 for free public distribution
  516. XUNZIP41.ARC    Same as above, but .ARC format
  517. XUNZIP41.TAR-Z    Same as above, but compressed tar format
  518. XUNZ_41P.ZIP    Patches to create v4.1 from v4.07
  519. X
  520. XA public distribution version of the Info-ZIP project's generic
  521. XUnix unzip utility.
  522. X
  523. XThis version of unzip has been ported to a wide array of Unix and
  524. Xother mainframes, minis, and micros (to include MSDOS, Atari ST (kinda),
  525. Xand Macintosh).  Although highly compatible with Phil Katz's PKZIP
  526. Xand PKUNZIP utilities of MSDOS fame, our objective has been one of
  527. Xportability and other-than-MSDOS functionality.
  528. X
  529. XSee the Makefile (or the system-specific archives) for details on
  530. Xhow to compile for your system.
  531. X
  532. XSee unzip.1 or unzip.man for usage.  (No, there isn't a manual per se.
  533. XThere's plenty of space on the Info-ZIP staff for a volunteer!)
  534. X
  535. XIf you confirm a clean compile and execution on a unique system
  536. X(e.g., one different from those in the Makefile), please provide
  537. XInfo-ZIP via E-Mail with details as to your system type, any changes
  538. Xrequired, what Makefile system was used, etc.
  539. X
  540. XIf any changes are made to source, we'd appreciate them (context diff
  541. Xfiles only, please) with explanation as appropriate.
  542. X
  543. XAll E-Mail should go to Info-ZIP@WSMR-SIMTEL20.Army.Mil directly
  544. X(and not to me:  I'm only the Coordinator).  However, if you're
  545. Xrequesting something special (e.g., a copy of the "No Feelthy ..."
  546. Xrules for source and change submission), E-Mail me personally.
  547. X
  548. XInformation on commercial usage, licensing, etc. is NOT available.
  549. XWe at Info-ZIP are currently researching how to best handle this
  550. Xproblem.  (There are potential copyright problems.)  So don't bug us.
  551. XWe have little interest in commercial developers, and by Internet
  552. Xrules, are forbidden to discuss such filthy topics in any case.
  553. X
  554. XIf you'd like to keep up to date with our unzip (and companion zip
  555. Xutility) development, join the ranks of BETA testers, add your own
  556. Xthoughts and contributions, etc., send your request to
  557. X
  558. X Info-ZIP-Request@WSMR-SIMTEL20.Army.Mil
  559. X
  560. Xand Keith Petersen'll add you to the Info-ZIP newsletter mailing list.
  561. X
  562. XDavid Kirschbaum
  563. XInfo-ZIP Coordinator
  564. X
  565. END_OF_FILE
  566.   if test 2157 -ne `wc -c <'./v41/unzip41.descr'`; then
  567.     echo shar: \"'./v41/unzip41.descr'\" unpacked with wrong size!
  568.   fi
  569.   # end of './v41/unzip41.descr'
  570. fi
  571. echo shar: End of archive 6 \(of 6\).
  572. cp /dev/null ark6isdone
  573. MISSING=""
  574. for I in 1 2 3 4 5 6 ; do
  575.     if test ! -f ark${I}isdone ; then
  576.     MISSING="${MISSING} ${I}"
  577.     fi
  578. done
  579. if test "${MISSING}" = "" ; then
  580.     echo You have unpacked all 6 archives.
  581.     rm -f ark[1-9]isdone
  582. else
  583.     echo You still must unpack the following archives:
  584.     echo "        " ${MISSING}
  585. fi
  586. exit 0
  587. exit 0 # Just in case...
  588. -- 
  589. Kent Landfield                   INTERNET: kent@sparky.IMD.Sterling.COM
  590. Sterling Software, IMD           UUCP:     uunet!sparky!kent
  591. Phone:    (402) 291-8300         FAX:      (402) 291-4362
  592. Please send comp.sources.misc-related mail to kent@uunet.uu.net.
  593.