home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: SHell self-extracting ARchive
(archive/shar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| SHell self-extracting ARchive (archive/shar)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/329 Shell Archive Format
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 73 6f 75 72 63 65 73 | 2e 75 6e 69 78 0a 46 72 |.sources|.unix.Fr|
|00000020| 6f 6d 3a 20 6d 61 64 6c | 65 72 40 63 63 6f 2e 63 |om: madl|er@cco.c|
|00000030| 61 6c 74 65 63 68 2e 65 | 64 75 20 28 4d 61 72 6b |altech.e|du (Mark|
|00000040| 20 41 64 6c 65 72 29 0a | 53 75 62 6a 65 63 74 3a | Adler).|Subject:|
|00000050| 20 76 32 35 69 31 34 36 | 3a 20 7a 69 70 20 2d 20 | v25i146|: zip - |
|00000060| 66 69 6c 65 20 63 6f 6d | 70 72 65 73 73 69 6f 6e |file com|pression|
|00000070| 2f 61 72 63 68 69 76 65 | 20 74 6f 6f 6c 2c 20 50 |/archive| tool, P|
|00000080| 61 72 74 30 35 2f 30 37 | 0a 53 65 6e 64 65 72 3a |art05/07|.Sender:|
|00000090| 20 75 6e 69 78 2d 73 6f | 75 72 63 65 73 2d 6d 6f | unix-so|urces-mo|
|000000a0| 64 65 72 61 74 6f 72 40 | 70 61 2e 64 65 63 2e 63 |derator@|pa.dec.c|
|000000b0| 6f 6d 0a 41 70 70 72 6f | 76 65 64 3a 20 76 69 78 |om.Appro|ved: vix|
|000000c0| 69 65 40 70 61 2e 64 65 | 63 2e 63 6f 6d 0a 0a 53 |ie@pa.de|c.com..S|
|000000d0| 75 62 6d 69 74 74 65 64 | 2d 42 79 3a 20 6d 61 64 |ubmitted|-By: mad|
|000000e0| 6c 65 72 40 63 63 6f 2e | 63 61 6c 74 65 63 68 2e |ler@cco.|caltech.|
|000000f0| 65 64 75 20 28 4d 61 72 | 6b 20 41 64 6c 65 72 29 |edu (Mar|k Adler)|
|00000100| 0a 50 6f 73 74 69 6e 67 | 2d 4e 75 6d 62 65 72 3a |.Posting|-Number:|
|00000110| 20 56 6f 6c 75 6d 65 20 | 32 35 2c 20 49 73 73 75 | Volume |25, Issu|
|00000120| 65 20 31 34 36 0a 41 72 | 63 68 69 76 65 2d 4e 61 |e 146.Ar|chive-Na|
|00000130| 6d 65 3a 20 7a 69 70 2f | 70 61 72 74 30 35 0a 0a |me: zip/|part05..|
|00000140| 23 21 20 2f 62 69 6e 2f | 73 68 0a 23 20 54 68 69 |#! /bin/|sh.# Thi|
|00000150| 73 20 69 73 20 61 20 73 | 68 65 6c 6c 20 61 72 63 |s is a s|hell arc|
|00000160| 68 69 76 65 2e 20 20 52 | 65 6d 6f 76 65 20 61 6e |hive. R|emove an|
|00000170| 79 74 68 69 6e 67 20 62 | 65 66 6f 72 65 20 74 68 |ything b|efore th|
|00000180| 69 73 20 6c 69 6e 65 2c | 20 74 68 65 6e 20 75 6e |is line,| then un|
|00000190| 70 61 63 6b 0a 23 20 69 | 74 20 62 79 20 73 61 76 |pack.# i|t by sav|
|000001a0| 69 6e 67 20 69 74 20 69 | 6e 74 6f 20 61 20 66 69 |ing it i|nto a fi|
|000001b0| 6c 65 20 61 6e 64 20 74 | 79 70 69 6e 67 20 22 73 |le and t|yping "s|
|000001c0| 68 20 66 69 6c 65 22 2e | 20 20 54 6f 20 6f 76 65 |h file".| To ove|
|000001d0| 72 77 72 69 74 65 20 65 | 78 69 73 74 69 6e 67 0a |rwrite e|xisting.|
|000001e0| 23 20 66 69 6c 65 73 2c | 20 74 79 70 65 20 22 73 |# files,| type "s|
|000001f0| 68 20 66 69 6c 65 20 2d | 63 22 2e 20 20 59 6f 75 |h file -|c". You|
|00000200| 20 63 61 6e 20 61 6c 73 | 6f 20 66 65 65 64 20 74 | can als|o feed t|
|00000210| 68 69 73 20 61 73 20 73 | 74 61 6e 64 61 72 64 20 |his as s|tandard |
|00000220| 69 6e 70 75 74 20 76 69 | 61 0a 23 20 75 6e 73 68 |input vi|a.# unsh|
|00000230| 61 72 2c 20 6f 72 20 62 | 79 20 74 79 70 69 6e 67 |ar, or b|y typing|
|00000240| 20 22 73 68 20 3c 66 69 | 6c 65 22 2c 20 65 2e 67 | "sh <fi|le", e.g|
|00000250| 2e 2e 20 20 49 66 20 74 | 68 69 73 20 61 72 63 68 |.. If t|his arch|
|00000260| 69 76 65 20 69 73 20 63 | 6f 6d 70 6c 65 74 65 2c |ive is c|omplete,|
|00000270| 20 79 6f 75 0a 23 20 77 | 69 6c 6c 20 73 65 65 20 | you.# w|ill see |
|00000280| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 6d 65 |the foll|owing me|
|00000290| 73 73 61 67 65 20 61 74 | 20 74 68 65 20 65 6e 64 |ssage at| the end|
|000002a0| 3a 0a 23 09 09 22 45 6e | 64 20 6f 66 20 61 72 63 |:.#.."En|d of arc|
|000002b0| 68 69 76 65 20 35 20 28 | 6f 66 20 37 29 2e 22 0a |hive 5 (|of 7).".|
|000002c0| 23 20 43 6f 6e 74 65 6e | 74 73 3a 20 20 68 69 73 |# Conten|ts: his|
|000002d0| 74 6f 72 79 20 73 68 69 | 70 2e 63 0a 23 20 57 72 |tory shi|p.c.# Wr|
|000002e0| 61 70 70 65 64 20 62 79 | 20 76 69 78 69 65 40 63 |apped by| vixie@c|
|000002f0| 6f 67 6e 69 74 69 6f 6e | 2e 70 61 2e 64 65 63 2e |ognition|.pa.dec.|
|00000300| 63 6f 6d 20 6f 6e 20 53 | 75 6e 20 4d 61 72 20 20 |com on S|un Mar |
|00000310| 31 20 31 38 3a 35 37 3a | 33 38 20 31 39 39 32 0a |1 18:57:|38 1992.|
|00000320| 50 41 54 48 3d 2f 62 69 | 6e 3a 2f 75 73 72 2f 62 |PATH=/bi|n:/usr/b|
|00000330| 69 6e 3a 2f 75 73 72 2f | 75 63 62 20 3b 20 65 78 |in:/usr/|ucb ; ex|
|00000340| 70 6f 72 74 20 50 41 54 | 48 0a 69 66 20 74 65 73 |port PAT|H.if tes|
|00000350| 74 20 2d 66 20 27 68 69 | 73 74 6f 72 79 27 20 2d |t -f 'hi|story' -|
|00000360| 61 20 22 24 7b 31 7d 22 | 20 21 3d 20 22 2d 63 22 |a "${1}"| != "-c"|
|00000370| 20 3b 20 74 68 65 6e 20 | 0a 20 20 65 63 68 6f 20 | ; then |. echo |
|00000380| 73 68 61 72 3a 20 57 69 | 6c 6c 20 6e 6f 74 20 63 |shar: Wi|ll not c|
|00000390| 6c 6f 62 62 65 72 20 65 | 78 69 73 74 69 6e 67 20 |lobber e|xisting |
|000003a0| 66 69 6c 65 20 5c 22 27 | 68 69 73 74 6f 72 79 27 |file \"'|history'|
|000003b0| 5c 22 0a 65 6c 73 65 0a | 65 63 68 6f 20 73 68 61 |\".else.|echo sha|
|000003c0| 72 3a 20 45 78 74 72 61 | 63 74 69 6e 67 20 5c 22 |r: Extra|cting \"|
|000003d0| 27 68 69 73 74 6f 72 79 | 27 5c 22 20 5c 28 33 36 |'history|'\" \(36|
|000003e0| 38 32 35 20 63 68 61 72 | 61 63 74 65 72 73 5c 29 |825 char|acters\)|
|000003f0| 0a 73 65 64 20 22 73 2f | 5e 58 2f 2f 22 20 3e 27 |.sed "s/|^X//" >'|
|00000400| 68 69 73 74 6f 72 79 27 | 20 3c 3c 27 45 4e 44 5f |history'| <<'END_|
|00000410| 4f 46 5f 46 49 4c 45 27 | 0a 4e 6f 74 65 2c 20 74 |OF_FILE'|.Note, t|
|00000420| 68 69 73 20 68 69 73 74 | 6f 72 79 20 63 6f 6e 74 |his hist|ory cont|
|00000430| 61 69 6e 73 20 6d 61 69 | 6c 20 61 64 64 72 65 73 |ains mai|l addres|
|00000440| 73 65 73 20 61 6e 64 20 | 66 74 70 20 6c 6f 63 61 |ses and |ftp loca|
|00000450| 74 69 6f 6e 73 20 74 68 | 61 74 20 6e 6f 20 6c 6f |tions th|at no lo|
|00000460| 6e 67 65 72 0a 65 78 69 | 73 74 2c 20 73 75 63 68 |nger.exi|st, such|
|00000470| 20 61 73 20 61 64 64 72 | 65 73 73 65 73 20 61 74 | as addr|esses at|
|00000480| 20 77 73 6d 72 2d 73 69 | 6d 74 65 6c 32 30 20 61 | wsmr-si|mtel20 a|
|00000490| 6e 64 20 64 69 72 65 63 | 74 6f 72 79 20 6e 61 6d |nd direc|tory nam|
|000004a0| 65 73 20 63 6f 6e 74 61 | 69 6e 69 6e 67 0a 77 38 |es conta|ining.w8|
|000004b0| 73 64 7a 2c 20 61 6d 6f | 6e 67 20 6f 74 68 65 72 |sdz, amo|ng other|
|000004c0| 73 2e 20 20 46 6f 72 20 | 70 72 6f 62 6c 65 6d 73 |s. For |problems|
|000004d0| 2c 20 74 68 65 20 63 6f | 72 72 65 63 74 20 65 6d |, the co|rrect em|
|000004e0| 61 69 6c 20 61 64 64 72 | 65 73 73 20 69 73 0a 7a |ail addr|ess is.z|
|000004f0| 69 70 2d 62 75 67 73 40 | 63 73 2e 75 63 6c 61 2e |ip-bugs@|cs.ucla.|
|00000500| 65 64 75 2e 0a 58 0a 58 | 2d 2d 2d 2d 2d 2d 2d 2d |edu..X.X|--------|
|00000510| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000520| 20 4e 6f 76 20 20 37 20 | 20 31 39 39 30 20 20 20 | Nov 7 | 1990 |
|00000530| 76 65 72 73 69 6f 6e 20 | 30 2e 30 20 2d 2d 2d 2d |version |0.0 ----|
|00000540| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000550| 2d 2d 2d 2d 0a 58 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |----.X--|--------|
|00000560| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 20 4e |--------|------ N|
|00000570| 6f 76 20 20 38 20 20 31 | 39 39 30 20 20 20 76 65 |ov 8 1|990 ve|
|00000580| 72 73 69 6f 6e 20 30 2e | 31 20 2d 2d 2d 2d 2d 2d |rsion 0.|1 ------|
|00000590| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000005a0| 2d 2d 0a 58 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--.X----|--------|
|000005b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 4e 6f 76 |--------|---- Nov|
|000005c0| 20 31 32 20 20 31 39 39 | 30 20 20 20 76 65 72 73 | 12 199|0 vers|
|000005d0| 69 6f 6e 20 30 2e 32 20 | 2d 2d 2d 2d 2d 2d 2d 2d |ion 0.2 |--------|
|000005e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000005f0| 0a 58 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.X------|--------|
|00000600| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 20 4e 6f 76 20 31 |--------|-- Nov 1|
|00000610| 34 20 20 31 39 39 30 20 | 20 20 76 65 72 73 69 6f |4 1990 | versio|
|00000620| 6e 20 30 2e 33 20 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |n 0.3 --|--------|
|00000630| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0a 54 |--------|------.T|
|00000640| 68 61 6e 6b 20 79 6f 75 | 20 66 6f 72 20 79 6f 75 |hank you| for you|
|00000650| 72 20 63 6f 6d 6d 65 6e | 74 73 2e 20 20 48 65 72 |r commen|ts. Her|
|00000660| 65 20 69 73 20 5a 69 70 | 20 30 2e 33 20 77 69 74 |e is Zip| 0.3 wit|
|00000670| 68 20 61 6c 6d 6f 73 74 | 20 61 6c 6c 20 6f 66 20 |h almost| all of |
|00000680| 74 68 61 74 20 66 69 78 | 65 64 2e 0a 54 68 65 20 |that fix|ed..The |
|00000690| 63 68 61 6e 67 65 73 20 | 69 6e 63 6c 75 64 65 3a |changes |include:|
|000006a0| 0a 58 0a 58 31 2e 20 50 | 75 74 20 5c 6e 5c 20 66 |.X.X1. P|ut \n\ f|
|000006b0| 6f 72 20 6e 65 77 6c 69 | 6e 65 73 20 69 6e 20 6c |or newli|nes in l|
|000006c0| 6f 6e 67 20 73 74 72 69 | 6e 67 73 20 28 65 76 65 |ong stri|ngs (eve|
|000006d0| 72 79 6f 6e 65 20 68 61 | 64 20 74 68 69 73 20 70 |ryone ha|d this p|
|000006e0| 72 6f 62 6c 65 6d 29 2e | 0a 58 32 2e 20 57 72 6f |roblem).|.X2. Wro|
|000006f0| 74 65 20 6d 79 20 6f 77 | 6e 20 62 73 65 61 72 63 |te my ow|n bsearc|
|00000700| 68 20 28 63 61 6c 6c 65 | 64 20 73 65 61 72 63 68 |h (calle|d search|
|00000710| 2d 2d 2d 64 69 66 66 65 | 72 65 6e 74 20 61 72 67 |---diffe|rent arg|
|00000720| 73 29 2e 0a 58 33 2e 20 | 57 72 6f 74 65 20 6d 79 |s)..X3. |Wrote my|
|00000730| 20 6f 77 6e 20 74 69 6d | 65 6c 6f 63 61 6c 20 28 | own tim|elocal (|
|00000740| 63 61 6c 6c 65 64 20 69 | 6e 76 6c 6f 63 61 6c 29 |called i|nvlocal)|
|00000750| 2c 20 75 73 65 64 20 77 | 68 65 74 68 65 72 20 53 |, used w|hether S|
|00000760| 54 44 43 20 6f 72 20 6e | 6f 74 2e 0a 58 20 20 20 |TDC or n|ot..X |
|00000770| 28 4e 6f 74 65 20 74 6f | 20 47 72 65 67 3a 20 6c |(Note to| Greg: l|
|00000780| 6f 6f 6b 20 61 74 20 74 | 68 65 20 63 6f 64 65 2d |ook at t|he code-|
|00000790| 2d 2d 49 20 66 6f 75 6e | 64 20 61 20 73 69 6d 70 |--I foun|d a simp|
|000007a0| 6c 65 20 77 61 79 20 74 | 6f 20 64 6f 20 69 74 2e |le way t|o do it.|
|000007b0| 29 0a 58 34 2e 20 2d 6d | 20 6e 6f 77 20 64 65 6c |).X4. -m| now del|
|000007c0| 65 74 65 73 20 65 6d 70 | 74 79 20 64 69 72 65 63 |etes emp|ty direc|
|000007d0| 74 6f 72 69 65 73 20 61 | 6c 73 6f 2e 0a 58 35 2e |tories a|lso..X5.|
|000007e0| 20 43 68 61 6e 67 65 64 | 20 63 72 63 2e 63 20 74 | Changed| crc.c t|
|000007f0| 6f 20 75 74 69 6c 2e 63 | 20 61 6e 64 20 70 75 74 |o util.c| and put|
|00000800| 20 73 65 61 72 63 68 28 | 29 20 69 6e 20 75 74 69 | search(|) in uti|
|00000810| 6c 2e 63 2e 0a 58 36 2e | 20 43 68 61 6e 67 65 64 |l.c..X6.| Changed|
|00000820| 20 22 76 6f 69 64 20 2a | 22 20 74 6f 20 22 76 6f | "void *|" to "vo|
|00000830| 69 64 70 20 2a 22 20 61 | 6e 64 20 6d 61 64 65 20 |idp *" a|nd made |
|00000840| 76 6f 69 64 70 20 76 6f | 69 64 20 66 6f 72 20 53 |voidp vo|id for S|
|00000850| 54 44 43 2c 20 65 6c 73 | 65 20 63 68 61 72 2e 0a |TDC, els|e char..|
|00000860| 58 37 2e 20 52 65 6d 6f | 76 65 64 20 2d 61 20 6f |X7. Remo|ved -a o|
|00000870| 70 74 69 6f 6e 2e 0a 58 | 38 2e 20 53 6f 6d 65 20 |ption..X|8. Some |
|00000880| 6d 69 6e 6f 72 20 63 68 | 61 6e 67 65 73 20 74 6f |minor ch|anges to|
|00000890| 20 7a 69 70 2e 64 6f 63 | 2e 0a 58 0a 49 20 64 69 | zip.doc|..X.I di|
|000008a0| 64 20 6e 6f 74 20 64 6f | 20 61 6e 79 74 68 69 6e |d not do| anythin|
|000008b0| 67 20 61 62 6f 75 74 20 | 43 6c 69 66 66 20 4d 61 |g about |Cliff Ma|
|000008c0| 6e 69 73 27 73 20 70 72 | 6f 62 6c 65 6d 20 77 69 |nis's pr|oblem wi|
|000008d0| 74 68 20 44 49 52 20 6e | 6f 74 20 62 65 69 6e 67 |th DIR n|ot being|
|000008e0| 0a 64 65 66 69 6e 65 64 | 2e 20 20 44 49 52 20 73 |.defined|. DIR s|
|000008f0| 68 6f 75 6c 64 20 68 61 | 76 65 20 62 65 65 6e 20 |hould ha|ve been |
|00000900| 64 65 66 69 6e 65 64 20 | 69 6e 20 73 79 73 2f 64 |defined |in sys/d|
|00000910| 69 72 2e 68 2e 20 20 49 | 66 20 69 74 20 77 61 73 |ir.h. I|f it was|
|00000920| 6e 27 74 2c 20 74 68 65 | 6e 0a 74 68 65 72 65 27 |n't, the|n.there'|
|00000930| 73 20 73 6f 6d 65 74 68 | 69 6e 67 20 77 72 6f 6e |s someth|ing wron|
|00000940| 67 20 77 69 74 68 20 64 | 69 72 2e 68 2c 20 6f 72 |g with d|ir.h, or|
|00000950| 20 69 74 20 69 73 20 6d | 69 73 73 69 6e 67 2c 20 | it is m|issing, |
|00000960| 6f 72 20 74 68 65 20 6f | 70 65 6e 64 69 72 2c 20 |or the o|pendir, |
|00000970| 65 74 63 2e 0a 66 75 6e | 63 74 69 6f 6e 73 20 61 |etc..fun|ctions a|
|00000980| 72 65 20 6d 69 73 73 69 | 6e 67 2e 20 20 49 20 64 |re missi|ng. I d|
|00000990| 6f 6e 27 74 20 72 65 61 | 6c 6c 79 20 77 61 6e 74 |on't rea|lly want|
|000009a0| 20 74 6f 20 74 68 69 6e | 6b 20 61 62 6f 75 74 20 | to thin|k about |
|000009b0| 77 68 61 74 20 74 6f 20 | 64 6f 20 66 6f 72 0a 74 |what to |do for.t|
|000009c0| 68 65 20 6c 61 74 74 65 | 72 20 70 6f 73 73 69 62 |he latte|r possib|
|000009d0| 69 6c 69 74 79 2e 0a 58 | 0a 4e 55 6e 7a 69 70 20 |ility..X|.NUnzip |
|000009e0| 33 2e 39 39 20 64 6f 65 | 73 20 6e 6f 74 20 61 70 |3.99 doe|s not ap|
|000009f0| 70 65 61 72 20 74 6f 20 | 62 65 20 55 6e 69 78 2d |pear to |be Unix-|
|00000a00| 72 65 61 64 79 2e 20 20 | 49 74 20 66 61 69 6c 73 |ready. |It fails|
|00000a10| 20 66 6f 72 20 66 69 6c | 65 20 6e 61 6d 65 73 20 | for fil|e names |
|00000a20| 6c 6f 6e 67 65 72 0a 74 | 68 61 6e 20 31 32 20 63 |longer.t|han 12 c|
|00000a30| 68 61 72 61 63 74 65 72 | 73 20 28 53 65 67 6d 65 |haracter|s (Segme|
|00000a40| 6e 74 61 74 69 6f 6e 20 | 66 61 75 6c 74 29 2c 20 |ntation |fault), |
|00000a50| 63 61 6e 6e 6f 74 20 66 | 69 6e 64 20 65 78 70 6c |cannot f|ind expl|
|00000a60| 69 63 69 74 20 6e 61 6d | 65 73 20 74 68 61 74 0a |icit nam|es that.|
|00000a70| 64 6f 20 6e 6f 74 20 63 | 6f 6e 74 61 69 6e 20 61 |do not c|ontain a|
|00000a80| 20 64 6f 74 2c 20 61 6e | 64 20 64 6f 65 73 20 6e | dot, an|d does n|
|00000a90| 6f 74 20 6e 6f 74 69 63 | 65 20 74 68 65 20 55 6e |ot notic|e the Un|
|00000aa0| 69 78 20 69 64 65 6e 74 | 69 66 69 65 72 20 28 77 |ix ident|ifier (w|
|00000ab0| 68 69 63 68 20 73 68 6f | 75 6c 64 0a 73 77 69 74 |hich sho|uld.swit|
|00000ac0| 63 68 20 6f 66 66 20 6e | 61 6d 65 20 74 6f 20 6c |ch off n|ame to l|
|00000ad0| 6f 77 65 72 2d 63 61 73 | 65 20 6d 61 70 70 69 6e |ower-cas|e mappin|
|00000ae0| 67 29 2e 0a 58 0a 58 2d | 2d 2d 2d 2d 2d 2d 2d 2d |g)..X.X-|--------|
|00000af0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 20 |--------|------- |
|00000b00| 4e 6f 76 20 32 30 20 20 | 31 39 39 30 20 20 20 76 |Nov 20 |1990 v|
|00000b10| 65 72 73 69 6f 6e 20 30 | 2e 34 20 2d 2d 2d 2d 2d |ersion 0|.4 -----|
|00000b20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000b30| 2d 2d 2d 0a 59 6f 20 5a | 69 70 70 65 72 73 2c 0a |---.Yo Z|ippers,.|
|00000b40| 58 0a 48 65 72 65 20 69 | 73 20 61 20 66 69 72 73 |X.Here i|s a firs|
|00000b50| 74 20 61 74 74 65 6d 70 | 74 20 61 74 20 61 20 5a |t attemp|t at a Z|
|00000b60| 69 70 20 69 6e 74 65 6e | 64 65 64 20 74 6f 20 77 |ip inten|ded to w|
|00000b70| 6f 72 6b 20 6f 6e 20 53 | 79 73 74 65 6d 20 56 2e |ork on S|ystem V.|
|00000b80| 20 20 54 72 79 20 75 73 | 69 6e 67 0a 58 22 6d 61 | Try us|ing.X"ma|
|00000b90| 6b 65 20 73 79 73 76 22 | 20 66 6f 72 20 73 75 63 |ke sysv"| for suc|
|00000ba0| 68 20 73 79 73 74 65 6d | 73 2e 20 20 49 20 61 6c |h system|s. I al|
|00000bb0| 73 6f 20 69 6e 63 6c 75 | 64 65 64 20 72 65 70 6c |so inclu|ded repl|
|00000bc0| 61 63 65 6d 65 6e 74 73 | 20 66 6f 72 20 6d 65 6d |acements| for mem|
|00000bd0| 73 65 74 28 29 0a 61 6e | 64 20 6d 65 6d 63 6d 70 |set().an|d memcmp|
|00000be0| 28 29 20 62 79 20 42 69 | 6c 6c 20 44 61 76 69 64 |() by Bi|ll David|
|00000bf0| 73 65 6e 20 61 6e 64 20 | 4a 61 6d 65 73 20 44 75 |sen and |James Du|
|00000c00| 67 61 6c 20 66 6f 72 20 | 73 79 73 74 65 6d 73 20 |gal for |systems |
|00000c10| 77 69 74 68 6f 75 74 20 | 74 68 6f 73 65 2e 0a 55 |without |those..U|
|00000c20| 73 65 20 22 6d 61 6b 65 | 20 6f 6c 64 22 20 74 6f |se "make| old" to|
|00000c30| 20 69 6e 63 6c 75 64 65 | 20 74 68 6f 73 65 20 72 | include| those r|
|00000c40| 6f 75 74 69 6e 65 73 2e | 20 20 53 75 6e 27 73 20 |outines.| Sun's |
|00000c50| 75 73 65 20 67 65 74 64 | 65 6e 74 73 28 29 20 6c |use getd|ents() l|
|00000c60| 69 6b 65 20 53 79 73 20 | 56 2c 0a 65 76 65 6e 20 |ike Sys |V,.even |
|00000c70| 74 68 6f 75 67 68 20 69 | 74 27 73 20 42 53 44 2c |though i|t's BSD,|
|00000c80| 20 73 6f 20 75 73 65 20 | 22 6d 61 6b 65 20 73 75 | so use |"make su|
|00000c90| 6e 22 2e 20 20 46 6f 72 | 20 6f 74 68 65 72 73 2c |n". For| others,|
|00000ca0| 20 74 72 79 20 6a 75 73 | 74 20 22 6d 61 6b 65 22 | try jus|t "make"|
|00000cb0| 2e 0a 58 0a 57 68 65 6e | 20 75 73 69 6e 67 20 22 |..X.When| using "|
|00000cc0| 6d 61 6b 65 22 20 61 20 | 73 65 63 6f 6e 64 20 74 |make" a |second t|
|00000cd0| 69 6d 65 20 77 69 74 68 | 20 61 20 64 69 66 66 65 |ime with| a diffe|
|00000ce0| 72 65 6e 74 20 72 65 71 | 75 65 73 74 2c 20 69 74 |rent req|uest, it|
|00000cf0| 27 73 20 62 65 73 74 20 | 74 6f 20 65 72 61 73 65 |'s best |to erase|
|00000d00| 0a 61 6c 6c 20 74 68 65 | 20 2e 6f 20 66 69 6c 65 |.all the| .o file|
|00000d10| 73 20 74 6f 20 66 6f 72 | 63 65 20 72 65 63 6f 6d |s to for|ce recom|
|00000d20| 70 69 6c 69 6e 67 20 65 | 76 65 72 79 74 68 69 6e |piling e|verythin|
|00000d30| 67 2e 0a 58 0a 57 68 61 | 74 20 66 6f 6c 6c 6f 77 |g..X.Wha|t follow|
|00000d40| 73 20 61 72 65 20 74 68 | 65 20 63 68 61 6e 67 65 |s are th|e change|
|00000d50| 73 20 49 20 6d 61 64 65 | 20 61 6e 64 20 73 6f 6d |s I made| and som|
|00000d60| 65 20 74 68 69 6e 67 73 | 20 74 6f 20 74 72 79 20 |e things| to try |
|00000d70| 69 66 20 79 6f 75 20 67 | 65 74 20 69 74 0a 63 6f |if you g|et it.co|
|00000d80| 6d 70 69 6c 65 64 2e 20 | 20 48 61 76 65 20 66 75 |mpiled. | Have fu|
|00000d90| 6e 2e 0a 58 0a 4d 61 72 | 6b 0a 58 0a 58 0a 43 68 |n..X.Mar|k.X.X.Ch|
|00000da0| 61 6e 67 65 73 20 66 72 | 6f 6d 20 5a 69 70 20 30 |anges fr|om Zip 0|
|00000db0| 2e 33 20 74 6f 20 5a 69 | 70 20 30 2e 34 3a 0a 58 |.3 to Zi|p 0.4:.X|
|00000dc0| 0a 58 31 2e 20 20 43 68 | 61 6e 67 65 64 20 74 68 |.X1. Ch|anged th|
|00000dd0| 69 72 64 20 61 72 67 20 | 6f 66 20 73 65 61 72 63 |ird arg |of searc|
|00000de0| 68 28 29 20 74 6f 20 73 | 69 7a 65 5f 74 20 74 6f |h() to s|ize_t to|
|00000df0| 20 6d 61 6b 65 20 6c 69 | 6e 74 20 68 61 70 70 69 | make li|nt happi|
|00000e00| 65 72 2e 0a 58 32 2e 20 | 20 52 65 70 6c 61 63 65 |er..X2. | Replace|
|00000e10| 64 20 7a 69 70 2e 64 6f | 63 20 77 69 74 68 20 61 |d zip.do|c with a|
|00000e20| 20 6d 61 6e 20 70 61 67 | 65 2c 20 7a 69 70 2e 31 | man pag|e, zip.1|
|00000e30| 20 28 72 61 77 29 20 61 | 6e 64 20 7a 69 70 2e 6d | (raw) a|nd zip.m|
|00000e40| 61 6e 20 28 66 6f 72 6d | 61 74 74 65 64 29 2e 0a |an (form|atted)..|
|00000e50| 58 33 2e 20 20 72 65 6e | 61 6d 65 28 29 20 72 65 |X3. ren|ame() re|
|00000e60| 70 6c 61 63 65 64 20 77 | 69 74 68 20 6c 69 6e 6b |placed w|ith link|
|00000e70| 28 29 20 61 6e 64 20 75 | 6e 6c 69 6e 6b 28 29 2e |() and u|nlink().|
|00000e80| 0a 58 34 2e 20 20 46 69 | 78 65 64 20 76 65 6d 20 |.X4. Fi|xed vem |
|00000e90| 69 6e 20 63 65 6e 74 72 | 61 6c 20 68 65 61 64 65 |in centr|al heade|
|00000ea0| 72 20 61 6e 64 20 61 64 | 64 65 64 20 52 45 56 49 |r and ad|ded REVI|
|00000eb0| 53 49 4f 4e 20 61 6e 64 | 20 52 45 56 44 41 54 45 |SION and| REVDATE|
|00000ec0| 20 23 64 65 66 69 6e 65 | 27 73 0a 58 20 20 20 20 | #define|'s.X |
|00000ed0| 74 6f 20 7a 69 70 2e 68 | 2e 20 20 28 44 69 64 6e |to zip.h|. (Didn|
|00000ee0| 27 74 20 72 65 61 64 20 | 50 68 69 6c 27 73 20 61 |'t read |Phil's a|
|00000ef0| 70 70 6e 6f 74 65 2e 74 | 78 74 20 63 61 72 65 66 |ppnote.t|xt caref|
|00000f00| 75 6c 6c 79 20 65 6e 6f | 75 67 68 20 74 68 65 72 |ully eno|ugh ther|
|00000f10| 65 2e 29 0a 58 35 2e 20 | 20 52 65 6d 6f 76 65 64 |e.).X5. | Removed|
|00000f20| 20 70 72 6f 74 6f 74 79 | 70 65 73 20 65 78 63 65 | prototy|pes exce|
|00000f30| 70 74 20 66 6f 72 20 64 | 65 76 65 6c 6f 70 6d 65 |pt for d|evelopme|
|00000f40| 6e 74 20 68 6f 73 74 20 | 28 4e 65 58 54 29 2e 20 |nt host |(NeXT). |
|00000f50| 20 28 54 68 65 79 27 72 | 65 20 6f 6e 6c 79 0a 58 | (They'r|e only.X|
|00000f60| 20 20 20 20 74 68 65 72 | 65 20 66 6f 72 20 6d 79 | ther|e for my|
|00000f70| 20 62 65 6e 65 66 69 74 | 20 61 6e 79 77 61 79 2d | benefit| anyway-|
|00000f80| 2d 2d 74 68 65 79 20 73 | 68 6f 75 6c 64 20 6e 6f |--they s|hould no|
|00000f90| 74 20 61 66 66 65 63 74 | 20 74 68 65 20 72 65 73 |t affect| the res|
|00000fa0| 75 6c 74 69 6e 67 0a 58 | 20 20 20 20 63 6f 64 65 |ulting.X| code|
|00000fb0| 2e 20 20 43 6f 6e 73 69 | 64 65 72 20 74 68 65 6d |. Consi|der them|
|00000fc0| 20 73 6f 6d 65 20 6d 65 | 61 67 65 72 20 64 6f 63 | some me|ager doc|
|00000fd0| 75 6d 65 6e 74 61 74 69 | 6f 6e 2e 29 0a 58 36 2e |umentati|on.).X6.|
|00000fe0| 20 20 43 68 61 6e 67 65 | 64 20 72 69 6e 64 65 78 | Change|d rindex|
|00000ff0| 28 29 20 74 6f 20 73 74 | 72 72 63 68 72 28 29 2e |() to st|rrchr().|
|00001000| 0a 58 37 2e 20 20 49 6d | 70 72 6f 76 65 64 20 62 |.X7. Im|proved b|
|00001010| 65 68 61 76 69 6f 72 20 | 6f 6e 20 61 20 77 72 69 |ehavior |on a wri|
|00001020| 74 65 20 66 61 69 6c 75 | 72 65 20 77 68 65 6e 20 |te failu|re when |
|00001030| 2d 62 20 69 73 20 75 73 | 65 64 2e 0a 58 38 2e 20 |-b is us|ed..X8. |
|00001040| 20 41 64 64 65 64 20 42 | 69 6c 6c 20 44 61 76 69 | Added B|ill Davi|
|00001050| 64 73 65 6e 27 73 20 61 | 6e 64 20 4a 61 6d 65 73 |dsen's a|nd James|
|00001060| 20 44 75 67 61 6c 27 73 | 20 6d 65 6d 73 65 74 28 | Dugal's| memset(|
|00001070| 29 2c 20 6d 65 6d 63 70 | 79 28 29 2c 20 61 6e 64 |), memcp|y(), and|
|00001080| 0a 58 20 20 20 20 6d 65 | 6d 63 6d 70 28 29 20 72 |.X me|mcmp() r|
|00001090| 6f 75 74 69 6e 65 73 20 | 75 6e 64 65 72 20 74 68 |outines |under th|
|000010a0| 65 20 74 72 75 73 74 79 | 20 5a 4d 45 4d 20 23 64 |e trusty| ZMEM #d|
|000010b0| 65 66 69 6e 65 2e 0a 58 | 39 2e 20 20 43 68 65 63 |efine..X|9. Chec|
|000010c0| 6b 20 74 68 61 74 20 7a | 69 70 20 66 69 6c 65 20 |k that z|ip file |
|000010d0| 69 73 20 77 72 69 74 65 | 61 62 6c 65 20 62 65 66 |is write|able bef|
|000010e0| 6f 72 65 20 64 6f 69 6e | 67 20 61 6e 79 20 72 65 |ore doin|g any re|
|000010f0| 61 6c 20 77 6f 72 6b 2e | 0a 58 31 30 2e 20 41 64 |al work.|.X10. Ad|
|00001100| 64 65 64 20 23 69 66 64 | 65 66 20 52 45 47 45 58 |ded #ifd|ef REGEX|
|00001110| 20 74 6f 20 75 73 65 20 | 72 65 67 63 6d 70 28 29 | to use |regcmp()|
|00001120| 2c 20 72 65 67 65 78 28 | 29 20 69 6e 73 74 65 61 |, regex(|) instea|
|00001130| 64 20 6f 66 20 72 65 5f | 63 6f 6d 70 28 29 2c 0a |d of re_|comp(),.|
|00001140| 58 20 20 20 20 72 65 5f | 65 78 65 63 28 29 2e 20 |X re_|exec(). |
|00001150| 20 28 57 65 27 6c 6c 20 | 73 65 65 20 69 66 20 74 | (We'll |see if t|
|00001160| 68 69 73 20 77 6f 72 6b | 73 2e 29 0a 58 31 31 2e |his work|s.).X11.|
|00001170| 20 52 65 70 6c 61 63 65 | 64 20 6f 70 65 6e 64 69 | Replace|d opendi|
|00001180| 72 28 29 2c 20 72 65 61 | 64 64 69 72 28 29 2c 20 |r(), rea|ddir(), |
|00001190| 63 6c 6f 73 65 64 69 72 | 28 29 20 77 69 74 68 20 |closedir|() with |
|000011a0| 6d 79 20 6f 77 6e 20 6f | 70 65 6e 64 28 29 2c 20 |my own o|pend(), |
|000011b0| 72 65 61 64 64 28 29 2c | 0a 58 20 20 20 20 61 6e |readd(),|.X an|
|000011c0| 64 20 63 6c 6f 73 65 64 | 28 29 20 72 6f 75 74 69 |d closed|() routi|
|000011d0| 6e 65 73 20 74 68 61 74 | 20 75 73 65 20 67 65 74 |nes that| use get|
|000011e0| 64 69 72 65 6e 74 72 69 | 65 73 28 29 20 6f 6e 20 |direntri|es() on |
|000011f0| 42 53 44 20 61 6e 64 20 | 67 65 74 64 65 6e 74 73 |BSD and |getdents|
|00001200| 28 29 20 6f 6e 0a 58 20 | 20 20 20 53 79 73 74 65 |() on.X | Syste|
|00001210| 6d 20 56 20 28 49 20 68 | 6f 70 65 29 20 61 6e 64 |m V (I h|ope) and|
|00001220| 20 53 75 6e 27 73 2e 20 | 20 41 6e 20 23 69 66 64 | Sun's. | An #ifd|
|00001230| 65 66 20 44 49 52 45 4e | 54 20 73 65 6c 65 63 74 |ef DIREN|T select|
|00001240| 73 20 67 65 74 64 65 6e | 74 73 28 29 2e 0a 58 31 |s getden|ts()..X1|
|00001250| 32 2e 20 7a 69 70 2e 68 | 20 6e 6f 20 6c 6f 6e 67 |2. zip.h| no long|
|00001260| 65 72 20 23 69 6e 63 6c | 75 64 65 73 20 73 74 72 |er #incl|udes str|
|00001270| 69 6e 67 2e 68 2c 20 69 | 6e 73 74 65 61 64 20 64 |ing.h, i|nstead d|
|00001280| 65 66 69 6e 69 6e 67 20 | 74 68 65 20 73 74 72 69 |efining |the stri|
|00001290| 6e 67 0a 58 20 20 20 20 | 66 75 6e 63 74 69 6f 6e |ng.X |function|
|000012a0| 73 20 75 73 65 64 20 65 | 78 70 6c 69 63 69 74 6c |s used e|xplicitl|
|000012b0| 79 2e 0a 58 0a 58 0a 49 | 66 20 79 6f 75 20 67 65 |y..X.X.I|f you ge|
|000012c0| 74 20 5a 69 70 20 30 2e | 34 20 74 6f 20 63 6f 6d |t Zip 0.|4 to com|
|000012d0| 70 69 6c 65 2c 20 68 65 | 72 65 20 61 72 65 20 73 |pile, he|re are s|
|000012e0| 6f 6d 65 20 74 68 69 6e | 67 73 20 74 6f 20 74 65 |ome thin|gs to te|
|000012f0| 73 74 3a 0a 58 0a 58 31 | 2e 20 20 54 72 79 20 7a |st:.X.X1|. Try z|
|00001300| 69 70 70 69 6e 67 20 75 | 70 20 73 6f 6d 65 20 73 |ipping u|p some s|
|00001310| 74 75 66 66 2c 20 6f 66 | 20 63 6f 75 72 73 65 2e |tuff, of| course.|
|00001320| 20 20 55 73 65 20 61 6c | 6c 20 74 68 65 20 6f 70 | Use al|l the op|
|00001330| 74 69 6f 6e 73 20 74 68 | 61 74 20 61 72 65 0a 58 |tions th|at are.X|
|00001340| 20 20 20 20 69 6d 70 6c | 65 6d 65 6e 74 65 64 2e | impl|emented.|
|00001350| 20 20 45 73 70 65 63 69 | 61 6c 6c 79 20 74 72 79 | Especi|ally try|
|00001360| 20 2d 72 70 20 61 6e 64 | 20 2d 72 70 6d 20 6f 6e | -rp and| -rpm on|
|00001370| 20 61 20 64 69 72 65 63 | 74 6f 72 79 20 74 72 65 | a direc|tory tre|
|00001380| 65 20 28 75 73 65 0a 58 | 20 20 20 20 2a 74 65 73 |e (use.X| *tes|
|00001390| 74 2a 20 66 69 6c 65 73 | 20 61 6e 64 20 64 69 72 |t* files| and dir|
|000013a0| 65 63 74 6f 72 69 65 73 | 2c 20 6f 66 20 63 6f 75 |ectories|, of cou|
|000013b0| 72 73 65 29 2e 0a 58 32 | 2e 20 20 4e 61 74 75 72 |rse)..X2|. Natur|
|000013c0| 61 6c 6c 79 20 63 68 65 | 63 6b 20 77 69 74 68 20 |ally che|ck with |
|000013d0| 75 6e 7a 69 70 20 2d 74 | 2c 20 62 75 74 20 61 6c |unzip -t|, but al|
|000013e0| 73 6f 20 63 68 65 63 6b | 20 77 69 74 68 20 22 7a |so check| with "z|
|000013f0| 69 70 20 78 78 78 22 20 | 77 68 65 72 65 0a 58 20 |ip xxx" |where.X |
|00001400| 20 20 20 78 78 78 2e 7a | 69 70 20 69 73 20 74 68 | xxx.z|ip is th|
|00001410| 65 20 7a 69 70 20 66 69 | 6c 65 2e 20 20 54 68 69 |e zip fi|le. Thi|
|00001420| 73 20 73 68 6f 75 6c 64 | 20 73 61 79 20 22 6e 6f |s should| say "no|
|00001430| 74 68 69 6e 67 20 74 6f | 20 64 6f 22 2c 20 62 75 |thing to| do", bu|
|00001440| 74 20 69 66 20 69 74 0a | 58 20 20 20 20 73 61 79 |t if it.|X say|
|00001450| 73 20 22 65 72 72 6f 72 | 20 69 6e 20 7a 69 70 20 |s "error| in zip |
|00001460| 66 69 6c 65 20 73 74 72 | 75 63 74 75 72 65 22 2c |file str|ucture",|
|00001470| 20 74 68 65 72 65 27 73 | 20 61 20 70 72 6f 62 6c | there's| a probl|
|00001480| 65 6d 2e 0a 58 33 2e 20 | 20 41 66 74 65 72 20 7a |em..X3. | After z|
|00001490| 69 70 70 69 6e 67 2c 20 | 63 68 65 63 6b 20 74 68 |ipping, |check th|
|000014a0| 61 74 20 74 68 65 72 65 | 20 61 72 65 20 6e 6f 20 |at there| are no |
|000014b0| 24 5a 2a 20 66 69 6c 65 | 73 20 6c 65 66 74 6f 76 |$Z* file|s leftov|
|000014c0| 65 72 2e 0a 58 34 2e 20 | 20 54 72 79 20 75 73 69 |er..X4. | Try usi|
|000014d0| 6e 67 20 2d 62 2c 20 73 | 70 65 63 69 66 79 69 6e |ng -b, s|pecifyin|
|000014e0| 67 20 61 20 70 61 74 68 | 20 6f 6e 20 61 6e 6f 74 |g a path| on anot|
|000014f0| 68 65 72 20 64 65 76 69 | 63 65 2e 20 20 43 68 65 |her devi|ce. Che|
|00001500| 63 6b 20 66 6f 72 20 24 | 5a 2a 27 73 2e 0a 58 35 |ck for $|Z*'s..X5|
|00001510| 2e 20 20 54 72 79 20 2d | 64 20 61 6e 64 20 61 20 |. Try -|d and a |
|00001520| 72 65 67 75 6c 61 72 20 | 65 78 70 72 65 73 73 69 |regular |expressi|
|00001530| 6f 6e 20 28 6c 69 6b 65 | 20 5c 2a 2e 6f 29 20 6f |on (like| \*.o) o|
|00001540| 6e 20 61 20 7a 69 70 20 | 66 69 6c 65 2e 0a 58 36 |n a zip |file..X6|
|00001550| 2e 20 20 41 6e 64 20 49 | 27 6d 20 69 6e 74 65 72 |. And I|'m inter|
|00001560| 65 73 74 65 64 20 69 6e | 20 74 69 6d 69 6e 67 2d |ested in| timing-|
|00001570| 2d 2d 74 72 79 20 69 74 | 20 6f 6e 20 61 20 35 30 |--try it| on a 50|
|00001580| 30 4b 20 6f 72 20 73 6f | 20 74 65 78 74 20 66 69 |0K or so| text fi|
|00001590| 6c 65 2e 0a 58 0a 58 2d | 2d 2d 2d 2d 2d 2d 2d 2d |le..X.X-|--------|
|000015a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 20 |--------|------- |
|000015b0| 4e 6f 76 20 32 37 20 20 | 31 39 39 30 20 20 20 76 |Nov 27 |1990 v|
|000015c0| 65 72 73 69 6f 6e 20 30 | 2e 35 20 2d 2d 2d 2d 2d |ersion 0|.5 -----|
|000015d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000015e0| 2d 2d 2d 0a 48 61 69 6c | 20 66 65 6c 6c 6f 77 20 |---.Hail| fellow |
|000015f0| 7a 69 70 70 65 72 73 2c | 0a 58 0a 48 65 72 65 27 |zippers,|.X.Here'|
|00001600| 73 20 5a 69 70 20 30 2e | 35 2e 20 20 54 68 65 20 |s Zip 0.|5. The |
|00001610| 62 69 67 67 69 65 20 69 | 73 20 69 74 20 6e 6f 77 |biggie i|s it now|
|00001620| 20 69 6e 63 6c 75 64 65 | 73 20 69 6d 70 6c 6f 73 | include|s implos|
|00001630| 69 6f 6e 2c 20 63 6f 75 | 72 74 65 73 79 20 6f 66 |ion, cou|rtesy of|
|00001640| 20 52 69 63 68 0a 57 61 | 6c 65 73 2e 20 20 45 76 | Rich.Wa|les. Ev|
|00001650| 65 6e 20 61 73 20 77 65 | 20 73 70 65 61 6b 2c 20 |en as we| speak, |
|00001660| 68 65 20 69 73 20 77 6f | 72 6b 69 6e 67 20 6f 6e |he is wo|rking on|
|00001670| 20 6e 65 77 20 61 6c 67 | 6f 72 69 74 68 6d 73 20 | new alg|orithms |
|00001680| 66 6f 72 20 69 6d 70 6c | 6f 64 65 20 74 68 61 74 |for impl|ode that|
|00001690| 0a 70 72 6f 6d 69 73 65 | 20 74 6f 20 62 65 20 73 |.promise| to be s|
|000016a0| 69 67 6e 69 66 69 63 61 | 6e 74 6c 79 20 66 61 73 |ignifica|ntly fas|
|000016b0| 74 65 72 2e 20 20 48 65 | 20 6d 69 67 68 74 20 65 |ter. He| might e|
|000016c0| 76 65 6e 20 67 65 74 20 | 61 20 70 61 70 65 72 20 |ven get |a paper |
|000016d0| 6f 75 74 20 6f 66 20 69 | 74 20 2e 2e 2e 0a 58 0a |out of i|t ....X.|
|000016e0| 59 6f 75 20 63 61 6e 20 | 75 73 65 20 74 68 65 20 |You can |use the |
|000016f0| 2d 73 20 6f 70 74 69 6f | 6e 20 28 73 68 72 69 6e |-s optio|n (shrin|
|00001700| 6b 20 6f 6e 6c 79 29 20 | 77 68 65 6e 20 74 65 73 |k only) |when tes|
|00001710| 74 69 6e 67 20 74 6f 20 | 73 61 76 65 20 61 20 6c |ting to |save a l|
|00001720| 69 74 74 6c 65 20 74 69 | 6d 65 2c 0a 62 75 74 20 |ittle ti|me,.but |
|00001730| 61 6c 73 6f 20 74 72 79 | 20 69 74 20 6e 6f 72 6d |also try| it norm|
|00001740| 61 6c 6c 79 20 74 6f 20 | 74 65 73 74 20 69 6d 70 |ally to |test imp|
|00001750| 6c 6f 73 69 6f 6e 20 28 | 69 66 20 79 6f 75 20 74 |losion (|if you t|
|00001760| 65 73 74 20 77 69 74 68 | 20 74 65 78 74 20 66 69 |est with| text fi|
|00001770| 6c 65 73 0a 6f 66 20 72 | 65 61 73 6f 6e 61 62 6c |les.of r|easonabl|
|00001780| 65 20 6c 65 6e 67 74 68 | 2c 20 69 6d 70 6c 6f 73 |e length|, implos|
|00001790| 69 6f 6e 20 77 69 6c 6c | 20 62 65 20 63 68 6f 73 |ion will| be chos|
|000017a0| 65 6e 20 66 6f 72 20 6d | 6f 73 74 20 6f 66 20 74 |en for m|ost of t|
|000017b0| 68 65 6d 29 2e 20 20 41 | 6c 73 6f 2c 20 66 6f 72 |hem). A|lso, for|
|000017c0| 0a 73 70 65 65 64 20 74 | 65 73 74 69 6e 67 20 6f |.speed t|esting o|
|000017d0| 66 20 69 6d 70 6c 6f 73 | 69 6f 6e 2c 20 75 73 65 |f implos|ion, use|
|000017e0| 20 2d 69 20 74 6f 20 6e | 6f 74 20 77 61 73 74 65 | -i to n|ot waste|
|000017f0| 20 74 69 6d 65 20 74 72 | 79 69 6e 67 20 74 6f 20 | time tr|ying to |
|00001800| 73 68 72 69 6e 6b 2e 0a | 58 0a 49 6e 63 6c 75 64 |shrink..|X.Includ|
|00001810| 69 6e 67 20 69 6d 70 6c | 6f 73 69 6f 6e 20 61 62 |ing impl|osion ab|
|00001820| 6f 75 74 20 64 6f 75 62 | 6c 65 73 20 74 68 65 20 |out doub|les the |
|00001830| 73 69 7a 65 20 6f 66 20 | 7a 69 70 6e 6e 2e 74 61 |size of |zipnn.ta|
|00001840| 72 2e 5a 2c 20 73 6f 20 | 49 20 77 6f 75 6c 64 20 |r.Z, so |I would |
|00001850| 6c 69 6b 65 0a 73 6f 6d | 65 20 69 6e 70 75 74 20 |like.som|e input |
|00001860| 6f 6e 20 64 69 73 74 72 | 69 62 75 74 69 6e 67 20 |on distr|ibuting |
|00001870| 73 75 62 73 65 71 75 65 | 6e 74 20 76 65 72 73 69 |subseque|nt versi|
|00001880| 6f 6e 73 2e 20 20 57 6f | 75 6c 64 20 79 27 61 6c |ons. Wo|uld y'al|
|00001890| 6c 20 6c 69 6b 65 20 74 | 6f 20 6b 65 65 70 0a 6f |l like t|o keep.o|
|000018a0| 6e 20 67 65 74 74 69 6e | 67 20 74 68 65 20 75 75 |n gettin|g the uu|
|000018b0| 65 6e 63 6f 64 65 64 20 | 76 65 72 73 69 6f 6e 20 |encoded |version |
|000018c0| 76 69 61 20 6d 61 69 6c | 2c 20 6f 72 20 77 6f 75 |via mail|, or wou|
|000018d0| 6c 64 20 79 6f 75 20 70 | 72 65 66 65 72 20 61 20 |ld you p|refer a |
|000018e0| 6e 6f 74 69 63 65 0a 61 | 62 6f 75 74 20 61 76 61 |notice.a|bout ava|
|000018f0| 69 6c 61 62 69 6c 69 74 | 79 20 76 69 61 20 61 6e |ilabilit|y via an|
|00001900| 6f 6e 79 6d 6f 75 73 20 | 66 74 70 20 6f 6e 20 73 |onymous |ftp on s|
|00001910| 69 6d 74 65 6c 32 30 2e | 61 72 6d 79 2e 6d 69 6c |imtel20.|army.mil|
|00001920| 20 69 6e 20 3c 77 38 73 | 64 7a 2e 7a 69 70 3e 3f | in <w8s|dz.zip>?|
|00001930| 0a 58 28 49 20 68 61 76 | 65 20 62 65 65 6e 20 73 |.X(I hav|e been s|
|00001940| 65 6e 64 69 6e 67 20 74 | 68 65 20 70 72 65 76 69 |ending t|he previ|
|00001950| 6f 75 73 20 76 65 72 73 | 69 6f 6e 73 20 74 6f 20 |ous vers|ions to |
|00001960| 4b 65 69 74 68 20 74 6f | 20 70 75 74 20 74 68 65 |Keith to| put the|
|00001970| 72 65 2c 20 61 6e 64 20 | 77 69 6c 6c 0a 63 6f 6e |re, and |will.con|
|00001980| 74 69 6e 75 65 20 74 6f | 20 64 6f 20 73 6f 2e 20 |tinue to| do so. |
|00001990| 20 49 20 64 6f 20 6e 6f | 74 20 6b 6e 6f 77 20 77 | I do no|t know w|
|000019a0| 68 61 74 20 74 68 65 20 | 6c 61 67 20 74 69 6d 65 |hat the |lag time|
|000019b0| 20 69 73 20 66 6f 72 20 | 68 69 6d 20 74 6f 20 6d | is for |him to m|
|000019c0| 6f 76 65 20 69 74 0a 74 | 68 65 72 65 2e 29 0a 58 |ove it.t|here.).X|
|000019d0| 0a 54 68 65 20 6f 74 68 | 65 72 20 69 6d 70 6f 72 |.The oth|er impor|
|000019e0| 74 61 6e 74 20 63 68 61 | 6e 67 65 20 69 73 20 74 |tant cha|nge is t|
|000019f0| 68 61 74 20 74 68 69 73 | 20 69 73 20 61 6e 6f 74 |hat this| is anot|
|00001a00| 68 65 72 20 61 74 74 65 | 6d 70 74 20 61 74 20 67 |her atte|mpt at g|
|00001a10| 65 74 74 69 6e 67 20 74 | 68 65 0a 64 69 72 65 63 |etting t|he.direc|
|00001a20| 74 6f 72 79 20 61 63 63 | 65 73 73 20 72 6f 75 74 |tory acc|ess rout|
|00001a30| 69 6e 65 73 20 77 6f 72 | 6b 69 6e 67 20 6f 6e 20 |ines wor|king on |
|00001a40| 61 6c 6c 20 73 79 73 74 | 65 6d 73 2e 20 20 52 65 |all syst|ems. Re|
|00001a50| 61 64 20 74 68 65 20 69 | 6e 73 74 61 6c 6c 61 74 |ad the i|nstallat|
|00001a60| 69 6f 6e 0a 70 61 72 74 | 20 6f 66 20 74 68 65 20 |ion.part| of the |
|00001a70| 6d 61 6e 75 61 6c 20 70 | 61 67 65 20 28 7a 69 70 |manual p|age (zip|
|00001a80| 2e 6d 61 6e 29 2e 20 20 | 41 6e 64 20 69 66 20 79 |.man). |And if y|
|00001a90| 6f 75 20 66 65 65 6c 20 | 6c 69 6b 65 2c 20 72 65 |ou feel |like, re|
|00001aa0| 61 64 20 74 68 65 20 77 | 68 6f 6c 65 0a 74 68 69 |ad the w|hole.thi|
|00001ab0| 6e 67 2e 20 20 49 27 6d | 20 61 6c 73 6f 20 74 61 |ng. I'm| also ta|
|00001ac0| 6b 69 6e 67 20 73 75 67 | 67 65 73 74 69 6f 6e 73 |king sug|gestions|
|00001ad0| 20 66 6f 72 20 61 6e 64 | 20 62 75 67 73 20 69 6e | for and| bugs in|
|00001ae0| 20 74 68 65 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 | the doc|umentati|
|00001af0| 6f 6e 2e 0a 58 0a 54 68 | 65 20 64 69 66 66 65 72 |on..X.Th|e differ|
|00001b00| 65 6e 63 65 73 20 66 72 | 6f 6d 20 5a 69 70 20 30 |ences fr|om Zip 0|
|00001b10| 2e 34 20 69 6e 63 6c 75 | 64 65 3a 0a 58 0a 58 31 |.4 inclu|de:.X.X1|
|00001b20| 2e 20 43 68 61 6e 67 65 | 64 20 61 6c 6c 20 6f 63 |. Change|d all oc|
|00001b30| 63 75 72 65 6e 63 65 73 | 20 6f 66 20 22 73 69 7a |curences| of "siz|
|00001b40| 65 5f 74 22 20 74 6f 20 | 22 65 78 74 65 6e 74 22 |e_t" to |"extent"|
|00001b50| 20 61 6e 64 20 74 79 70 | 65 64 65 66 27 65 64 20 | and typ|edef'ed |
|00001b60| 65 78 74 65 6e 74 0a 58 | 20 20 20 74 6f 20 73 69 |extent.X| to si|
|00001b70| 7a 65 5f 74 20 28 61 66 | 74 65 72 20 61 6e 20 23 |ze_t (af|ter an #|
|00001b80| 69 6e 63 6c 75 64 65 20 | 3c 73 74 64 64 65 66 2e |include |<stddef.|
|00001b90| 68 3e 29 20 66 6f 72 20 | 41 4e 53 49 20 43 2c 20 |h>) for |ANSI C, |
|00001ba0| 6f 72 20 75 6e 73 69 67 | 6e 65 64 20 69 6e 74 0a |or unsig|ned int.|
|00001bb0| 58 20 20 20 6f 74 68 65 | 72 77 69 73 65 2e 20 20 |X othe|rwise. |
|00001bc0| 49 66 20 61 6e 79 6f 6e | 65 20 66 69 6e 64 73 20 |If anyon|e finds |
|00001bd0| 74 68 61 74 20 74 68 65 | 79 20 68 61 76 65 20 61 |that the|y have a|
|00001be0| 20 6e 6f 6e 20 41 4e 53 | 49 20 43 2c 20 74 68 61 | non ANS|I C, tha|
|00001bf0| 74 20 73 69 7a 65 5f 74 | 0a 58 20 20 20 69 73 20 |t size_t|.X is |
|00001c00| 64 65 66 69 6e 65 64 2c | 20 61 6e 64 20 74 68 61 |defined,| and tha|
|00001c10| 74 20 69 74 20 69 73 20 | 6e 6f 74 20 74 68 65 20 |t it is |not the |
|00001c20| 73 69 7a 65 20 6f 66 20 | 74 68 65 20 63 6f 6d 70 |size of |the comp|
|00001c30| 69 6c 65 72 27 73 20 69 | 6e 74 2c 20 74 68 65 6e |iler's i|nt, then|
|00001c40| 0a 58 20 20 20 70 6c 65 | 61 73 65 20 6c 65 74 20 |.X ple|ase let |
|00001c50| 6d 65 20 6b 6e 6f 77 2e | 0a 58 32 2e 20 43 68 61 |me know.|.X2. Cha|
|00001c60| 6e 67 65 64 20 68 65 6c | 70 28 29 20 74 6f 20 70 |nged hel|p() to p|
|00001c70| 75 74 20 74 68 65 20 68 | 65 6c 70 20 74 65 78 74 |ut the h|elp text|
|00001c80| 20 69 6e 20 61 20 73 74 | 61 74 69 63 20 61 72 72 | in a st|atic arr|
|00001c90| 61 79 20 6f 66 20 73 74 | 72 69 6e 67 73 20 61 6e |ay of st|rings an|
|00001ca0| 64 0a 58 20 20 20 74 68 | 65 6e 20 70 72 69 6e 74 |d.X th|en print|
|00001cb0| 66 28 29 20 66 6f 72 20 | 65 61 63 68 20 6c 69 6e |f() for |each lin|
|00001cc0| 65 2e 20 20 53 6f 6d 65 | 20 63 6f 6d 70 69 6c 65 |e. Some| compile|
|00001cd0| 72 73 20 62 61 72 66 65 | 64 20 6f 6e 20 74 68 65 |rs barfe|d on the|
|00001ce0| 20 6c 6f 6e 67 0a 58 20 | 20 20 73 74 72 69 6e 67 | long.X | string|
|00001cf0| 2e 20 20 53 75 67 67 65 | 73 74 65 64 20 62 79 20 |. Sugge|sted by |
|00001d00| 64 61 76 69 64 73 65 6e | 40 63 72 64 6f 73 31 2e |davidsen|@crdos1.|
|00001d10| 63 72 64 2e 67 65 2e 63 | 6f 6d 2e 0a 58 33 2e 20 |crd.ge.c|om..X3. |
|00001d20| 41 64 64 65 64 20 52 69 | 63 68 20 57 61 6c 65 73 |Added Ri|ch Wales|
|00001d30| 27 20 69 6d 70 6c 6f 64 | 65 20 72 6f 75 74 69 6e |' implod|e routin|
|00001d40| 65 73 2c 20 6d 61 64 65 | 20 74 68 65 69 72 20 69 |es, made| their i|
|00001d50| 6e 63 6c 75 73 69 6f 6e | 20 74 68 65 20 64 65 66 |nclusion| the def|
|00001d60| 61 75 6c 74 0a 58 20 20 | 20 28 63 68 61 6e 67 65 |ault.X | (change|
|00001d70| 64 20 23 69 66 64 65 66 | 20 49 4d 50 4c 4f 44 45 |d #ifdef| IMPLODE|
|00001d80| 20 74 6f 20 23 69 66 6e | 64 65 66 20 4e 4f 49 4d | to #ifn|def NOIM|
|00001d90| 50 4c 4f 44 45 29 2e 0a | 58 34 2e 20 50 75 74 20 |PLODE)..|X4. Put |
|00001da0| 22 65 78 74 65 72 6e 20 | 69 6e 74 20 65 72 72 6e |"extern |int errn|
|00001db0| 6f 3b 22 20 69 6e 20 75 | 6e 69 78 66 69 6c 65 2e |o;" in u|nixfile.|
|00001dc0| 63 20 28 72 65 64 75 6e | 64 61 6e 74 20 65 78 74 |c (redun|dant ext|
|00001dd0| 65 72 6e 27 73 20 73 68 | 6f 75 6c 64 20 62 65 20 |ern's sh|ould be |
|00001de0| 6f 6b 29 2e 0a 58 35 2e | 20 4d 69 6e 6f 72 20 63 |ok)..X5.| Minor c|
|00001df0| 68 61 6e 67 65 73 20 74 | 6f 20 74 68 65 20 6d 61 |hanges t|o the ma|
|00001e00| 6e 20 70 61 67 65 20 28 | 7a 69 70 2e 31 20 61 6e |n page (|zip.1 an|
|00001e10| 64 20 7a 69 70 2e 6d 61 | 6e 29 2e 0a 58 36 2e 20 |d zip.ma|n)..X6. |
|00001e20| 41 64 64 65 64 20 77 61 | 72 6e 69 6e 67 73 20 66 |Added wa|rnings f|
|00001e30| 6f 72 20 6e 61 6d 65 73 | 20 67 69 76 65 6e 20 6f |or names| given o|
|00001e40| 6e 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 20 6c 69 |n the co|mmand li|
|00001e50| 6e 65 20 74 68 61 74 20 | 61 72 65 20 6e 6f 74 20 |ne that |are not |
|00001e60| 6d 61 74 63 68 65 64 2e | 0a 58 20 20 20 4c 61 63 |matched.|.X Lac|
|00001e70| 6b 20 70 6f 69 6e 74 65 | 64 20 6f 75 74 20 62 79 |k pointe|d out by|
|00001e80| 20 67 72 69 6d 65 73 67 | 40 73 6a 2e 41 54 45 2e | grimesg|@sj.ATE.|
|00001e90| 53 4c 42 2e 43 4f 4d 20 | 28 47 65 6f 72 67 65 29 |SLB.COM |(George)|
|00001ea0| 2e 0a 58 37 2e 20 43 68 | 61 6e 67 65 64 20 62 61 |..X7. Ch|anged ba|
|00001eb0| 63 6b 20 74 6f 20 6f 70 | 65 6e 64 69 72 28 29 2c |ck to op|endir(),|
|00001ec0| 20 65 74 63 2e 20 6f 6e | 20 42 53 44 20 73 79 73 | etc. on| BSD sys|
|00001ed0| 74 65 6d 73 2e 0a 58 38 | 2e 20 41 64 64 65 64 20 |tems..X8|. Added |
|00001ee0| 4e 44 49 52 20 23 64 65 | 66 69 6e 65 20 66 6f 72 |NDIR #de|fine for|
|00001ef0| 20 48 50 55 58 20 74 6f | 20 23 69 6e 63 6c 75 64 | HPUX to| #includ|
|00001f00| 65 20 3c 6e 64 69 72 2e | 68 3e 20 69 6e 73 74 65 |e <ndir.|h> inste|
|00001f10| 61 64 20 6f 66 20 3c 73 | 79 73 2f 64 69 72 2e 68 |ad of <s|ys/dir.h|
|00001f20| 3e 2e 0a 58 39 2e 20 52 | 65 64 69 64 20 4d 61 6b |>..X9. R|edid Mak|
|00001f30| 65 66 69 6c 65 2c 20 61 | 64 64 69 6e 67 20 6e 65 |efile, a|dding ne|
|00001f40| 78 74 20 28 75 73 65 20 | 73 68 61 72 65 64 20 6c |xt (use |shared l|
|00001f50| 69 62 72 61 72 79 29 2c | 20 73 79 73 76 70 77 20 |ibrary),| sysvpw |
|00001f60| 28 53 79 73 74 65 6d 20 | 56 27 73 0a 58 20 20 20 |(System |V's.X |
|00001f70| 74 68 61 74 20 72 65 71 | 75 69 72 65 20 6c 69 6e |that req|uire lin|
|00001f80| 6b 69 6e 67 20 74 68 65 | 20 6c 69 62 50 57 20 6c |king the| libPW l|
|00001f90| 69 62 72 61 72 79 20 66 | 6f 72 20 72 65 67 65 78 |ibrary f|or regex|
|00001fa0| 20 72 6f 75 74 69 6e 65 | 73 29 2c 20 61 6e 64 20 | routine|s), and |
|00001fb0| 68 70 75 78 0a 58 20 20 | 20 28 73 65 65 20 23 38 |hpux.X | (see #8|
|00001fc0| 20 61 62 6f 76 65 29 2e | 0a 58 0a 41 73 20 75 73 | above).|.X.As us|
|00001fd0| 75 61 6c 2c 20 72 65 70 | 6f 72 74 20 70 72 6f 62 |ual, rep|ort prob|
|00001fe0| 6c 65 6d 73 20 74 6f 20 | 69 6e 66 6f 2d 7a 69 70 |lems to |info-zip|
|00001ff0| 40 77 73 6d 72 2d 73 69 | 6d 74 65 6c 32 30 2e 61 |@wsmr-si|mtel20.a|
|00002000| 72 6d 79 2e 6d 69 6c 2e | 20 20 49 66 20 79 6f 75 |rmy.mil.| If you|
|00002010| 20 77 69 73 68 2c 0a 79 | 6f 75 20 63 61 6e 2c 20 | wish,.y|ou can, |
|00002020| 69 6e 20 61 64 64 69 74 | 69 6f 6e 2c 20 73 65 6e |in addit|ion, sen|
|00002030| 64 20 74 68 65 20 73 61 | 6d 65 20 72 65 70 6f 72 |d the sa|me repor|
|00002040| 74 20 74 6f 20 6d 65 20 | 28 6d 61 64 6c 65 72 40 |t to me |(madler@|
|00002050| 70 69 67 6c 65 74 2e 63 | 61 6c 74 65 63 68 2e 65 |piglet.c|altech.e|
|00002060| 64 75 29 0a 6f 72 20 52 | 69 63 68 20 28 77 61 6c |du).or R|ich (wal|
|00002070| 65 73 40 63 73 2e 75 63 | 6c 61 2e 65 64 75 29 20 |es@cs.uc|la.edu) |
|00002080| 69 66 20 74 68 65 20 70 | 72 6f 62 6c 65 6d 20 69 |if the p|roblem i|
|00002090| 73 20 77 69 74 68 20 69 | 6d 70 6c 6f 73 69 6f 6e |s with i|mplosion|
|000020a0| 20 28 69 2a 20 66 69 6c | 65 73 29 20 66 6f 72 0a | (i* fil|es) for.|
|000020b0| 71 75 69 63 6b 65 72 20 | 72 65 70 6f 6e 73 65 2e |quicker |reponse.|
|000020c0| 0a 58 0a 79 6f 75 72 20 | 68 75 6d 62 6c 65 20 73 |.X.your |humble s|
|000020d0| 65 72 76 61 6e 74 2c 0a | 4d 61 72 6b 20 41 64 6c |ervant,.|Mark Adl|
|000020e0| 65 72 0a 58 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |er.X----|--------|
|000020f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 44 65 63 |--------|---- Dec|
|00002100| 20 20 37 20 20 31 39 39 | 30 20 20 20 76 65 72 73 | 7 199|0 vers|
|00002110| 69 6f 6e 20 30 2e 36 20 | 2d 2d 2d 2d 2d 2d 2d 2d |ion 0.6 |--------|
|00002120| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002130| 0a 47 72 65 65 74 69 6e | 67 73 20 61 6e 64 20 46 |.Greetin|gs and F|
|00002140| 65 6c 69 63 69 74 61 74 | 69 6f 6e 73 20 48 6f 6e |elicitat|ions Hon|
|00002150| 6f 72 61 62 6c 65 20 5a | 69 70 20 43 6f 6d 70 61 |orable Z|ip Compa|
|00002160| 74 72 69 6f 74 73 2c 0a | 58 0a 49 20 68 61 76 65 |triots,.|X.I have|
|00002170| 20 75 70 6c 6f 61 64 65 | 64 20 5a 69 70 20 30 2e | uploade|d Zip 0.|
|00002180| 36 2c 20 77 68 69 63 68 | 20 69 6e 63 6f 72 70 6f |6, which| incorpo|
|00002190| 72 61 74 65 73 20 6d 6f | 73 74 20 6f 66 20 79 6f |rates mo|st of yo|
|000021a0| 75 72 20 68 65 6c 70 66 | 75 6c 20 63 6f 6d 6d 65 |ur helpf|ul comme|
|000021b0| 6e 74 73 2c 0a 74 6f 20 | 53 69 6d 74 65 6c 32 30 |nts,.to |Simtel20|
|000021c0| 2e 41 72 6d 79 2e 4d 69 | 6c 2c 20 61 6e 64 20 69 |.Army.Mi|l, and i|
|000021d0| 74 20 73 68 6f 75 6c 64 | 20 65 76 65 6e 75 61 6c |t should| evenual|
|000021e0| 6c 79 20 65 6e 64 20 75 | 70 20 69 6e 20 3c 57 38 |ly end u|p in <W8|
|000021f0| 53 44 5a 2e 5a 49 50 3e | 20 61 73 0a 5a 49 50 30 |SDZ.ZIP>| as.ZIP0|
|00002200| 36 2e 54 41 52 2d 5a 2e | 20 20 54 68 65 20 6d 6f |6.TAR-Z.| The mo|
|00002210| 73 74 20 73 69 67 6e 69 | 66 69 63 61 6e 74 20 63 |st signi|ficant c|
|00002220| 68 61 6e 67 65 20 69 73 | 20 74 68 65 20 61 64 64 |hange is| the add|
|00002230| 69 74 69 6f 6e 20 6f 66 | 20 65 6e 63 72 79 70 74 |ition of| encrypt|
|00002240| 69 6f 6e 0a 62 6f 74 68 | 20 61 73 20 74 68 65 20 |ion.both| as the |
|00002250| 2d 65 20 6f 70 74 69 6f | 6e 20 69 6e 20 5a 69 70 |-e optio|n in Zip|
|00002260| 2c 20 61 6e 64 20 61 20 | 6e 65 77 20 70 72 6f 67 |, and a |new prog|
|00002270| 72 61 6d 2c 20 5a 69 70 | 43 6c 6f 61 6b 2c 20 74 |ram, Zip|Cloak, t|
|00002280| 68 61 74 20 65 6e 63 72 | 79 70 74 73 0a 61 6e 64 |hat encr|ypts.and|
|00002290| 20 64 65 63 72 79 70 74 | 73 20 7a 69 70 20 65 6e | decrypt|s zip en|
|000022a0| 74 72 69 65 73 2e 20 20 | 54 68 69 73 20 73 75 72 |tries. |This sur|
|000022b0| 65 6c 79 20 61 64 64 73 | 20 73 6f 6d 65 20 6e 65 |ely adds| some ne|
|000022c0| 77 20 70 6f 72 74 61 62 | 69 6c 69 74 79 20 70 72 |w portab|ility pr|
|000022d0| 6f 62 6c 65 6d 73 2c 0a | 64 75 65 20 74 6f 20 74 |oblems,.|due to t|
|000022e0| 68 65 20 67 65 74 70 28 | 29 20 72 6f 75 74 69 6e |he getp(|) routin|
|000022f0| 65 20 77 68 69 63 68 20 | 72 65 61 64 73 20 61 20 |e which |reads a |
|00002300| 70 61 73 73 77 6f 72 64 | 20 66 72 6f 6d 20 74 68 |password| from th|
|00002310| 65 20 74 65 72 6d 69 6e | 61 6c 20 77 69 74 68 20 |e termin|al with |
|00002320| 6e 6f 0a 65 63 68 6f 69 | 6e 67 2e 20 20 57 65 27 |no.echoi|ng. We'|
|00002330| 6c 6c 20 73 65 65 20 68 | 6f 77 20 77 65 6c 6c 20 |ll see h|ow well |
|00002340| 74 68 69 73 20 66 6c 69 | 65 73 20 2e 2e 2e 0a 58 |this fli|es ....X|
|00002350| 0a 49 66 20 73 6f 6d 65 | 6f 6e 65 20 77 61 6e 74 |.If some|one want|
|00002360| 73 20 74 6f 20 50 4b 5a | 49 50 20 75 70 20 74 68 |s to PKZ|IP up th|
|00002370| 65 20 74 61 72 2e 5a 20 | 66 69 6c 65 2c 20 70 6c |e tar.Z |file, pl|
|00002380| 65 61 73 65 20 64 6f 20 | 73 6f 2e 20 20 49 20 64 |ease do |so. I d|
|00002390| 69 64 6e 27 74 20 7a 69 | 70 0a 69 74 20 75 70 20 |idn't zi|p.it up |
|000023a0| 6d 79 73 65 6c 66 20 62 | 65 63 61 75 73 65 20 61 |myself b|ecause a|
|000023b0| 29 20 49 27 6d 20 6c 61 | 7a 79 2c 20 61 6e 64 20 |) I'm la|zy, and |
|000023c0| 62 29 20 50 4b 5a 49 50 | 20 63 61 6e 20 63 6f 6d |b) PKZIP| can com|
|000023d0| 70 72 65 73 73 20 69 74 | 20 62 65 74 74 65 72 0a |press it| better.|
|000023e0| 61 6e 79 68 6f 77 2c 20 | 61 6e 64 20 49 20 64 6f |anyhow, |and I do|
|000023f0| 6e 27 74 20 68 61 76 65 | 20 61 20 50 43 2e 0a 58 |n't have| a PC..X|
|00002400| 0a 41 6c 73 6f 2c 20 74 | 68 65 72 65 20 69 73 20 |.Also, t|here is |
|00002410| 61 6e 20 45 58 50 4f 52 | 54 20 73 79 6d 62 6f 6c |an EXPOR|T symbol|
|00002420| 20 75 73 65 64 20 74 6f | 20 72 65 6d 6f 76 65 20 | used to| remove |
|00002430| 65 6e 63 72 79 70 74 69 | 6f 6e 2c 20 73 6f 20 49 |encrypti|on, so I|
|00002440| 20 63 61 6e 20 6d 61 6b | 65 0a 61 6e 20 65 78 70 | can mak|e.an exp|
|00002450| 6f 72 74 20 76 65 72 73 | 69 6f 6e 20 74 68 61 74 |ort vers|ion that|
|00002460| 20 64 6f 65 73 20 6e 6f | 74 20 68 61 76 65 20 2d | does no|t have -|
|00002470| 65 20 6f 72 20 5a 69 70 | 43 6c 6f 61 6b 2e 20 20 |e or Zip|Cloak. |
|00002480| 54 68 69 73 20 76 65 72 | 73 69 6f 6e 20 77 69 6c |This ver|sion wil|
|00002490| 6c 0a 73 69 6d 70 6c 79 | 20 62 65 20 6d 69 73 73 |l.simply| be miss|
|000024a0| 69 6e 67 20 61 20 66 65 | 77 20 73 6f 75 72 63 65 |ing a fe|w source|
|000024b0| 20 66 69 6c 65 73 20 61 | 6e 64 20 68 61 76 65 20 | files a|nd have |
|000024c0| 61 20 64 69 66 66 65 72 | 65 6e 74 20 4d 61 6b 65 |a differ|ent Make|
|000024d0| 66 69 6c 65 2e 0a 58 0a | 49 20 61 6c 73 6f 20 61 |file..X.|I also a|
|000024e0| 64 64 65 64 20 61 20 66 | 65 77 20 73 79 73 74 65 |dded a f|ew syste|
|000024f0| 6d 73 20 74 6f 20 74 68 | 65 20 4d 61 6b 65 66 69 |ms to th|e Makefi|
|00002500| 6c 65 2c 20 61 6e 64 20 | 6d 61 64 65 20 73 6f 6d |le, and |made som|
|00002510| 65 20 6f 74 68 65 72 20 | 63 68 61 6e 67 65 73 20 |e other |changes |
|00002520| 74 6f 0a 69 74 20 62 61 | 73 65 64 20 6f 6e 20 61 |to.it ba|sed on a|
|00002530| 6c 6c 20 79 6f 75 72 20 | 64 65 74 61 69 6c 65 64 |ll your |detailed|
|00002540| 20 63 6f 6d 6d 65 6e 74 | 73 2e 20 20 49 66 20 69 | comment|s. If i|
|00002550| 74 20 73 74 69 6c 6c 20 | 77 6f 72 6b 73 20 61 66 |t still |works af|
|00002560| 74 65 72 20 61 6c 6c 20 | 74 68 61 74 2c 0a 49 27 |ter all |that,.I'|
|00002570| 6c 6c 20 62 65 20 61 6d | 61 7a 65 64 2e 0a 58 0a |ll be am|azed..X.|
|00002580| 54 68 6f 73 65 20 61 6e | 64 20 6f 74 68 65 72 20 |Those an|d other |
|00002590| 63 68 61 6e 67 65 73 20 | 66 72 6f 6d 20 30 2e 35 |changes |from 0.5|
|000025a0| 20 74 6f 20 30 2e 36 20 | 61 72 65 20 64 65 74 61 | to 0.6 |are deta|
|000025b0| 69 6c 65 64 20 61 74 20 | 74 68 65 20 65 6e 64 20 |iled at |the end |
|000025c0| 6f 66 20 74 68 69 73 20 | 6e 6f 74 65 2e 0a 58 0a |of this |note..X.|
|000025d0| 49 20 68 61 76 65 20 6e | 6f 74 20 61 64 64 72 65 |I have n|ot addre|
|000025e0| 73 73 65 64 20 74 68 65 | 20 70 6f 72 74 61 62 69 |ssed the| portabi|
|000025f0| 6c 69 74 79 20 70 72 6f | 62 6c 65 6d 20 77 69 74 |lity pro|blem wit|
|00002600| 68 20 74 68 65 20 69 6d | 70 6c 6f 64 65 20 72 6f |h the im|plode ro|
|00002610| 75 74 69 6e 65 73 2c 0a | 73 69 6e 63 65 20 74 68 |utines,.|since th|
|00002620| 61 74 20 69 73 20 52 69 | 63 68 27 73 20 64 6f 6d |at is Ri|ch's dom|
|00002630| 61 69 6e 2e 20 20 49 20 | 68 61 76 65 20 6e 6f 20 |ain. I |have no |
|00002640| 69 64 65 61 20 77 68 61 | 74 20 69 73 20 63 61 75 |idea wha|t is cau|
|00002650| 73 69 6e 67 20 69 74 2e | 20 20 28 46 6f 72 20 74 |sing it.| (For t|
|00002660| 68 6f 73 65 0a 77 68 6f | 20 64 6f 6e 27 74 20 6b |hose.who| don't k|
|00002670| 6e 6f 77 2c 20 6f 6e 65 | 20 73 79 73 74 65 6d 20 |now, one| system |
|00002680| 70 72 6f 64 75 63 65 64 | 20 72 65 6d 61 72 6b 61 |produced| remarka|
|00002690| 62 6c 65 20 39 30 25 20 | 63 6f 6d 70 72 65 73 73 |ble 90% |compress|
|000026a0| 69 6f 6e 20 72 61 74 65 | 73 20 77 69 74 68 0a 69 |ion rate|s with.i|
|000026b0| 6d 70 6c 6f 64 65 2c 20 | 62 75 74 20 61 6c 61 73 |mplode, |but alas|
|000026c0| 2c 20 69 74 20 69 73 20 | 61 20 62 75 67 2e 29 0a |, it is |a bug.).|
|000026d0| 58 0a 4f 6e 65 20 66 65 | 6c 6c 6f 77 20 63 6f 6d |X.One fe|llow com|
|000026e0| 70 6c 61 69 6e 65 64 20 | 74 68 61 74 20 7a 69 70 |plained |that zip|
|000026f0| 70 69 6e 67 20 75 70 20 | 74 68 65 20 52 45 41 44 |ping up |the READ|
|00002700| 4d 45 20 66 69 6c 65 20 | 72 65 73 75 6c 74 73 20 |ME file |results |
|00002710| 69 6e 20 61 20 7a 69 70 | 20 66 69 6c 65 0a 74 68 |in a zip| file.th|
|00002720| 61 74 20 69 73 20 6c 61 | 72 67 65 72 20 74 68 61 |at is la|rger tha|
|00002730| 6e 20 74 68 65 20 6f 72 | 69 67 69 6e 61 6c 2c 20 |n the or|iginal, |
|00002740| 65 76 65 6e 20 74 68 6f | 75 67 68 20 5a 69 70 20 |even tho|ugh Zip |
|00002750| 63 6c 61 69 6d 73 20 69 | 74 20 63 6f 6d 70 72 65 |claims i|t compre|
|00002760| 73 73 65 64 20 69 74 2e | 0a 57 65 6c 6c 2c 20 69 |ssed it.|.Well, i|
|00002770| 74 20 64 69 64 20 63 6f | 6d 70 72 65 73 73 20 69 |t did co|mpress i|
|00002780| 74 2c 20 62 75 74 20 74 | 68 65 20 5a 49 50 20 66 |t, but t|he ZIP f|
|00002790| 69 6c 65 20 66 6f 72 6d | 61 74 20 68 61 73 20 61 |ile form|at has a|
|000027a0| 6e 20 6f 76 65 72 68 65 | 61 64 20 6f 66 0a 58 37 |n overhe|ad of.X7|
|000027b0| 36 2b 32 2a 4e 20 62 79 | 74 65 73 20 70 65 72 20 |6+2*N by|tes per |
|000027c0| 66 69 6c 65 2b 32 32 20 | 62 79 74 65 73 2c 20 77 |file+22 |bytes, w|
|000027d0| 68 65 72 65 20 4e 20 69 | 73 20 74 68 65 20 6c 65 |here N i|s the le|
|000027e0| 6e 67 74 68 20 6f 66 20 | 74 68 65 20 66 69 6c 65 |ngth of |the file|
|000027f0| 20 6e 61 6d 65 2e 0a 41 | 6e 64 20 74 68 61 74 27 | name..A|nd that'|
|00002800| 73 20 77 69 74 68 6f 75 | 74 20 63 6f 6d 6d 65 6e |s withou|t commen|
|00002810| 74 73 20 6f 72 20 22 65 | 78 74 72 61 22 20 69 6e |ts or "e|xtra" in|
|00002820| 66 6f 72 6d 61 74 69 6f | 6e 2e 20 20 53 6f 2c 20 |formatio|n. So, |
|00002830| 61 20 7a 69 70 20 66 69 | 6c 65 20 77 69 74 68 20 |a zip fi|le with |
|00002840| 61 0a 73 69 6e 67 6c 65 | 20 66 69 6c 65 20 77 68 |a.single| file wh|
|00002850| 6f 73 65 20 6e 61 6d 65 | 20 68 61 73 20 73 69 78 |ose name| has six|
|00002860| 20 63 68 61 72 61 63 74 | 65 72 73 20 68 61 73 20 | charact|ers has |
|00002870| 61 6e 20 6f 76 65 72 68 | 65 61 64 20 6f 66 20 31 |an overh|ead of 1|
|00002880| 31 30 20 62 79 74 65 73 | 2e 0a 52 45 41 44 4d 45 |10 bytes|..README|
|00002890| 20 67 65 74 73 20 73 68 | 72 75 6e 6b 20 62 79 20 | gets sh|runk by |
|000028a0| 31 36 25 20 66 72 6f 6d | 20 32 37 34 20 62 79 74 |16% from| 274 byt|
|000028b0| 65 73 20 74 6f 20 32 33 | 30 20 62 79 74 65 73 2c |es to 23|0 bytes,|
|000028c0| 20 72 65 73 75 6c 74 69 | 6e 67 20 69 6e 20 61 20 | resulti|ng in a |
|000028d0| 74 6f 74 61 6c 0a 7a 69 | 70 20 66 69 6c 65 20 73 |total.zi|p file s|
|000028e0| 69 7a 65 20 6f 66 20 33 | 34 30 20 62 79 74 65 73 |ize of 3|40 bytes|
|000028f0| 2d 2d 2d 6c 61 72 67 65 | 72 20 74 68 61 6e 20 74 |---large|r than t|
|00002900| 68 65 20 6f 72 69 67 69 | 6e 61 6c 20 66 69 6c 65 |he origi|nal file|
|00002910| 20 28 32 37 34 20 62 79 | 74 65 73 29 2e 0a 54 68 | (274 by|tes)..Th|
|00002920| 65 20 6d 6f 72 61 6c 20 | 69 73 20 64 6f 6e 27 74 |e moral |is don't|
|00002930| 20 65 78 70 65 63 74 20 | 7a 69 70 20 74 6f 20 63 | expect |zip to c|
|00002940| 6f 6d 70 72 65 73 73 20 | 61 20 73 69 6e 67 6c 65 |ompress |a single|
|00002950| 20 73 6d 61 6c 6c 20 66 | 69 6c 65 2e 20 20 54 68 | small f|ile. Th|
|00002960| 65 20 6f 74 68 65 72 0a | 6d 6f 72 61 6c 20 69 73 |e other.|moral is|
|00002970| 20 75 73 65 20 75 6e 7a | 69 70 20 2d 76 20 74 6f | use unz|ip -v to|
|00002980| 20 73 65 65 20 74 68 65 | 20 63 6f 6d 70 72 65 73 | see the| compres|
|00002990| 73 69 6f 6e 2e 0a 58 0a | 53 6f 6d 65 6f 6e 65 20 |sion..X.|Someone |
|000029a0| 65 6c 73 65 20 61 73 6b | 65 64 20 61 62 6f 75 74 |else ask|ed about|
|000029b0| 20 6d 75 6c 74 69 2d 64 | 69 73 6b 20 7a 69 70 20 | multi-d|isk zip |
|000029c0| 66 69 6c 65 73 2e 20 20 | 49 27 6d 20 6e 6f 74 20 |files. |I'm not |
|000029d0| 73 75 72 65 20 49 20 62 | 65 6c 69 65 76 65 20 69 |sure I b|elieve i|
|000029e0| 6e 0a 74 68 6f 73 65 2c | 20 73 69 6e 63 65 20 50 |n.those,| since P|
|000029f0| 4b 5a 49 50 20 61 6e 64 | 20 50 4b 55 4e 5a 49 50 |KZIP and| PKUNZIP|
|00002a00| 20 64 6f 20 6e 6f 74 20 | 61 70 70 65 61 72 20 74 | do not |appear t|
|00002a10| 6f 20 73 75 70 70 70 6f | 72 74 20 74 68 65 6d 20 |o supppo|rt them |
|00002a20| 28 74 68 6f 75 67 68 20 | 69 74 20 69 73 0a 70 61 |(though |it is.pa|
|00002a30| 72 74 20 6f 66 20 74 68 | 65 20 5a 49 50 20 66 69 |rt of th|e ZIP fi|
|00002a40| 6c 65 20 64 65 66 69 6e | 69 74 69 6f 6e 20 69 6e |le defin|ition in|
|00002a50| 20 41 50 50 4e 4f 54 45 | 2e 54 58 54 29 2e 20 20 | APPNOTE|.TXT). |
|00002a60| 57 68 61 74 20 49 20 77 | 61 73 20 70 6c 61 6e 6e |What I w|as plann|
|00002a70| 69 6e 67 20 6f 6e 0a 64 | 6f 69 6e 67 20 66 6f 72 |ing on.d|oing for|
|00002a80| 20 74 68 61 74 20 63 61 | 73 65 20 77 61 73 20 74 | that ca|se was t|
|00002a90| 6f 20 77 72 69 74 65 20 | 61 20 5a 69 70 53 70 6c |o write |a ZipSpl|
|00002aa0| 69 74 20 70 72 6f 67 72 | 61 6d 20 74 68 61 74 20 |it progr|am that |
|00002ab0| 77 6f 75 6c 64 20 74 61 | 6b 65 20 61 20 6c 61 72 |would ta|ke a lar|
|00002ac0| 67 65 0a 7a 69 70 20 66 | 69 6c 65 20 61 6e 64 20 |ge.zip f|ile and |
|00002ad0| 74 72 79 20 74 6f 20 6f | 70 74 69 6d 61 6c 6c 79 |try to o|ptimally|
|00002ae0| 20 73 70 6c 69 74 20 69 | 74 20 69 6e 74 6f 20 74 | split i|t into t|
|00002af0| 68 65 20 66 65 77 65 73 | 74 20 6e 75 6d 62 65 72 |he fewes|t number|
|00002b00| 20 6f 66 20 7a 69 70 20 | 66 69 6c 65 73 0a 74 68 | of zip |files.th|
|00002b10| 61 74 20 61 72 65 20 61 | 6c 6c 20 6c 65 73 73 20 |at are a|ll less |
|00002b20| 74 68 61 6e 20 74 68 65 | 20 73 70 65 63 69 66 69 |than the| specifi|
|00002b30| 65 64 20 73 69 7a 65 2e | 20 20 45 61 63 68 20 77 |ed size.| Each w|
|00002b40| 6f 75 6c 64 20 62 65 20 | 61 20 63 6f 6d 70 6c 65 |ould be |a comple|
|00002b50| 74 65 2c 20 73 74 61 6e | 64 0a 61 6c 6f 6e 65 20 |te, stan|d.alone |
|00002b60| 7a 69 70 20 66 69 6c 65 | 2d 2d 2d 6e 6f 74 20 70 |zip file|---not p|
|00002b70| 61 72 74 20 6f 66 20 61 | 20 73 69 6e 67 6c 65 2c |art of a| single,|
|00002b80| 20 6d 75 6c 74 69 2d 64 | 69 73 6b 20 7a 69 70 20 | multi-d|isk zip |
|00002b90| 66 69 6c 65 2e 20 20 54 | 68 65 72 65 20 77 6f 75 |file. T|here wou|
|00002ba0| 6c 64 0a 61 6c 73 6f 20 | 62 65 20 61 20 5a 69 70 |ld.also |be a Zip|
|00002bb0| 4d 65 72 67 65 20 70 72 | 6f 67 72 61 6d 2e 0a 58 |Merge pr|ogram..X|
|00002bc0| 0a 54 68 69 73 20 69 73 | 20 74 68 65 20 76 65 72 |.This is| the ver|
|00002bd0| 73 69 6f 6e 20 6f 66 20 | 5a 69 70 20 74 68 61 74 |sion of |Zip that|
|00002be0| 20 77 69 6c 6c 20 6c 69 | 76 65 20 69 6e 20 69 6e | will li|ve in in|
|00002bf0| 66 61 6d 79 20 28 6e 6f | 74 65 20 74 68 65 20 72 |famy (no|te the r|
|00002c00| 65 76 69 73 69 6f 6e 20 | 64 61 74 65 29 2e 0a 4f |evision |date)..O|
|00002c10| 66 20 63 6f 75 72 73 65 | 2c 20 73 6f 6d 65 20 63 |f course|, some c|
|00002c20| 75 72 72 65 6e 74 20 50 | 72 65 73 69 64 65 6e 74 |urrent P|resident|
|00002c30| 73 20 6f 66 20 74 68 65 | 20 55 6e 69 74 65 64 20 |s of the| United |
|00002c40| 53 74 61 74 65 73 20 74 | 68 69 6e 6b 20 74 68 61 |States t|hink tha|
|00002c50| 74 20 73 68 6f 75 6c 64 | 20 62 65 0a 53 65 70 74 |t should| be.Sept|
|00002c60| 65 6d 62 65 72 20 37 74 | 68 2c 20 62 75 74 20 49 |ember 7t|h, but I|
|00002c70| 20 77 6f 6e 27 74 20 6e | 61 6d 65 20 61 6e 79 20 | won't n|ame any |
|00002c80| 6e 61 6d 65 73 2e 0a 58 | 0a 49 20 61 6d 20 67 6f |names..X|.I am go|
|00002c90| 69 6e 67 20 6f 6e 20 76 | 61 63 61 74 69 6f 6e 20 |ing on v|acation |
|00002ca0| 66 6f 72 20 61 62 6f 75 | 74 20 74 77 6f 20 77 65 |for abou|t two we|
|00002cb0| 65 6b 73 2c 20 73 6f 20 | 49 20 65 78 70 65 63 74 |eks, so |I expect|
|00002cc0| 20 74 6f 20 66 69 6e 64 | 20 6d 61 6e 79 20 6e 65 | to find| many ne|
|00002cd0| 77 0a 70 72 6f 62 6c 65 | 6d 73 20 72 65 70 6f 72 |w.proble|ms repor|
|00002ce0| 74 65 64 20 75 70 6f 6e | 20 6d 79 20 72 65 74 75 |ted upon| my retu|
|00002cf0| 72 6e 2e 0a 58 0a 41 6e | 64 20 6c 61 73 74 6c 79 |rn..X.An|d lastly|
|00002d00| 2c 20 66 6f 72 20 6d 79 | 20 48 6f 6c 69 64 61 79 |, for my| Holiday|
|00002d10| 20 47 72 65 65 74 69 6e | 67 73 3a 20 50 61 72 74 | Greetin|gs: Part|
|00002d20| 79 20 4f 6e 20 44 75 64 | 65 73 2e 0a 58 0a 4d 61 |y On Dud|es..X.Ma|
|00002d30| 72 6b 20 41 64 6c 65 72 | 0a 6d 61 64 6c 65 72 40 |rk Adler|.madler@|
|00002d40| 70 69 67 6c 65 74 2e 63 | 61 6c 74 65 63 68 2e 65 |piglet.c|altech.e|
|00002d50| 64 75 0a 58 0a 58 0a 48 | 65 72 65 20 61 72 65 20 |du.X.X.H|ere are |
|00002d60| 74 68 65 20 63 68 61 6e | 67 65 73 20 66 72 6f 6d |the chan|ges from|
|00002d70| 20 5a 69 70 20 30 2e 35 | 20 74 6f 20 5a 69 70 20 | Zip 0.5| to Zip |
|00002d80| 30 2e 36 3a 0a 58 0a 58 | 31 2e 20 20 4d 69 6e 6f |0.6:.X.X|1. Mino|
|00002d90| 72 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 20 |r docume|ntation |
|00002da0| 63 68 61 6e 67 65 73 20 | 28 7a 69 70 2e 31 20 61 |changes |(zip.1 a|
|00002db0| 6e 64 20 7a 69 70 2e 6d | 61 6e 29 2e 0a 58 32 2e |nd zip.m|an)..X2.|
|00002dc0| 20 20 46 69 78 65 64 20 | 61 6e 20 65 6d 62 61 72 | Fixed |an embar|
|00002dd0| 72 61 73 69 6e 67 20 6c | 61 63 6b 20 6f 66 20 72 |rasing l|ack of r|
|00002de0| 65 63 75 72 73 69 6f 6e | 20 69 6e 20 6f 70 65 6e |ecursion| in open|
|00002df0| 64 2f 72 65 61 64 64 2f | 63 6c 6f 73 65 64 20 66 |d/readd/|closed f|
|00002e00| 75 6e 63 74 69 6f 6e 73 | 0a 58 20 20 20 20 74 68 |unctions|.X th|
|00002e10| 61 74 20 6f 6e 6c 79 20 | 65 78 69 73 74 65 64 20 |at only |existed |
|00002e20| 69 6e 20 30 2e 35 2e 0a | 58 33 2e 20 20 4d 6f 76 |in 0.5..|X3. Mov|
|00002e30| 65 64 20 24 28 4c 44 46 | 4c 41 47 53 29 20 74 6f |ed $(LDF|LAGS) to|
|00002e40| 20 65 6e 64 20 6f 66 20 | 74 68 65 20 6c 69 6e 6b | end of |the link|
|00002e50| 69 6e 67 20 63 6f 6d 6d | 61 6e 64 20 6c 69 6e 65 |ing comm|and line|
|00002e60| 20 69 6e 20 4d 61 6b 65 | 66 69 6c 65 2e 0a 58 34 | in Make|file..X4|
|00002e70| 2e 20 20 41 64 64 65 64 | 20 6d 61 6b 65 20 64 6e |. Added| make dn|
|00002e80| 69 78 20 66 6f 72 20 44 | 4e 49 58 20 35 2e 32 2c |ix for D|NIX 5.2,|
|00002e90| 20 35 2e 33 20 6e 6f 74 | 20 75 73 69 6e 67 20 6f | 5.3 not| using o|
|00002ea0| 70 74 69 6d 69 7a 61 74 | 69 6f 6e 20 28 6e 6f 20 |ptimizat|ion (no |
|00002eb0| 2d 4f 29 2e 0a 58 35 2e | 20 20 57 72 6f 74 65 20 |-O)..X5.| Wrote |
|00002ec0| 5a 69 70 43 6c 6f 61 6b | 20 66 6f 72 20 65 6e 63 |ZipCloak| for enc|
|00002ed0| 72 79 70 74 69 6f 6e 20 | 61 6e 64 20 64 65 63 72 |ryption |and decr|
|00002ee0| 79 70 74 69 6f 6e 2e 0a | 58 36 2e 20 20 52 69 63 |yption..|X6. Ric|
|00002ef0| 68 20 63 68 61 6e 67 65 | 64 20 74 68 65 20 6f 75 |h change|d the ou|
|00002f00| 74 70 75 74 20 72 6f 75 | 74 69 6e 65 73 20 6f 66 |tput rou|tines of|
|00002f10| 20 69 6d 70 6c 6f 64 65 | 20 74 6f 20 75 73 65 20 | implode| to use |
|00002f20| 7a 66 77 72 69 74 65 20 | 61 6e 64 20 7a 70 75 74 |zfwrite |and zput|
|00002f30| 63 20 74 6f 0a 58 20 20 | 20 20 70 72 6f 76 69 64 |c to.X | provid|
|00002f40| 65 20 68 6f 6f 6b 73 20 | 66 6f 72 20 65 6e 63 72 |e hooks |for encr|
|00002f50| 79 70 74 69 6f 6e 20 28 | 64 65 66 69 6e 65 64 20 |yption (|defined |
|00002f60| 69 6e 20 63 72 79 70 74 | 2e 68 29 2e 20 20 41 6c |in crypt|.h). Al|
|00002f70| 73 6f 20 72 65 6d 6f 76 | 65 64 0a 58 20 20 20 20 |so remov|ed.X |
|00002f80| 66 75 6e 63 74 69 6f 6e | 20 70 72 6f 74 6f 74 79 |function| prototy|
|00002f90| 70 65 73 20 75 6e 6c 65 | 73 73 20 50 52 4f 54 4f |pes unle|ss PROTO|
|00002fa0| 20 64 65 66 69 6e 65 64 | 2e 0a 58 37 2e 20 20 41 | defined|..X7. A|
|00002fb0| 64 64 65 64 20 65 6e 63 | 72 79 70 74 69 6f 6e 20 |dded enc|ryption |
|00002fc0| 28 2d 65 29 20 74 6f 20 | 5a 69 70 2e 0a 58 38 2e |(-e) to |Zip..X8.|
|00002fd0| 20 20 41 64 64 65 64 20 | 6d 61 6b 65 20 70 79 72 | Added |make pyr|
|00002fe0| 61 6d 69 64 20 28 75 73 | 65 20 72 69 6e 64 65 78 |amid (us|e rindex|
|00002ff0| 28 29 20 69 6e 73 74 65 | 61 64 20 6f 66 20 73 74 |() inste|ad of st|
|00003000| 72 72 63 68 72 28 29 29 | 2e 0a 58 39 2e 20 20 43 |rrchr())|..X9. C|
|00003010| 68 61 6e 67 65 64 20 6d | 61 6b 65 20 74 6f 20 24 |hanged m|ake to $|
|00003020| 28 4d 41 4b 45 29 20 61 | 6e 64 20 63 63 20 74 6f |(MAKE) a|nd cc to|
|00003030| 20 24 28 43 43 29 20 69 | 6e 20 4d 61 6b 65 66 69 | $(CC) i|n Makefi|
|00003040| 6c 65 2e 0a 58 31 30 2e | 20 54 6f 6f 6b 20 6f 75 |le..X10.| Took ou|
|00003050| 74 20 73 74 72 69 70 20 | 69 6e 20 4d 61 6b 65 66 |t strip |in Makef|
|00003060| 69 6c 65 2e 0a 58 31 31 | 2e 20 43 68 61 6e 67 65 |ile..X11|. Change|
|00003070| 64 20 79 65 61 72 20 66 | 72 6f 6d 20 31 39 39 31 |d year f|rom 1991|
|00003080| 20 74 6f 20 31 39 39 30 | 2e 20 20 28 48 6f 77 27 | to 1990|. (How'|
|00003090| 64 20 2a 74 68 61 74 2a | 20 67 65 74 20 69 6e 20 |d *that*| get in |
|000030a0| 74 68 65 72 65 3f 20 20 | 4f 66 20 63 6f 75 72 73 |there? |Of cours|
|000030b0| 65 2c 0a 58 20 20 20 20 | 69 74 27 73 20 6e 6f 74 |e,.X |it's not|
|000030c0| 20 61 73 20 62 61 64 20 | 61 73 20 77 68 65 6e 20 | as bad |as when |
|000030d0| 49 20 77 72 6f 74 65 20 | 61 20 63 68 65 63 6b 20 |I wrote |a check |
|000030e0| 74 68 65 20 6f 74 68 65 | 72 20 64 61 79 20 61 6e |the othe|r day an|
|000030f0| 64 20 64 61 74 65 64 20 | 69 74 20 31 39 37 37 2e |d dated |it 1977.|
|00003100| 0a 58 20 20 20 20 49 20 | 74 68 69 6e 6b 20 6d 79 |.X I |think my|
|00003110| 20 62 72 61 69 6e 20 63 | 65 6c 6c 20 69 73 6e 27 | brain c|ell isn'|
|00003120| 74 20 77 6f 72 6b 69 6e | 67 20 61 73 20 77 65 6c |t workin|g as wel|
|00003130| 6c 20 61 73 20 69 74 20 | 75 73 65 64 20 74 6f 2e |l as it |used to.|
|00003140| 29 0a 58 31 32 2e 20 41 | 64 64 65 64 20 6d 61 6b |).X12. A|dded mak|
|00003150| 65 20 63 72 61 79 20 28 | 75 73 65 20 73 63 63 20 |e cray (|use scc |
|00003160| 69 6e 73 74 65 61 64 20 | 6f 66 20 63 63 29 2e 0a |instead |of cc)..|
|00003170| 58 31 33 2e 20 41 64 64 | 65 64 20 6d 61 6b 65 20 |X13. Add|ed make |
|00003180| 61 6d 64 61 68 6c 20 28 | 75 73 65 20 73 79 73 74 |amdahl (|use syst|
|00003190| 65 6d 28 29 20 69 6e 73 | 74 65 61 64 20 6f 66 20 |em() ins|tead of |
|000031a0| 72 6d 64 69 72 28 29 29 | 2e 0a 58 31 34 2e 20 41 |rmdir())|..X14. A|
|000031b0| 64 64 65 64 20 65 6e 74 | 72 79 20 6f 66 20 6f 6e |dded ent|ry of on|
|000031c0| 65 2d 6c 69 6e 65 20 63 | 6f 6d 6d 65 6e 74 73 20 |e-line c|omments |
|000031d0| 66 6f 72 20 61 64 64 65 | 64 20 66 69 6c 65 73 20 |for adde|d files |
|000031e0| 28 2d 63 29 2e 0a 58 31 | 35 2e 20 50 75 74 20 63 |(-c)..X1|5. Put c|
|000031f0| 6f 6d 6d 65 6e 74 20 64 | 65 6c 69 6d 69 74 65 72 |omment d|elimiter|
|00003200| 73 20 61 72 6f 75 6e 64 | 20 6e 61 6d 65 20 66 6f |s around| name fo|
|00003210| 6c 6c 6f 77 69 6e 67 20 | 23 65 6e 64 69 66 27 73 |llowing |#endif's|
|00003220| 20 69 6e 20 52 69 63 68 | 27 73 20 63 6f 64 65 2e | in Rich|'s code.|
|00003230| 0a 58 0a 58 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.X.X----|--------|
|00003240| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 20 46 65 62 |--------|---- Feb|
|00003250| 20 31 33 20 20 31 39 39 | 31 20 20 20 76 65 72 73 | 13 199|1 vers|
|00003260| 69 6f 6e 20 30 2e 37 20 | 2d 2d 2d 2d 2d 2d 2d 2d |ion 0.7 |--------|
|00003270| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003280| 0a 58 46 65 6c 6c 6f 77 | 20 73 74 75 63 6b 20 7a |.XFellow| stuck z|
|00003290| 69 70 70 65 72 73 2c 0a | 58 0a 57 65 6c 6c 20 66 |ippers,.|X.Well f|
|000032a0| 6f 6c 6b 73 2c 20 69 74 | 27 73 20 62 65 65 6e 20 |olks, it|'s been |
|000032b0| 61 20 77 68 69 6c 65 20 | 73 69 6e 63 65 20 30 2e |a while |since 0.|
|000032c0| 36 2e 20 73 6f 20 74 68 | 65 72 65 20 68 61 76 65 |6. so th|ere have|
|000032d0| 20 62 65 65 6e 20 61 20 | 6c 6f 74 20 6f 66 0a 63 | been a |lot of.c|
|000032e0| 68 61 6e 67 65 73 20 6f | 6e 20 74 68 65 20 77 61 |hanges o|n the wa|
|000032f0| 79 20 74 6f 20 30 2e 37 | 2e 20 20 54 68 65 20 65 |y to 0.7|. The e|
|00003300| 78 68 61 75 73 74 69 76 | 65 20 6c 69 73 74 69 6e |xhaustiv|e listin|
|00003310| 67 20 69 73 20 62 65 6c | 6f 77 2c 20 62 75 74 20 |g is bel|ow, but |
|00003320| 68 65 72 65 20 61 72 65 | 0a 73 6f 6d 65 20 68 69 |here are|.some hi|
|00003330| 67 68 6c 69 67 68 74 73 | 20 2e 2e 2e 0a 58 0a 49 |ghlights| ....X.I|
|00003340| 6d 70 6c 6f 64 65 20 6e | 6f 77 20 28 61 70 70 65 |mplode n|ow (appe|
|00003350| 61 72 73 29 20 74 6f 20 | 62 65 20 50 4b 55 4e 5a |ars) to |be PKUNZ|
|00003360| 49 50 20 63 6f 6d 70 61 | 74 69 62 6c 65 2e 20 20 |IP compa|tible. |
|00003370| 54 68 65 72 65 20 77 65 | 72 65 20 6d 61 6e 79 20 |There we|re many |
|00003380| 6f 64 64 0a 6c 69 74 74 | 6c 65 20 72 65 71 75 69 |odd.litt|le requi|
|00003390| 72 65 6d 65 6e 74 73 20 | 69 6d 70 6c 6f 73 65 64 |rements |implosed|
|000033a0| 20 62 79 20 74 68 65 20 | 63 6f 64 69 6e 67 20 6f | by the |coding o|
|000033b0| 66 20 50 4b 55 4e 5a 49 | 50 20 74 68 61 74 20 77 |f PKUNZI|P that w|
|000033c0| 65 72 65 20 6f 62 74 61 | 69 6e 65 64 0a 66 72 6f |ere obta|ined.fro|
|000033d0| 6d 20 50 68 69 6c 20 4b | 61 74 7a 20 61 6e 64 20 |m Phil K|atz and |
|000033e0| 61 73 73 6f 63 69 61 74 | 65 73 2e 20 20 4e 6f 77 |associat|es. Now|
|000033f0| 20 74 68 61 74 20 52 69 | 63 68 20 68 61 73 20 74 | that Ri|ch has t|
|00003400| 68 61 74 20 77 6f 72 6b | 69 6e 67 2c 20 68 65 20 |hat work|ing, he |
|00003410| 77 69 6c 6c 0a 6c 69 6b | 65 6c 79 20 62 65 20 77 |will.lik|ely be w|
|00003420| 6f 72 6b 69 6e 67 20 6f | 6e 20 6d 75 63 68 20 66 |orking o|n much f|
|00003430| 61 73 74 65 72 20 73 74 | 72 69 6e 67 20 6d 61 74 |aster st|ring mat|
|00003440| 63 68 69 6e 67 20 72 6f | 75 74 69 6e 65 73 20 74 |ching ro|utines t|
|00003450| 6f 20 73 70 65 65 64 20 | 75 70 0a 69 6d 70 6c 6f |o speed |up.implo|
|00003460| 64 65 2e 0a 58 0a 55 73 | 65 72 20 69 6e 74 65 72 |de..X.Us|er inter|
|00003470| 72 75 70 74 73 20 28 63 | 6f 6e 74 72 6f 6c 2d 43 |rupts (c|ontrol-C|
|00003480| 20 6f 72 20 6b 69 6c 6c | 29 20 61 72 65 20 6e 6f | or kill|) are no|
|00003490| 77 20 63 61 75 67 68 74 | 20 61 6e 64 20 74 68 65 |w caught| and the|
|000034a0| 20 74 65 6d 70 6f 72 61 | 72 79 20 66 69 6c 65 73 | tempora|ry files|
|000034b0| 0a 61 72 65 20 64 65 6c | 65 74 65 64 2c 20 6d 61 |.are del|eted, ma|
|000034c0| 6b 69 6e 67 20 66 6f 72 | 20 61 20 63 6c 65 61 6e |king for| a clean|
|000034d0| 20 67 65 74 61 77 61 79 | 2e 0a 58 0a 53 65 6c 66 | getaway|..X.Self|
|000034e0| 2d 65 78 74 72 61 63 74 | 69 6e 67 20 7a 69 70 20 |-extract|ing zip |
|000034f0| 66 69 6c 65 73 20 66 6f | 72 20 4d 53 44 4f 53 20 |files fo|r MSDOS |
|00003500| 63 61 6e 20 6e 6f 77 20 | 62 65 20 70 72 6f 63 65 |can now |be proce|
|00003510| 73 73 65 64 2c 20 77 69 | 74 68 20 74 68 65 0a 65 |ssed, wi|th the.e|
|00003520| 78 74 65 6e 73 69 6f 6e | 73 20 7a 69 70 2c 20 5a |xtension|s zip, Z|
|00003530| 49 50 2c 20 65 78 65 2c | 20 6f 72 20 45 58 45 2e |IP, exe,| or EXE.|
|00003540| 20 20 54 68 69 73 20 61 | 6c 6c 6f 77 73 20 79 6f | This a|llows yo|
|00003550| 75 20 74 6f 20 6d 61 6b | 65 20 73 65 6c 66 2d 65 |u to mak|e self-e|
|00003560| 78 74 72 61 63 74 69 6e | 67 0a 7a 69 70 20 66 69 |xtractin|g.zip fi|
|00003570| 6c 65 73 20 66 6f 72 20 | 4d 53 44 4f 53 20 62 79 |les for |MSDOS by|
|00003580| 20 74 61 6b 69 6e 67 20 | 61 6e 20 65 78 69 73 74 | taking |an exist|
|00003590| 69 6e 67 20 6f 6e 65 20 | 28 6c 69 6b 65 20 50 4b |ing one |(like PK|
|000035a0| 5a 31 31 30 2e 45 58 45 | 29 20 61 6e 64 0a 64 65 |Z110.EXE|) and.de|
|000035b0| 6c 65 74 69 6e 67 20 61 | 6c 6c 20 74 68 65 20 65 |leting a|ll the e|
|000035c0| 6e 74 72 69 65 73 20 74 | 6f 20 67 65 74 20 61 20 |ntries t|o get a |
|000035d0| 70 72 6f 74 6f 74 79 70 | 65 20 73 65 6c 66 2d 65 |prototyp|e self-e|
|000035e0| 78 74 72 61 63 74 69 6e | 67 20 7a 69 70 20 66 69 |xtractin|g zip fi|
|000035f0| 6c 65 20 74 68 61 74 0a | 63 61 6e 20 62 65 20 63 |le that.|can be c|
|00003600| 6f 70 69 65 64 20 61 6e | 64 20 61 64 64 65 64 20 |opied an|d added |
|00003610| 74 6f 2e 20 20 4f 66 20 | 63 6f 75 72 73 65 2c 20 |to. Of |course, |
|00003620| 79 6f 75 20 73 68 6f 75 | 6c 64 20 6f 6e 6c 79 20 |you shou|ld only |
|00003630| 64 6f 20 74 68 69 73 20 | 69 66 20 79 6f 75 20 61 |do this |if you a|
|00003640| 72 65 0a 61 20 72 65 67 | 69 73 74 65 72 65 64 20 |re.a reg|istered |
|00003650| 75 73 65 72 20 6f 66 20 | 50 4b 5a 49 50 2e 20 20 |user of |PKZIP. |
|00003660| 4e 6f 74 65 20 74 68 61 | 74 20 69 66 20 74 68 65 |Note tha|t if the|
|00003670| 20 66 69 6c 65 20 64 6f | 65 73 20 6e 6f 74 20 65 | file do|es not e|
|00003680| 6e 64 20 69 6e 20 2e 7a | 69 70 2c 0a 79 6f 75 20 |nd in .z|ip,.you |
|00003690| 68 61 76 65 20 74 6f 20 | 67 69 76 65 20 74 68 65 |have to |give the|
|000036a0| 20 66 75 6c 6c 20 6e 61 | 6d 65 2e 0a 58 0a 49 20 | full na|me..X.I |
|000036b0| 68 61 76 65 20 72 65 6c | 61 78 65 64 20 73 6f 6d |have rel|axed som|
|000036c0| 65 20 6f 66 20 74 68 65 | 20 72 65 73 74 72 69 63 |e of the| restric|
|000036d0| 74 69 6f 6e 73 20 6f 6e | 20 7a 69 70 20 66 69 6c |tions on| zip fil|
|000036e0| 65 73 20 74 6f 20 61 6c | 6c 6f 77 20 70 72 6f 63 |es to al|low proc|
|000036f0| 65 73 73 69 6e 67 0a 6f | 6e 65 73 20 77 69 74 68 |essing.o|nes with|
|00003700| 20 22 61 75 74 68 65 6e | 74 69 63 69 74 79 20 76 | "authen|ticity v|
|00003710| 65 72 69 66 69 63 61 74 | 69 6f 6e 22 20 28 61 70 |erificat|ion" (ap|
|00003720| 70 6c 69 65 64 20 62 79 | 20 74 68 65 20 50 55 54 |plied by| the PUT|
|00003730| 41 56 20 70 72 6f 67 72 | 61 6d 20 74 68 61 74 0a |AV progr|am that.|
|00003740| 63 6f 6d 65 73 20 77 69 | 74 68 20 50 4b 5a 49 50 |comes wi|th PKZIP|
|00003750| 29 2e 20 20 4f 66 20 63 | 6f 75 72 73 65 2c 20 74 |). Of c|ourse, t|
|00003760| 68 65 20 61 75 74 68 65 | 6e 74 69 63 69 74 79 20 |he authe|nticity |
|00003770| 6e 6f 20 6c 6f 6e 67 65 | 72 20 63 68 65 63 6b 73 |no longe|r checks|
|00003780| 20 6f 75 74 20 69 66 0a | 79 6f 75 20 6d 75 63 6b | out if.|you muck|
|00003790| 20 77 69 74 68 20 74 68 | 65 20 66 69 6c 65 2c 20 | with th|e file, |
|000037a0| 62 75 74 20 61 74 20 6c | 65 61 73 74 20 79 6f 75 |but at l|east you|
|000037b0| 20 63 61 6e 20 6d 75 63 | 6b 20 77 69 74 68 20 69 | can muc|k with i|
|000037c0| 74 20 6e 6f 77 2e 0a 58 | 0a 54 68 65 20 4d 61 6b |t now..X|.The Mak|
|000037d0| 65 66 69 6c 65 20 68 61 | 73 20 62 65 65 6e 20 63 |efile ha|s been c|
|000037e0| 6f 6e 73 69 64 65 72 61 | 62 6c 79 20 73 69 6d 70 |onsidera|bly simp|
|000037f0| 6c 69 66 69 65 64 2c 20 | 74 68 61 6e 6b 73 20 74 |lified, |thanks t|
|00003800| 6f 20 73 75 67 67 65 73 | 74 69 6f 6e 73 20 66 72 |o sugges|tions fr|
|00003810| 6f 6d 0a 4a 65 61 6e 2d | 4c 6f 75 70 20 47 61 69 |om.Jean-|Loup Gai|
|00003820| 6c 6c 79 2e 20 20 41 6c | 73 6f 2c 20 49 20 77 72 |lly. Al|so, I wr|
|00003830| 6f 74 65 20 6d 79 20 6f | 77 6e 20 73 68 20 65 78 |ote my o|wn sh ex|
|00003840| 70 72 65 73 73 69 6f 6e | 20 6d 61 74 63 68 65 72 |pression| matcher|
|00003850| 2c 20 65 6c 69 6d 69 6e | 61 74 69 6e 67 0a 74 68 |, elimin|ating.th|
|00003860| 65 20 72 65 67 75 6c 61 | 72 20 65 78 70 72 65 73 |e regula|r expres|
|00003870| 73 69 6f 6e 20 68 61 73 | 73 6c 65 73 2c 20 61 6e |sion has|sles, an|
|00003880| 64 20 74 68 65 20 52 45 | 47 45 58 20 73 79 6d 62 |d the RE|GEX symb|
|00003890| 6f 6c 20 61 6e 64 20 2d | 6c 50 57 20 6f 70 74 69 |ol and -|lPW opti|
|000038a0| 6f 6e 73 20 69 6e 0a 74 | 68 65 20 4d 61 6b 65 66 |ons in.t|he Makef|
|000038b0| 69 6c 65 2e 0a 58 0a 4d | 61 6e 79 2c 20 6d 61 6e |ile..X.M|any, man|
|000038c0| 79 20 63 6f 73 6d 65 74 | 69 63 20 63 68 61 6e 67 |y cosmet|ic chang|
|000038d0| 65 73 2c 20 74 68 65 20 | 6d 6f 73 74 20 64 61 6e |es, the |most dan|
|000038e0| 67 65 72 6f 75 73 20 6f | 66 20 77 68 69 63 68 20 |gerous o|f which |
|000038f0| 77 61 73 20 74 75 72 6e | 69 6e 67 20 6f 6e 0a 70 |was turn|ing on.p|
|00003900| 72 6f 74 6f 74 79 70 65 | 73 20 61 67 61 69 6e 20 |rototype|s again |
|00003910| 69 6e 20 74 68 65 20 68 | 6f 70 65 73 20 77 65 20 |in the h|opes we |
|00003920| 63 61 6e 20 67 65 74 20 | 74 68 65 6d 20 74 6f 20 |can get |them to |
|00003930| 77 6f 72 6b 2e 20 20 49 | 66 20 74 68 65 79 20 63 |work. I|f they c|
|00003940| 61 75 73 65 20 79 6f 75 | 0a 70 72 6f 62 6c 65 6d |ause you|.problem|
|00003950| 73 2c 20 72 65 63 6f 72 | 64 20 74 68 65 20 70 72 |s, recor|d the pr|
|00003960| 6f 62 6c 65 6d 73 20 28 | 66 6f 72 20 6d 65 29 2c |oblems (|for me),|
|00003970| 20 61 6e 64 20 74 68 65 | 6e 20 61 64 64 20 61 20 | and the|n add a |
|00003980| 2d 44 4e 4f 50 52 4f 54 | 4f 20 74 6f 20 74 68 65 |-DNOPROT|O to the|
|00003990| 0a 61 70 70 72 6f 70 72 | 69 61 74 65 20 6c 69 6e |.appropr|iate lin|
|000039a0| 65 20 69 6e 20 74 68 65 | 20 4d 61 6b 65 66 69 6c |e in the| Makefil|
|000039b0| 65 20 61 6e 64 20 74 72 | 79 20 61 67 61 69 6e 2e |e and tr|y again.|
|000039c0| 0a 58 0a 54 68 69 73 20 | 76 65 72 73 69 6f 6e 20 |.X.This |version |
|000039d0| 6e 6f 77 20 63 6f 6d 70 | 69 6c 65 73 20 75 6e 64 |now comp|iles und|
|000039e0| 65 72 20 4d 69 63 72 6f | 73 6f 66 74 20 43 20 35 |er Micro|soft C 5|
|000039f0| 2e 31 20 61 6e 64 20 54 | 75 72 62 6f 20 43 2b 2b |.1 and T|urbo C++|
|00003a00| 20 31 2e 30 2c 20 77 69 | 74 68 0a 6d 75 63 68 20 | 1.0, wi|th.much |
|00003a10| 74 68 61 6e 6b 73 20 74 | 6f 20 4a 65 61 6e 2d 4c |thanks t|o Jean-L|
|00003a20| 6f 75 70 20 47 61 69 6c | 6c 79 2e 20 20 49 20 73 |oup Gail|ly. I s|
|00003a30| 61 79 20 22 63 6f 6d 70 | 69 6c 65 73 22 20 61 6e |ay "comp|iles" an|
|00003a40| 64 20 6e 6f 74 20 22 77 | 6f 72 6b 73 22 20 62 65 |d not "w|orks" be|
|00003a50| 63 61 75 73 65 0a 49 20 | 68 61 76 65 20 6e 6f 74 |cause.I |have not|
|00003a60| 20 74 68 6f 72 6f 75 67 | 68 6c 79 20 74 65 73 74 | thoroug|hly test|
|00003a70| 65 64 20 69 74 2e 20 20 | 49 74 20 64 6f 65 73 20 |ed it. |It does |
|00003a80| 77 6f 72 6b 2c 20 62 75 | 74 20 74 68 65 72 65 20 |work, bu|t there |
|00003a90| 6d 61 79 20 62 65 20 65 | 72 72 6f 72 73 20 69 6e |may be e|rrors in|
|00003aa0| 0a 74 68 65 20 70 6f 72 | 74 20 61 73 20 77 65 6c |.the por|t as wel|
|00003ab0| 6c 20 61 73 20 65 72 72 | 6f 72 73 20 69 6e 20 74 |l as err|ors in t|
|00003ac0| 68 65 20 64 65 73 69 67 | 6e 2e 20 20 42 79 20 74 |he desig|n. By t|
|00003ad0| 68 65 20 6c 61 74 74 65 | 72 20 49 20 6d 65 61 6e |he latte|r I mean|
|00003ae0| 20 74 68 61 74 20 74 68 | 65 72 65 0a 6d 61 79 20 | that th|ere.may |
|00003af0| 62 65 20 73 6f 6d 65 20 | 64 69 73 61 67 72 65 65 |be some |disagree|
|00003b00| 6d 65 6e 74 20 6f 76 65 | 72 20 77 68 61 74 20 79 |ment ove|r what y|
|00003b10| 6f 75 20 65 78 70 65 63 | 74 20 69 74 20 74 6f 20 |ou expec|t it to |
|00003b20| 64 6f 20 61 6e 64 20 77 | 68 61 74 20 69 74 20 64 |do and w|hat it d|
|00003b30| 6f 65 73 2c 0a 65 73 70 | 65 63 69 61 6c 6c 79 20 |oes,.esp|ecially |
|00003b40| 77 69 74 68 20 72 65 67 | 61 72 64 73 20 74 6f 20 |with reg|ards to |
|00003b50| 75 70 70 65 72 20 61 6e | 64 20 6c 6f 77 65 72 20 |upper an|d lower |
|00003b60| 63 61 73 65 20 6e 61 6d | 65 73 20 61 6e 64 20 77 |case nam|es and w|
|00003b70| 69 6c 64 63 61 72 64 0a | 70 61 74 74 65 72 6e 73 |ildcard.|patterns|
|00003b80| 2e 20 20 41 6c 73 6f 2c | 20 74 68 65 20 69 6d 70 |. Also,| the imp|
|00003b90| 6c 6f 64 65 20 72 6f 75 | 74 69 6e 65 73 20 64 6f |lode rou|tines do|
|00003ba0| 20 6e 6f 74 20 79 65 74 | 20 77 6f 72 6b 20 75 6e | not yet| work un|
|00003bb0| 64 65 72 20 4d 53 44 4f | 53 2c 20 73 6f 20 74 68 |der MSDO|S, so th|
|00003bc0| 65 0a 63 6f 6d 70 69 6c | 61 74 69 6f 6e 73 20 61 |e.compil|ations a|
|00003bd0| 72 65 20 64 6f 6e 65 20 | 75 73 69 6e 67 20 4e 4f |re done |using NO|
|00003be0| 49 4d 50 4c 4f 44 45 2e | 20 20 54 68 65 72 65 20 |IMPLODE.| There |
|00003bf0| 61 72 65 20 74 77 6f 20 | 64 75 6d 62 20 62 61 74 |are two |dumb bat|
|00003c00| 63 68 20 66 69 6c 65 73 | 20 74 6f 0a 64 6f 20 74 |ch files| to.do t|
|00003c10| 68 65 20 63 6f 6d 70 69 | 6c 65 3a 20 64 6f 74 75 |he compi|le: dotu|
|00003c20| 72 62 6f 63 2e 62 61 74 | 20 61 6e 64 20 64 6f 6d |rboc.bat| and dom|
|00003c30| 73 63 2e 62 61 74 2e 20 | 20 49 66 20 73 6f 6d 65 |sc.bat. | If some|
|00003c40| 6f 6e 65 20 77 6f 75 6c | 64 20 6c 69 6b 65 20 74 |one woul|d like t|
|00003c50| 6f 0a 77 72 69 74 65 20 | 6d 61 6b 65 20 66 69 6c |o.write |make fil|
|00003c60| 65 73 20 66 6f 72 20 74 | 68 65 20 6d 61 6b 65 20 |es for t|he make |
|00003c70| 75 74 69 6c 69 74 69 65 | 73 20 74 68 61 74 20 63 |utilitie|s that c|
|00003c80| 6f 6d 65 20 77 69 74 68 | 20 74 68 6f 73 65 20 6c |ome with| those l|
|00003c90| 61 6e 67 75 61 67 65 73 | 2c 0a 70 6c 65 61 73 65 |anguages|,.please|
|00003ca0| 20 62 65 20 6d 79 20 67 | 75 65 73 74 2e 20 20 49 | be my g|uest. I|
|00003cb0| 27 6d 20 6a 75 73 74 20 | 74 6f 6f 20 6c 61 7a 79 |'m just |too lazy|
|00003cc0| 2e 20 20 48 6f 77 65 76 | 65 72 2c 20 49 20 77 6f |. Howev|er, I wo|
|00003cd0| 75 6c 64 20 70 72 6f 62 | 61 62 6c 79 20 72 65 73 |uld prob|ably res|
|00003ce0| 69 73 74 0a 69 6e 63 6c | 75 64 69 6e 67 20 6d 61 |ist.incl|uding ma|
|00003cf0| 6b 65 20 66 69 6c 65 73 | 20 74 68 61 74 20 72 65 |ke files| that re|
|00003d00| 71 75 69 72 65 20 61 20 | 6d 61 6b 65 20 75 74 69 |quire a |make uti|
|00003d10| 6c 69 74 79 20 74 68 61 | 74 20 64 6f 65 73 20 6e |lity tha|t does n|
|00003d20| 6f 74 20 63 6f 6d 65 20 | 77 69 74 68 0a 74 68 6f |ot come |with.tho|
|00003d30| 73 65 20 6c 61 6e 67 75 | 61 67 65 73 2c 20 62 65 |se langu|ages, be|
|00003d40| 20 69 74 20 63 6f 6d 6d | 65 72 63 69 61 6c 2c 20 | it comm|ercial, |
|00003d50| 73 68 61 72 65 77 61 72 | 65 2c 20 6f 72 20 66 72 |sharewar|e, or fr|
|00003d60| 65 65 2e 0a 58 0a 54 68 | 65 72 65 20 61 72 65 20 |ee..X.Th|ere are |
|00003d70| 74 77 6f 20 6e 65 77 20 | 70 72 6f 67 72 61 6d 73 |two new |programs|
|00003d80| 3a 20 5a 69 70 53 70 6c | 69 74 20 61 6e 64 20 53 |: ZipSpl|it and S|
|00003d90| 68 69 70 2e 20 20 5a 69 | 70 53 70 6c 69 74 20 74 |hip. Zi|pSplit t|
|00003da0| 72 69 65 73 20 74 6f 20 | 73 70 6c 69 74 20 61 0a |ries to |split a.|
|00003db0| 62 69 67 20 7a 69 70 20 | 66 69 6c 65 20 69 6e 74 |big zip |file int|
|00003dc0| 6f 20 74 68 65 20 73 6d | 61 6c 6c 65 73 74 20 6e |o the sm|allest n|
|00003dd0| 75 6d 62 65 72 20 6f 66 | 20 7a 69 70 20 66 69 6c |umber of| zip fil|
|00003de0| 65 73 20 6c 65 73 73 20 | 74 68 61 6e 20 61 20 73 |es less |than a s|
|00003df0| 70 65 63 69 66 69 65 64 | 0a 73 69 7a 65 2e 20 20 |pecified|.size. |
|00003e00| 54 68 69 73 20 69 73 20 | 74 6f 20 61 69 64 20 69 |This is |to aid i|
|00003e10| 6e 20 75 73 69 6e 67 20 | 7a 69 70 20 74 6f 20 62 |n using |zip to b|
|00003e20| 61 63 6b 75 70 20 74 6f | 20 66 6c 6f 70 70 69 65 |ackup to| floppie|
|00003e30| 73 2e 20 20 49 74 20 68 | 61 73 20 74 68 65 0a 6c |s. It h|as the.l|
|00003e40| 69 6d 69 74 61 74 69 6f | 6e 20 74 68 61 74 20 69 |imitatio|n that i|
|00003e50| 74 20 63 61 6e 6e 6f 74 | 20 62 72 65 61 6b 20 75 |t cannot| break u|
|00003e60| 70 20 61 6e 20 65 6e 74 | 72 79 20 69 6e 20 61 20 |p an ent|ry in a |
|00003e70| 7a 69 70 20 66 69 6c 65 | 2c 20 73 69 6e 63 65 20 |zip file|, since |
|00003e80| 69 74 20 6d 61 6b 65 73 | 0a 63 6f 6d 70 6c 65 74 |it makes|.complet|
|00003e90| 65 2c 20 73 74 61 6e 64 | 61 6c 6f 6e 65 20 7a 69 |e, stand|alone zi|
|00003ea0| 70 20 66 69 6c 65 73 2e | 20 20 54 68 69 73 20 6d |p files.| This m|
|00003eb0| 65 61 6e 73 20 69 66 20 | 61 6e 79 20 65 6e 74 72 |eans if |any entr|
|00003ec0| 79 20 69 73 20 6c 61 72 | 67 65 72 20 74 68 61 6e |y is lar|ger than|
|00003ed0| 0a 74 68 65 20 73 70 65 | 63 69 66 69 65 64 20 73 |.the spe|cified s|
|00003ee0| 69 7a 65 20 28 70 6c 75 | 73 20 73 6f 6d 65 20 6f |ize (plu|s some o|
|00003ef0| 76 65 72 68 65 61 64 29 | 2c 20 7a 69 70 73 70 6c |verhead)|, zipspl|
|00003f00| 69 74 20 77 69 6c 6c 20 | 67 69 76 65 20 75 70 20 |it will |give up |
|00003f10| 61 6e 64 20 6e 6f 74 20 | 64 6f 0a 74 68 65 20 73 |and not |do.the s|
|00003f20| 70 6c 69 74 2e 20 20 49 | 74 20 64 6f 65 73 20 2a |plit. I|t does *|
|00003f30| 6e 6f 74 2a 20 69 6d 70 | 6c 65 6d 65 6e 74 20 74 |not* imp|lement t|
|00003f40| 68 65 20 6d 75 6c 74 69 | 2d 64 69 73 6b 20 7a 69 |he multi|-disk zi|
|00003f50| 70 20 66 69 6c 65 20 66 | 6f 72 6d 61 74 20 69 6d |p file f|ormat im|
|00003f60| 70 6c 69 65 64 0a 69 6e | 20 41 50 50 4e 4f 54 45 |plied.in| APPNOTE|
|00003f70| 2e 54 58 54 2e 20 20 5a | 69 70 53 70 6c 69 74 20 |.TXT. Z|ipSplit |
|00003f80| 77 69 6c 6c 20 6f 70 74 | 69 6f 6e 61 6c 6c 79 20 |will opt|ionally |
|00003f90| 77 72 69 74 65 20 61 6e | 20 69 6e 64 65 78 20 66 |write an| index f|
|00003fa0| 69 6c 65 20 61 6e 64 20 | 64 65 64 75 63 74 0a 74 |ile and |deduct.t|
|00003fb0| 68 65 20 73 69 7a 65 20 | 6f 66 20 74 68 61 74 20 |he size |of that |
|00003fc0| 66 69 6c 65 20 66 72 6f | 6d 20 74 68 65 20 66 69 |file fro|m the fi|
|00003fd0| 72 73 74 20 7a 69 70 20 | 66 69 6c 65 20 73 6f 20 |rst zip |file so |
|00003fe0| 62 6f 74 68 20 77 69 6c | 6c 20 66 69 74 20 6f 6e |both wil|l fit on|
|00003ff0| 20 74 68 65 0a 66 69 72 | 73 74 20 64 69 73 6b 2e | the.fir|st disk.|
|00004000| 0a 58 0a 53 68 69 70 20 | 69 73 20 61 20 66 69 78 |.X.Ship |is a fix|
|00004010| 65 64 2d 75 70 20 76 65 | 72 73 69 6f 6e 20 6f 66 |ed-up ve|rsion of|
|00004020| 20 61 20 70 72 6f 67 72 | 61 6d 20 49 20 68 61 76 | a progr|am I hav|
|00004030| 65 20 62 65 65 6e 20 75 | 73 69 6e 67 20 6d 79 73 |e been u|sing mys|
|00004040| 65 6c 66 20 66 6f 72 20 | 73 6f 6d 65 0a 74 69 6d |elf for |some.tim|
|00004050| 65 20 69 6e 20 70 6c 61 | 63 65 20 6f 66 20 75 75 |e in pla|ce of uu|
|00004060| 65 6e 63 6f 64 65 2f 75 | 75 64 65 63 6f 64 65 2e |encode/u|udecode.|
|00004070| 20 20 49 74 27 73 20 70 | 75 72 70 6f 73 65 20 69 | It's p|urpose i|
|00004080| 73 20 74 6f 20 66 61 63 | 69 6c 69 74 61 74 65 20 |s to fac|ilitate |
|00004090| 73 65 6e 64 69 6e 67 0a | 7a 69 70 20 66 69 6c 65 |sending.|zip file|
|000040a0| 73 20 74 68 72 6f 75 67 | 68 20 74 68 65 20 6d 61 |s throug|h the ma|
|000040b0| 69 6c 2e 20 20 49 74 20 | 75 73 65 73 20 61 20 6d |il. It |uses a m|
|000040c0| 6f 72 65 20 65 66 66 69 | 63 69 65 6e 74 20 63 6f |ore effi|cient co|
|000040d0| 64 69 6e 67 20 73 63 68 | 65 6d 65 20 74 68 61 6e |ding sch|eme than|
|000040e0| 0a 75 75 65 6e 63 6f 64 | 65 20 28 66 6f 75 72 20 |.uuencod|e (four |
|000040f0| 62 79 74 65 73 20 70 65 | 72 20 66 69 76 65 20 63 |bytes pe|r five c|
|00004100| 68 61 72 61 63 74 65 72 | 73 20 69 6e 73 74 65 61 |haracter|s instea|
|00004110| 64 20 6f 66 20 74 68 72 | 65 65 20 62 79 74 65 73 |d of thr|ee bytes|
|00004120| 20 70 65 72 20 66 6f 75 | 72 0a 63 68 61 72 61 63 | per fou|r.charac|
|00004130| 74 65 72 73 29 20 61 6e | 64 20 69 6e 63 6c 75 64 |ters) an|d includ|
|00004140| 65 73 20 61 20 63 72 63 | 20 61 74 20 74 68 65 20 |es a crc| at the |
|00004150| 65 6e 64 20 6f 66 20 65 | 61 63 68 20 66 69 6c 65 |end of e|ach file|
|00004160| 20 74 6f 20 63 68 65 63 | 6b 20 74 68 65 0a 76 65 | to chec|k the.ve|
|00004170| 72 61 63 69 74 79 20 77 | 68 61 74 20 77 61 73 20 |racity w|hat was |
|00004180| 72 65 63 65 69 76 65 64 | 2e 20 20 49 74 20 63 61 |received|. It ca|
|00004190| 6e 20 73 70 6c 69 74 20 | 69 74 73 20 6f 75 74 70 |n split |its outp|
|000041a0| 75 74 20 74 6f 20 61 20 | 73 70 65 63 69 66 69 65 |ut to a |specifie|
|000041b0| 64 20 73 69 7a 65 0a 61 | 6e 64 20 72 65 63 6f 6d |d size.a|nd recom|
|000041c0| 62 69 6e 65 20 69 74 20 | 61 75 74 6f 6d 61 74 69 |bine it |automati|
|000041d0| 63 61 6c 6c 79 20 61 74 | 20 74 68 65 20 6f 74 68 |cally at| the oth|
|000041e0| 65 72 20 65 6e 64 2c 20 | 76 65 72 69 66 79 69 6e |er end, |verifyin|
|000041f0| 67 20 74 68 65 20 73 65 | 71 75 65 6e 63 65 2e 0a |g the se|quence..|
|00004200| 49 74 20 63 61 6e 20 61 | 6c 73 6f 20 6d 61 69 6c |It can a|lso mail|
|00004210| 20 74 68 65 20 70 61 72 | 74 73 20 74 6f 20 61 20 | the par|ts to a |
|00004220| 73 70 65 63 69 66 69 65 | 64 20 61 64 64 72 65 73 |specifie|d addres|
|00004230| 73 2c 20 77 69 74 68 20 | 73 75 62 6a 65 63 74 20 |s, with |subject |
|00004240| 6c 69 6e 65 73 0a 69 64 | 65 6e 74 69 66 79 69 6e |lines.id|entifyin|
|00004250| 67 20 74 68 65 20 70 61 | 72 74 73 2c 20 69 6e 73 |g the pa|rts, ins|
|00004260| 74 65 61 64 20 6f 66 20 | 6d 61 6b 69 6e 67 20 61 |tead of |making a|
|00004270| 20 62 75 6e 63 68 20 6f | 66 20 66 69 6c 65 73 20 | bunch o|f files |
|00004280| 74 68 61 74 20 79 6f 75 | 27 72 65 20 6a 75 73 74 |that you|'re just|
|00004290| 0a 67 6f 69 6e 67 20 74 | 6f 20 6d 61 69 6c 20 61 |.going t|o mail a|
|000042a0| 6e 64 20 64 65 6c 65 74 | 65 20 61 6e 79 77 61 79 |nd delet|e anyway|
|000042b0| 2e 20 20 45 78 61 6d 70 | 6c 65 3a 0a 58 0a 58 20 |. Examp|le:.X.X |
|000042c0| 20 20 20 20 25 20 73 68 | 69 70 20 2d 35 30 30 20 | % sh|ip -500 |
|000042d0| 2d 6d 20 73 61 64 64 61 | 6d 40 70 69 63 6b 6c 65 |-m sadda|m@pickle|
|000042e0| 2e 69 71 20 52 45 41 44 | 4d 45 20 7a 69 70 30 37 |.iq READ|ME zip07|
|000042f0| 2e 7a 69 70 0a 58 20 20 | 20 20 20 52 45 41 44 4d |.zip.X | READM|
|00004300| 45 20 73 68 69 70 70 65 | 64 0a 58 20 20 20 20 20 |E shippe|d.X |
|00004310| 7a 69 70 30 37 2e 7a 69 | 70 20 73 68 69 70 70 65 |zip07.zi|p shippe|
|00004320| 64 0a 58 20 20 20 20 20 | 66 69 6c 65 73 20 70 61 |d.X |files pa|
|00004330| 72 74 30 30 30 31 2e 2e | 70 61 72 74 30 30 30 34 |rt0001..|part0004|
|00004340| 20 6d 61 69 6c 65 64 0a | 58 0a 77 69 6c 6c 20 6d | mailed.|X.will m|
|00004350| 61 69 6c 20 52 45 41 44 | 4d 45 20 61 6e 64 20 7a |ail READ|ME and z|
|00004360| 69 70 30 37 2e 7a 69 70 | 20 74 6f 67 65 74 68 65 |ip07.zip| togethe|
|00004370| 72 20 69 6e 20 66 6f 75 | 72 20 63 68 75 6e 6b 73 |r in fou|r chunks|
|00004380| 20 6f 66 20 35 30 30 20 | 6f 72 20 66 65 77 65 72 | of 500 |or fewer|
|00004390| 0a 6c 69 6e 65 73 20 65 | 61 63 68 2e 20 20 41 74 |.lines e|ach. At|
|000043a0| 20 74 68 65 20 6f 74 68 | 65 72 20 65 6e 64 2c 20 | the oth|er end, |
|000043b0| 53 61 64 64 61 6d 20 63 | 61 6e 20 73 61 76 65 20 |Saddam c|an save |
|000043c0| 74 68 65 20 70 61 72 74 | 73 20 69 6e 74 6f 20 74 |the part|s into t|
|000043d0| 68 65 20 66 69 6c 65 73 | 0a 6e 61 6d 65 64 20 69 |he files|.named i|
|000043e0| 6e 20 74 68 65 20 73 75 | 62 6a 65 63 74 20 6c 69 |n the su|bject li|
|000043f0| 6e 65 73 20 28 70 61 72 | 74 30 30 30 31 2e 2e 70 |nes (par|t0001..p|
|00004400| 61 72 74 30 30 30 34 29 | 2c 20 61 6e 64 20 74 68 |art0004)|, and th|
|00004410| 65 6e 20 64 6f 3a 0a 58 | 0a 58 20 20 20 20 20 25 |en do:.X|.X %|
|00004420| 20 73 68 69 70 20 2d 75 | 20 70 61 72 74 2a 0a 58 | ship -u| part*.X|
|00004430| 20 20 20 20 20 52 45 41 | 44 4d 45 20 72 65 63 65 | REA|DME rece|
|00004440| 69 76 65 64 0a 58 20 20 | 20 20 20 7a 69 70 30 37 |ived.X | zip07|
|00004450| 2e 7a 69 70 20 72 65 63 | 65 69 76 65 64 0a 58 0a |.zip rec|eived.X.|
|00004460| 58 46 6f 72 20 6e 6f 77 | 2c 20 7a 69 70 2e 31 20 |XFor now|, zip.1 |
|00004470| 28 61 6e 64 20 7a 69 70 | 2e 64 6f 63 29 20 61 72 |(and zip|.doc) ar|
|00004480| 65 20 69 6e 63 6f 6d 70 | 6c 65 74 65 20 61 73 20 |e incomp|lete as |
|00004490| 66 61 72 20 61 73 20 4d | 53 44 4f 53 20 67 6f 65 |far as M|SDOS goe|
|000044a0| 73 2e 20 20 49 27 6c 6c | 0a 70 75 74 20 6f 66 66 |s. I'll|.put off|
|000044b0| 20 64 6f 69 6e 67 20 74 | 68 61 74 20 75 6e 74 69 | doing t|hat unti|
|000044c0| 6c 20 74 68 65 20 4d 53 | 44 4f 53 20 76 65 72 73 |l the MS|DOS vers|
|000044d0| 69 6f 6e 20 68 61 73 20 | 73 74 61 62 69 6c 69 7a |ion has |stabiliz|
|000044e0| 65 64 2e 20 20 4c 69 6b | 65 77 69 73 65 2c 20 49 |ed. Lik|ewise, I|
|000044f0| 0a 68 61 76 65 20 70 75 | 74 20 6f 66 66 20 77 72 |.have pu|t off wr|
|00004500| 69 74 69 6e 67 20 7a 69 | 70 63 6c 6f 61 6b 2e 31 |iting zi|pcloak.1|
|00004510| 2c 20 7a 69 70 73 70 6c | 69 74 2e 31 2c 20 61 6e |, zipspl|it.1, an|
|00004520| 64 20 73 68 69 70 2e 31 | 20 66 6f 72 20 74 68 65 |d ship.1| for the|
|00004530| 20 73 61 6d 65 0a 72 65 | 61 73 6f 6e 2e 0a 58 0a | same.re|ason..X.|
|00004540| 54 68 65 72 65 20 61 72 | 65 2c 20 6f 66 20 63 6f |There ar|e, of co|
|00004550| 75 72 73 65 2c 20 61 6c | 6c 20 74 68 65 20 6c 69 |urse, al|l the li|
|00004560| 74 74 6c 65 20 63 68 61 | 6e 67 65 73 20 74 68 61 |ttle cha|nges tha|
|00004570| 74 20 66 69 78 20 62 75 | 67 73 20 28 77 68 61 74 |t fix bu|gs (what|
|00004580| 20 61 72 65 0a 74 68 6f | 73 65 3f 29 2c 20 6d 61 | are.tho|se?), ma|
|00004590| 6b 65 20 74 68 65 20 4d | 61 6b 65 66 69 6c 65 20 |ke the M|akefile |
|000045a0| 77 6f 72 6b 20 6f 6e 20 | 6d 6f 72 65 20 73 79 73 |work on |more sys|
|000045b0| 74 65 6d 73 2c 20 64 6f | 63 75 6d 65 6e 74 61 74 |tems, do|cumentat|
|000045c0| 69 6f 6e 2c 20 61 6e 64 | 2c 0a 66 6f 72 20 74 68 |ion, and|,.for th|
|000045d0| 65 20 61 6c 65 72 74 20 | 72 65 61 64 65 72 2c 20 |e alert |reader, |
|000045e0| 61 6e 20 75 6e 64 6f 63 | 75 6d 65 6e 74 65 64 20 |an undoc|umented |
|000045f0| 6f 70 74 69 6f 6e 20 2e | 2e 2e 0a 58 0a 41 73 20 |option .|...X.As |
|00004600| 75 73 75 61 6c 2c 20 73 | 65 6e 64 20 72 65 70 6f |usual, s|end repo|
|00004610| 72 74 73 20 74 6f 20 69 | 6e 66 6f 2d 7a 69 70 40 |rts to i|nfo-zip@|
|00004620| 77 73 6d 72 2d 73 69 6d | 74 65 6c 32 30 2e 61 72 |wsmr-sim|tel20.ar|
|00004630| 6d 79 2e 6d 69 6c 2c 20 | 73 6f 20 65 76 65 72 79 |my.mil, |so every|
|00004640| 6f 6e 65 0a 63 61 6e 20 | 67 65 74 20 61 20 63 68 |one.can |get a ch|
|00004650| 75 63 6b 6c 65 20 6f 75 | 74 20 6f 66 20 77 68 61 |uckle ou|t of wha|
|00004660| 74 65 76 65 72 20 6e 65 | 77 20 62 75 67 73 20 49 |tever ne|w bugs I|
|00004670| 27 76 65 20 69 6e 74 72 | 6f 64 75 63 65 64 2e 0a |'ve intr|oduced..|
|00004680| 58 0a 4d 61 72 6b 20 41 | 64 6c 65 72 0a 6d 61 64 |X.Mark A|dler.mad|
|00004690| 6c 65 72 40 70 6f 6f 68 | 2e 63 61 6c 74 65 63 68 |ler@pooh|.caltech|
|000046a0| 2e 65 64 75 0a 58 0a 58 | 0a 43 68 61 6e 67 65 73 |.edu.X.X|.Changes|
|000046b0| 20 66 72 6f 6d 20 72 65 | 6c 65 61 73 65 20 30 2e | from re|lease 0.|
|000046c0| 36 20 74 6f 20 72 65 6c | 65 61 73 65 20 30 2e 37 |6 to rel|ease 0.7|
|000046d0| 3a 0a 58 0a 58 31 2e 20 | 20 43 68 61 6e 67 65 64 |:.X.X1. | Changed|
|000046e0| 20 4d 61 6b 65 66 69 6c | 65 20 74 6f 20 75 73 65 | Makefil|e to use|
|000046f0| 20 6d 76 20 69 6e 73 74 | 65 61 64 20 6f 66 20 2d | mv inst|ead of -|
|00004700| 6f 20 6f 6e 20 63 6f 6d | 70 69 6c 65 73 2e 0a 58 |o on com|piles..X|
|00004710| 32 2e 20 20 41 64 64 65 | 64 20 4d 41 4b 45 20 3d |2. Adde|d MAKE =|
|00004720| 20 6d 61 6b 65 20 74 6f | 20 4d 61 6b 65 66 69 6c | make to| Makefil|
|00004730| 65 2e 0a 58 33 2e 20 20 | 43 61 74 63 68 20 75 73 |e..X3. |Catch us|
|00004740| 65 72 20 69 6e 74 65 72 | 72 75 70 74 20 6f 72 20 |er inter|rupt or |
|00004750| 74 65 72 6d 69 6e 61 74 | 69 6f 6e 20 61 6e 64 20 |terminat|ion and |
|00004760| 64 65 6c 65 74 65 20 74 | 65 6d 70 6f 72 61 72 79 |delete t|emporary|
|00004770| 20 66 69 6c 65 73 2e 0a | 58 34 2e 20 20 41 6c 6c | files..|X4. All|
|00004780| 6f 77 20 67 65 6e 65 72 | 61 6c 20 70 75 72 70 6f |ow gener|al purpo|
|00004790| 73 65 20 66 6c 61 67 73 | 20 69 6e 20 6c 6f 63 61 |se flags| in loca|
|000047a0| 6c 20 61 6e 64 20 63 65 | 6e 74 72 61 6c 20 68 65 |l and ce|ntral he|
|000047b0| 61 64 65 72 73 20 74 6f | 20 64 69 66 66 65 72 20 |aders to| differ |
|000047c0| 69 6e 0a 58 20 20 20 20 | 74 68 65 20 22 72 65 73 |in.X |the "res|
|000047d0| 65 72 76 65 64 22 20 62 | 69 74 73 2e 20 20 4b 65 |erved" b|its. Ke|
|000047e0| 65 70 20 62 6f 74 68 20 | 66 6f 72 20 63 6f 70 79 |ep both |for copy|
|000047f0| 69 6e 67 20 7a 69 70 20 | 65 6e 74 72 69 65 73 20 |ing zip |entries |
|00004800| 76 65 72 62 61 74 69 6d | 2e 0a 58 35 2e 20 20 52 |verbatim|..X5. R|
|00004810| 65 6d 6f 76 65 64 20 70 | 72 6f 74 6f 74 79 70 65 |emoved p|rototype|
|00004820| 20 66 6f 72 20 63 6c 6f | 73 65 64 69 72 2d 2d 72 | for clo|sedir--r|
|00004830| 65 74 75 72 6e 20 76 61 | 6c 75 65 20 6e 6f 74 20 |eturn va|lue not |
|00004840| 75 73 65 64 20 61 6e 64 | 20 69 6e 63 6f 6e 73 69 |used and| inconsi|
|00004850| 73 74 65 6e 74 0a 58 20 | 20 20 20 61 63 72 6f 73 |stent.X | acros|
|00004860| 73 20 73 79 73 74 65 6d | 73 2e 0a 58 36 2e 20 20 |s system|s..X6. |
|00004870| 57 72 6f 74 65 20 5a 69 | 70 53 70 6c 69 74 20 74 |Wrote Zi|pSplit t|
|00004880| 6f 20 62 72 65 61 6b 20 | 61 20 6c 61 72 67 65 20 |o break |a large |
|00004890| 7a 69 70 20 66 69 6c 65 | 20 69 6e 74 6f 20 74 68 |zip file| into th|
|000048a0| 65 20 73 6d 61 6c 6c 65 | 73 74 20 6e 75 6d 62 65 |e smalle|st numbe|
|000048b0| 72 20 6f 66 0a 58 20 20 | 20 20 7a 69 70 20 66 69 |r of.X | zip fi|
|000048c0| 6c 65 73 20 6c 65 73 73 | 20 74 68 61 6e 20 61 20 |les less| than a |
|000048d0| 73 70 65 63 69 66 69 65 | 64 20 73 69 7a 65 2e 20 |specifie|d size. |
|000048e0| 20 52 75 6e 20 7a 69 70 | 73 70 6c 69 74 20 77 69 | Run zip|split wi|
|000048f0| 74 68 20 6e 6f 20 61 72 | 67 75 6d 65 6e 74 73 0a |th no ar|guments.|
|00004900| 58 20 20 20 20 74 6f 20 | 73 65 65 20 74 68 65 20 |X to |see the |
|00004910| 63 6f 6d 6d 61 6e 64 20 | 68 65 6c 70 2e 0a 58 37 |command |help..X7|
|00004920| 2e 20 20 50 75 74 20 65 | 72 72 6f 72 20 6d 65 73 |. Put e|rror mes|
|00004930| 73 61 67 65 73 20 69 6e | 20 67 6c 6f 62 61 6c 73 |sages in| globals|
|00004940| 2e 63 20 74 6f 20 62 65 | 20 63 6f 6d 6d 6f 6e 20 |.c to be| common |
|00004950| 61 63 72 6f 73 73 20 7a | 69 70 2c 20 7a 69 70 63 |across z|ip, zipc|
|00004960| 6c 6f 61 6b 2c 20 61 6e | 64 0a 58 20 20 20 20 7a |loak, an|d.X z|
|00004970| 69 70 73 70 6c 69 74 2e | 20 20 55 73 65 20 23 64 |ipsplit.| Use #d|
|00004980| 65 66 69 6e 65 27 73 20 | 69 6e 20 7a 69 70 2e 68 |efine's |in zip.h|
|00004990| 20 66 6f 72 20 65 72 72 | 6f 72 20 6e 75 6d 62 65 | for err|or numbe|
|000049a0| 72 73 2e 0a 58 38 2e 20 | 20 43 68 61 6e 67 65 64 |rs..X8. | Changed|
|000049b0| 20 67 65 74 70 28 29 20 | 74 6f 20 6f 70 65 6e 20 | getp() |to open |
|000049c0| 61 20 6e 65 77 20 66 69 | 6c 65 20 66 6f 72 20 74 |a new fi|le for t|
|000049d0| 68 65 20 74 65 72 6d 69 | 6e 61 6c 20 64 65 76 69 |he termi|nal devi|
|000049e0| 63 65 2c 20 61 6e 64 20 | 61 64 64 65 64 0a 58 20 |ce, and |added.X |
|000049f0| 20 20 20 74 68 65 20 65 | 63 68 6f 6e 28 29 20 66 | the e|chon() f|
|00004a00| 75 6e 63 74 69 6f 6e 20 | 74 6f 20 74 75 72 6e 20 |unction |to turn |
|00004a10| 65 63 68 6f 69 6e 67 20 | 62 61 63 6b 20 6f 6e 20 |echoing |back on |
|00004a20| 77 68 65 6e 20 69 6e 74 | 65 72 72 75 70 74 65 64 |when int|errupted|
|00004a30| 20 61 74 0a 58 20 20 20 | 20 70 61 73 73 77 6f 72 | at.X | passwor|
|00004a40| 64 20 70 72 6f 6d 70 74 | 2e 0a 58 39 2e 20 20 41 |d prompt|..X9. A|
|00004a50| 64 64 65 64 20 77 61 72 | 6e 28 29 27 73 20 74 6f |dded war|n()'s to|
|00004a60| 20 64 69 73 74 69 6e 67 | 75 69 73 68 20 76 61 72 | disting|uish var|
|00004a70| 69 6f 75 73 20 7a 69 70 | 20 66 69 6c 65 20 73 74 |ious zip| file st|
|00004a80| 72 75 63 74 75 72 65 20 | 65 72 72 6f 72 73 2e 0a |ructure |errors..|
|00004a90| 58 31 30 2e 20 41 6c 6c | 6f 77 20 22 65 78 74 72 |X10. All|ow "extr|
|00004aa0| 61 22 20 66 69 65 6c 64 | 73 20 69 6e 20 6c 6f 63 |a" field|s in loc|
|00004ab0| 61 6c 20 61 6e 64 20 63 | 65 6e 74 72 61 6c 20 68 |al and c|entral h|
|00004ac0| 65 61 64 65 72 73 20 74 | 6f 20 64 69 66 66 65 72 |eaders t|o differ|
|00004ad0| 2e 0a 58 31 31 2e 20 46 | 69 78 65 64 20 70 65 72 |..X11. F|ixed per|
|00004ae0| 63 65 6e 74 20 63 6f 6d | 70 72 65 73 73 69 6f 6e |cent com|pression|
|00004af0| 20 63 61 6c 63 75 6c 61 | 74 69 6f 6e 20 74 6f 20 | calcula|tion to |
|00004b00| 77 6f 72 6b 20 66 6f 72 | 20 76 65 72 79 20 6c 61 |work for| very la|
|00004b10| 72 67 65 20 66 69 6c 65 | 73 2e 0a 58 31 32 2e 20 |rge file|s..X12. |
|00004b20| 49 6e 63 6c 75 64 65 64 | 20 74 68 65 20 70 72 6f |Included| the pro|
|00004b30| 67 72 61 6d 20 28 6d 61 | 6b 65 63 72 63 2e 63 29 |gram (ma|kecrc.c)|
|00004b40| 20 74 68 61 74 20 67 65 | 6e 65 72 61 74 65 73 20 | that ge|nerates |
|00004b50| 74 68 65 20 43 52 43 20 | 74 61 62 6c 65 2e 0a 58 |the CRC |table..X|
|00004b60| 20 20 20 20 6d 61 6b 65 | 63 72 63 2e 63 20 69 73 | make|crc.c is|
|00004b70| 20 6e 6f 74 20 63 6f 6d | 70 69 6c 65 64 20 6f 72 | not com|piled or|
|00004b80| 20 72 75 6e 20 62 79 20 | 74 68 65 20 4d 61 6b 65 | run by |the Make|
|00004b90| 66 69 6c 65 2c 20 62 75 | 74 20 69 73 20 70 72 65 |file, bu|t is pre|
|00004ba0| 73 65 6e 74 20 66 6f 72 | 0a 58 20 20 20 20 63 6f |sent for|.X co|
|00004bb0| 6d 70 6c 65 74 65 6e 65 | 73 73 2e 0a 58 31 33 2e |mpletene|ss..X13.|
|00004bc0| 20 41 64 64 65 64 20 61 | 6e 20 75 6e 64 6f 63 75 | Added a|n undocu|
|00004bd0| 6d 65 6e 74 65 64 20 28 | 65 78 63 65 70 74 20 66 |mented (|except f|
|00004be0| 6f 72 20 68 65 72 65 29 | 20 6f 70 74 69 6f 6e 2c |or here)| option,|
|00004bf0| 20 2d 76 2c 20 74 6f 20 | 7a 69 70 20 74 68 61 74 | -v, to |zip that|
|00004c00| 20 63 68 65 63 6b 73 0a | 58 20 20 20 20 66 6f 72 | checks.|X for|
|00004c10| 20 22 6f 64 64 69 74 69 | 65 73 22 20 69 6e 20 74 | "odditi|es" in t|
|00004c20| 68 65 20 7a 69 70 20 66 | 69 6c 65 20 73 74 72 75 |he zip f|ile stru|
|00004c30| 63 74 75 72 65 20 61 6e | 64 20 70 6f 69 6e 74 73 |cture an|d points|
|00004c40| 20 74 68 65 6d 20 6f 75 | 74 20 69 66 20 66 6f 75 | them ou|t if fou|
|00004c50| 6e 64 0a 58 20 20 20 20 | 28 62 75 74 20 63 6f 6e |nd.X |(but con|
|00004c60| 74 69 6e 75 65 73 20 70 | 72 6f 63 65 73 73 69 6e |tinues p|rocessin|
|00004c70| 67 29 2e 0a 58 31 34 2e | 20 50 75 74 20 70 72 6f |g)..X14.| Put pro|
|00004c80| 74 6f 74 79 70 65 73 20 | 69 6e 20 63 72 79 70 74 |totypes |in crypt|
|00004c90| 2e 68 20 69 6e 73 69 64 | 65 20 23 69 66 64 65 66 |.h insid|e #ifdef|
|00004ca0| 20 4e 65 58 54 20 74 6f | 20 61 76 6f 69 64 20 72 | NeXT to| avoid r|
|00004cb0| 65 64 65 66 69 6e 69 74 | 69 6f 6e 0a 58 20 20 20 |edefinit|ion.X |
|00004cc0| 20 70 72 6f 62 6c 65 6d | 73 20 77 69 74 68 20 6f | problem|s with o|
|00004cd0| 74 68 65 72 20 63 6f 6d | 70 69 6c 65 72 73 2e 0a |ther com|pilers..|
|00004ce0| 58 31 35 2e 20 41 64 64 | 65 64 20 22 6d 61 6b 65 |X15. Add|ed "make|
|00004cf0| 20 7a 69 6c 6f 67 22 20 | 66 6f 72 20 5a 69 6c 6f | zilog" |for Zilo|
|00004d00| 67 20 53 38 30 30 30 20 | 72 75 6e 6e 69 6e 67 20 |g S8000 |running |
|00004d10| 5a 65 75 73 20 33 2e 32 | 31 2e 0a 58 31 36 2e 20 |Zeus 3.2|1..X16. |
|00004d20| 4d 69 6e 6f 72 20 63 68 | 61 6e 67 65 73 20 74 6f |Minor ch|anges to|
|00004d30| 20 74 68 65 20 6d 61 6e | 75 61 6c 20 70 61 67 65 | the man|ual page|
|00004d40| 20 28 7a 69 70 2e 31 20 | 61 6e 64 20 7a 69 70 2e | (zip.1 |and zip.|
|00004d50| 64 6f 63 29 2e 0a 58 31 | 37 2e 20 46 69 78 65 64 |doc)..X1|7. Fixed|
|00004d60| 20 62 75 67 20 69 6e 20 | 72 65 70 6c 61 63 65 28 | bug in |replace(|
|00004d70| 29 20 28 6d 61 6e 69 66 | 65 73 74 65 64 20 62 79 |) (manif|ested by|
|00004d80| 20 2d 62 20 6f 70 74 69 | 6f 6e 29 2e 0a 58 31 38 | -b opti|on)..X18|
|00004d90| 2e 20 72 65 61 64 7a 69 | 70 66 69 6c 65 28 29 20 |. readzi|pfile() |
|00004da0| 6e 6f 77 20 61 6c 73 6f | 20 63 68 65 63 6b 73 20 |now also| checks |
|00004db0| 74 68 65 20 63 65 6e 74 | 72 61 6c 20 64 69 72 65 |the cent|ral dire|
|00004dc0| 63 74 6f 72 79 20 73 74 | 61 72 74 20 61 6e 64 20 |ctory st|art and |
|00004dd0| 73 69 7a 65 20 69 6e 0a | 58 20 20 20 20 74 68 65 |size in.|X the|
|00004de0| 20 65 6e 64 20 6f 66 20 | 63 65 6e 74 72 61 6c 20 | end of |central |
|00004df0| 64 69 72 65 63 74 6f 72 | 79 20 68 65 61 64 65 72 |director|y header|
|00004e00| 2e 0a 58 31 39 2e 20 41 | 6c 6c 6f 77 20 6d 6f 64 |..X19. A|llow mod|
|00004e10| 69 66 69 63 61 74 69 6f | 6e 20 6f 66 20 73 65 6c |ificatio|n of sel|
|00004e20| 66 2d 65 78 74 72 61 63 | 74 69 6e 67 20 7a 69 70 |f-extrac|ting zip|
|00004e30| 20 66 69 6c 65 73 20 28 | 65 78 65 20 69 6e 73 74 | files (|exe inst|
|00004e40| 65 61 64 20 6f 66 20 7a | 69 70 29 2e 0a 58 32 30 |ead of z|ip)..X20|
|00004e50| 2e 20 41 6c 6c 6f 77 20 | 2e 5a 49 50 20 61 73 20 |. Allow |.ZIP as |
|00004e60| 76 61 6c 69 64 20 73 75 | 66 66 69 78 20 61 73 20 |valid su|ffix as |
|00004e70| 77 65 6c 6c 20 61 73 20 | 2e 7a 69 70 20 28 61 6c |well as |.zip (al|
|00004e80| 73 6f 20 2e 45 58 45 20 | 61 6e 64 20 2e 65 78 65 |so .EXE |and .exe|
|00004e90| 29 2e 0a 58 32 31 2e 20 | 43 6c 65 61 6e 65 64 20 |)..X21. |Cleaned |
|00004ea0| 75 70 20 6d 61 6c 6c 6f | 63 20 75 73 61 67 65 2c |up mallo|c usage,|
|00004eb0| 20 66 72 65 65 27 64 20 | 65 76 65 72 79 74 68 69 | free'd |everythi|
|00004ec0| 6e 67 20 6d 61 6c 6c 6f | 63 27 65 64 2e 0a 58 32 |ng mallo|c'ed..X2|
|00004ed0| 32 2e 20 66 63 6c 6f 73 | 65 27 64 20 61 6c 6c 20 |2. fclos|e'd all |
|00004ee0| 66 6f 70 65 6e 27 65 64 | 20 66 69 6c 65 73 20 65 |fopen'ed| files e|
|00004ef0| 78 70 6c 69 63 69 74 6c | 79 2e 0a 58 32 33 2e 20 |xplicitl|y..X23. |
|00004f00| 43 6f 72 72 65 63 74 65 | 64 20 61 73 73 69 67 6e |Correcte|d assign|
|00004f10| 6d 65 6e 74 20 6f 66 20 | 6f 6e 65 20 66 74 65 6c |ment of |one ftel|
|00004f20| 6c 28 29 20 72 65 73 75 | 6c 74 20 66 72 6f 6d 20 |l() resu|lt from |
|00004f30| 61 6e 20 69 6e 74 20 74 | 6f 20 61 20 6c 6f 6e 67 |an int t|o a long|
|00004f40| 2e 0a 58 32 34 2e 20 43 | 6f 6e 73 69 64 65 72 61 |..X24. C|onsidera|
|00004f50| 62 6c 79 20 73 69 6d 70 | 6c 69 66 69 65 64 20 4d |bly simp|lified M|
|00004f60| 61 6b 65 66 69 6c 65 2c | 20 62 61 73 65 64 20 6f |akefile,| based o|
|00004f70| 6e 20 4a 65 61 6e 2d 4c | 6f 75 70 20 47 61 69 6c |n Jean-L|oup Gail|
|00004f80| 6c 79 27 73 0a 58 20 20 | 20 20 73 75 67 67 65 73 |ly's.X | sugges|
|00004f90| 74 69 6f 6e 73 2e 0a 58 | 32 35 2e 20 52 65 6e 61 |tions..X|25. Rena|
|00004fa0| 6d 65 64 20 75 6e 69 78 | 66 69 6c 65 2e 63 20 74 |med unix|file.c t|
|00004fb0| 6f 20 66 69 6c 65 69 6f | 2e 63 20 69 6e 20 61 6e |o fileio|.c in an|
|00004fc0| 74 69 63 69 70 61 74 69 | 6f 6e 20 6f 66 20 6e 6f |ticipati|on of no|
|00004fd0| 6e 2d 75 6e 69 78 20 73 | 75 70 70 6f 72 74 2e 0a |n-unix s|upport..|
|00004fe0| 58 32 36 2e 20 52 65 6d | 6f 76 65 64 20 63 6f 6e |X26. Rem|oved con|
|00004ff0| 73 74 27 73 20 28 70 65 | 73 6b 79 20 6c 69 74 74 |st's (pe|sky litt|
|00005000| 6c 65 20 62 75 67 67 65 | 72 73 20 63 61 75 73 65 |le bugge|rs cause|
|00005010| 64 20 74 6f 6f 20 6d 61 | 6e 79 20 70 72 6f 62 6c |d too ma|ny probl|
|00005020| 65 6d 73 29 2e 0a 58 32 | 37 2e 20 57 72 6f 74 65 |ems)..X2|7. Wrote|
|00005030| 20 6d 79 20 6f 77 6e 20 | 73 68 65 6c 6c 20 65 78 | my own |shell ex|
|00005040| 70 72 65 73 73 69 6f 6e | 20 63 6f 6d 70 61 72 65 |pression| compare|
|00005050| 20 72 6f 75 74 69 6e 65 | 2c 20 74 6f 6f 6b 20 52 | routine|, took R|
|00005060| 45 47 45 58 20 61 6e 64 | 20 2d 6c 50 57 27 73 0a |EGEX and| -lPW's.|
|00005070| 58 20 20 20 20 6f 75 74 | 20 6f 66 20 4d 61 6b 65 |X out| of Make|
|00005080| 66 69 6c 65 2c 20 77 68 | 69 63 68 20 72 65 6d 6f |file, wh|ich remo|
|00005090| 76 65 64 20 74 68 65 20 | 73 79 73 76 70 77 20 6d |ved the |sysvpw m|
|000050a0| 61 6b 65 20 6f 70 74 69 | 6f 6e 2e 0a 58 32 38 2e |ake opti|on..X28.|
|000050b0| 20 41 64 64 65 64 20 74 | 65 6d 70 6e 61 6d 65 28 | Added t|empname(|
|000050c0| 29 20 70 72 6f 74 6f 74 | 79 70 65 20 74 6f 20 63 |) protot|ype to c|
|000050d0| 72 79 70 74 2e 68 20 66 | 6f 72 20 74 68 65 20 69 |rypt.h f|or the i|
|000050e0| 6d 70 6c 6f 64 65 20 72 | 6f 75 74 69 6e 65 73 20 |mplode r|outines |
|000050f0| 74 6f 20 75 73 65 2e 0a | 58 32 39 2e 20 54 72 79 |to use..|X29. Try|
|00005100| 69 6e 67 20 73 74 72 69 | 6e 67 2e 68 20 66 6f 72 |ing stri|ng.h for|
|00005110| 20 70 72 6f 74 6f 74 79 | 70 65 73 20 6f 66 20 73 | prototy|pes of s|
|00005120| 74 72 69 6e 67 20 66 75 | 6e 63 74 69 6f 6e 73 20 |tring fu|nctions |
|00005130| 69 66 20 5f 5f 53 54 44 | 43 5f 5f 0a 58 20 20 20 |if __STD|C__.X |
|00005140| 20 64 65 66 69 6e 65 64 | 2c 20 77 68 69 63 68 20 | defined|, which |
|00005150| 69 73 20 77 68 61 74 20 | 75 6e 7a 69 70 2e 68 20 |is what |unzip.h |
|00005160| 64 6f 65 73 2e 0a 58 33 | 30 2e 20 54 75 72 6e 65 |does..X3|0. Turne|
|00005170| 64 20 70 72 6f 74 6f 74 | 79 70 65 73 20 6f 6e 20 |d protot|ypes on |
|00005180| 69 66 20 5f 5f 53 54 44 | 43 5f 5f 20 64 65 66 69 |if __STD|C__ defi|
|00005190| 6e 65 64 20 28 77 65 27 | 6c 6c 20 74 72 79 20 74 |ned (we'|ll try t|
|000051a0| 68 69 73 20 6f 6e 65 20 | 6d 6f 72 65 0a 58 20 20 |his one |more.X |
|000051b0| 20 20 74 69 6d 65 29 2e | 20 20 54 68 65 79 20 63 | time).| They c|
|000051c0| 61 6e 20 62 65 20 74 75 | 72 6e 65 64 20 6f 66 66 |an be tu|rned off|
|000051d0| 20 75 73 69 6e 67 20 4e | 4f 50 52 4f 54 4f 2e 0a | using N|OPROTO..|
|000051e0| 58 33 31 2e 20 49 6d 70 | 72 6f 76 65 64 20 73 6f |X31. Imp|roved so|
|000051f0| 75 72 63 65 20 64 6f 63 | 75 6d 65 6e 74 61 74 69 |urce doc|umentati|
|00005200| 6f 6e 2e 0a 58 33 32 2e | 20 43 68 61 6e 67 65 64 |on..X32.| Changed|
|00005210| 20 70 72 6f 74 6f 74 79 | 70 65 20 6f 66 20 6f 70 | prototy|pe of op|
|00005220| 65 6e 20 69 6e 20 66 69 | 6c 65 69 6f 2e 63 20 74 |en in fi|leio.c t|
|00005230| 6f 20 4f 46 28 28 63 68 | 61 72 20 2a 2c 20 69 6e |o OF((ch|ar *, in|
|00005240| 74 2c 20 2e 2e 2e 29 29 | 2e 0a 58 33 33 2e 20 52 |t, ...))|..X33. R|
|00005250| 65 6d 6f 76 65 64 20 22 | 6c 6f 63 61 6c 22 20 66 |emoved "|local" f|
|00005260| 72 6f 6d 20 70 72 6f 74 | 6f 74 79 70 65 73 20 6f |rom prot|otypes o|
|00005270| 66 20 6d 61 69 6e 28 29 | 20 28 61 66 74 65 72 20 |f main()| (after |
|00005280| 61 6c 6c 2c 20 69 74 27 | 73 20 2a 6e 6f 74 2a 0a |all, it'|s *not*.|
|00005290| 58 20 20 20 20 6c 6f 63 | 61 6c 29 2e 0a 58 33 34 |X loc|al)..X34|
|000052a0| 2e 20 57 72 6f 74 65 20 | 53 68 69 70 20 70 72 6f |. Wrote |Ship pro|
|000052b0| 67 72 61 6d 20 74 6f 20 | 73 75 70 70 6c 61 6e 74 |gram to |supplant|
|000052c0| 20 75 75 65 6e 63 6f 64 | 65 2d 2d 73 6c 69 67 68 | uuencod|e--sligh|
|000052d0| 74 6c 79 20 6d 6f 72 65 | 20 65 66 66 69 63 69 65 |tly more| efficie|
|000052e0| 6e 74 2c 20 68 61 73 0a | 58 20 20 20 20 65 72 72 |nt, has.|X err|
|000052f0| 6f 72 20 63 68 65 63 6b | 69 6e 67 2c 20 66 69 6c |or check|ing, fil|
|00005300| 65 20 73 70 6c 69 74 74 | 69 6e 67 2c 20 61 75 74 |e splitt|ing, aut|
|00005310| 6f 6d 61 74 69 63 20 6d | 61 69 6c 69 6e 67 2c 20 |omatic m|ailing, |
|00005320| 6f 74 68 65 72 20 66 65 | 61 74 75 72 65 73 2e 0a |other fe|atures..|
|00005330| 58 20 20 20 20 53 68 69 | 70 20 63 75 72 72 65 6e |X Shi|p curren|
|00005340| 74 6c 79 20 75 73 65 73 | 20 74 68 65 20 63 6f 6d |tly uses| the com|
|00005350| 6d 61 6e 64 3a 0a 58 20 | 20 20 20 20 20 20 20 2f |mand:.X | /|
|00005360| 75 73 72 2f 75 63 62 2f | 6d 61 69 6c 20 2d 73 20 |usr/ucb/|mail -s |
|00005370| 73 75 62 6a 65 63 74 20 | 3c 20 74 65 6d 70 66 69 |subject |< tempfi|
|00005380| 6c 65 0a 58 20 20 20 20 | 74 6f 20 73 65 6e 64 20 |le.X |to send |
|00005390| 6d 61 69 6c 2e 20 20 50 | 6c 65 61 73 65 20 6c 65 |mail. P|lease le|
|000053a0| 74 20 6d 65 20 6b 6e 6f | 77 20 77 68 61 74 20 77 |t me kno|w what w|
|000053b0| 6f 72 6b 73 20 66 6f 72 | 20 79 6f 75 72 20 73 79 |orks for| your sy|
|000053c0| 73 74 65 6d 2e 20 20 4e | 6f 74 65 0a 58 20 20 20 |stem. N|ote.X |
|000053d0| 20 74 68 61 74 20 49 20 | 77 61 6e 74 20 74 6f 20 | that I |want to |
|000053e0| 62 65 20 61 62 6c 65 20 | 74 6f 20 73 70 65 63 69 |be able |to speci|
|000053f0| 66 79 20 61 20 73 75 62 | 6a 65 63 74 20 6c 69 6e |fy a sub|ject lin|
|00005400| 65 2e 0a 58 33 35 2e 20 | 50 6f 72 74 65 64 20 74 |e..X35. |Ported t|
|00005410| 6f 20 4d 53 44 4f 53 20 | 4d 69 63 72 6f 73 6f 66 |o MSDOS |Microsof|
|00005420| 74 20 43 20 35 2e 31 2c | 20 62 61 73 65 64 20 6f |t C 5.1,| based o|
|00005430| 6e 20 4a 65 61 6e 2d 4c | 6f 75 70 20 47 61 69 6c |n Jean-L|oup Gail|
|00005440| 6c 79 27 73 20 77 6f 72 | 6b 2e 0a 58 33 36 2e 20 |ly's wor|k..X36. |
|00005450| 46 69 78 65 64 20 61 64 | 64 2f 75 70 64 61 74 65 |Fixed ad|d/update|
|00005460| 20 62 75 67 20 77 68 65 | 6e 20 2d 70 20 6e 6f 74 | bug whe|n -p not|
|00005470| 20 75 73 65 64 2e 0a 58 | 33 37 2e 20 48 61 6e 64 | used..X|37. Hand|
|00005480| 6c 65 20 6c 6f 77 65 72 | 20 63 61 73 65 20 63 6f |le lower| case co|
|00005490| 6e 76 65 72 73 69 6f 6e | 20 61 6e 64 20 64 65 76 |nversion| and dev|
|000054a0| 69 63 65 73 20 28 65 2e | 67 2e 20 43 3a 29 20 66 |ices (e.|g. C:) f|
|000054b0| 6f 72 20 4d 53 44 4f 53 | 2e 0a 58 33 38 2e 20 49 |or MSDOS|..X38. I|
|000054c0| 6e 64 65 6e 74 65 64 20 | 74 68 65 20 23 69 66 64 |ndented |the #ifd|
|000054d0| 65 66 2f 23 69 66 6e 64 | 65 66 20 63 6f 6e 73 74 |ef/#ifnd|ef const|
|000054e0| 72 75 63 74 73 20 74 68 | 61 74 20 64 6f 20 6e 6f |ructs th|at do no|
|000054f0| 74 20 63 6f 6e 74 61 69 | 6e 20 66 75 6e 63 74 69 |t contai|n functi|
|00005500| 6f 6e 0a 58 20 20 20 20 | 64 65 66 69 6e 69 74 69 |on.X |definiti|
|00005510| 6f 6e 73 2c 20 74 6f 20 | 69 6d 70 72 6f 76 65 20 |ons, to |improve |
|00005520| 74 68 65 20 72 65 61 64 | 61 62 69 6c 69 74 79 20 |the read|ability |
|00005530| 73 6f 6d 65 77 68 61 74 | 2e 0a 58 33 39 2e 20 43 |somewhat|..X39. C|
|00005540| 6c 65 61 6e 65 64 20 75 | 70 20 65 72 72 6f 72 20 |leaned u|p error |
|00005550| 68 61 6e 64 6c 69 6e 67 | 2e 20 20 4e 6f 77 20 75 |handling|. Now u|
|00005560| 73 65 20 70 65 72 72 6f | 72 28 29 20 66 6f 72 20 |se perro|r() for |
|00005570| 69 2f 6f 20 65 72 72 6f | 72 73 2e 20 20 50 75 74 |i/o erro|rs. Put|
|00005580| 20 74 68 65 0a 58 20 20 | 20 20 65 72 72 6f 72 73 | the.X | errors|
|00005590| 20 61 6e 64 20 6d 65 73 | 73 61 67 65 73 20 69 6e | and mes|sages in|
|000055a0| 20 7a 69 70 65 72 72 2e | 68 2e 0a 58 34 30 2e 20 | ziperr.|h..X40. |
|000055b0| 50 6f 72 74 65 64 20 74 | 6f 20 4d 53 44 4f 53 20 |Ported t|o MSDOS |
|000055c0| 54 75 72 62 6f 20 43 2b | 2b 20 31 2e 30 2e 0a 58 |Turbo C+|+ 1.0..X|
|000055d0| 34 31 2e 20 49 6d 70 6c | 65 6d 65 6e 74 65 64 20 |41. Impl|emented |
|000055e0| 77 69 6c 64 20 63 61 72 | 64 20 65 78 70 61 6e 73 |wild car|d expans|
|000055f0| 69 6f 6e 20 6f 6e 20 74 | 68 65 20 63 6f 6d 6d 61 |ion on t|he comma|
|00005600| 6e 64 20 6c 69 6e 65 20 | 66 6f 72 20 4d 53 44 4f |nd line |for MSDO|
|00005610| 53 20 61 6e 64 0a 58 20 | 20 20 20 68 61 6e 64 6c |S and.X | handl|
|00005620| 65 20 4d 53 44 4f 53 20 | 6d 61 74 63 68 69 6e 67 |e MSDOS |matching|
|00005630| 20 28 2a 2e 2a 20 3d 3d | 20 61 6c 6c 2c 20 6e 6f | (*.* ==| all, no|
|00005640| 74 20 2a 29 2e 0a 58 34 | 32 2e 20 43 68 61 6e 67 |t *)..X4|2. Chang|
|00005650| 65 64 20 76 65 72 73 69 | 6f 6e 20 72 65 71 75 69 |ed versi|on requi|
|00005660| 72 65 64 20 74 6f 20 75 | 6e 7a 69 70 20 74 6f 20 |red to u|nzip to |
|00005670| 31 31 20 28 31 2e 31 30 | 29 20 73 69 6e 63 65 20 |11 (1.10|) since |
|00005680| 74 68 65 20 69 6d 70 6c | 6f 64 65 0a 58 20 20 20 |the impl|ode.X |
|00005690| 20 72 6f 75 74 69 6e 65 | 73 20 63 61 6e 20 70 72 | routine|s can pr|
|000056a0| 6f 63 75 64 65 20 61 6e | 20 6f 76 65 72 6c 61 70 |ocude an| overlap|
|000056b0| 70 69 6e 67 20 6d 61 74 | 63 68 20 6f 6e 65 20 61 |ping mat|ch one a|
|000056c0| 77 61 79 20 66 72 6f 6d | 20 74 68 65 20 65 6e 64 |way from| the end|
|000056d0| 20 6f 66 20 74 68 65 0a | 58 20 20 20 20 77 69 6e | of the.|X win|
|000056e0| 64 6f 77 20 28 50 4b 55 | 4e 5a 49 50 20 31 2e 30 |dow (PKU|NZIP 1.0|
|000056f0| 30 20 72 65 71 75 69 72 | 65 73 20 74 77 6f 20 61 |0 requir|es two a|
|00005700| 77 61 79 20 66 72 6f 6d | 20 74 68 65 20 65 6e 64 |way from| the end|
|00005710| 29 2e 0a 58 34 33 2e 20 | 43 68 61 6e 67 65 64 20 |)..X43. |Changed |
|00005720| 6f 6c 64 20 6e 65 78 74 | 20 6d 61 6b 65 20 6f 70 |old next| make op|
|00005730| 74 69 6f 6e 20 74 6f 20 | 6e 65 78 74 31 30 20 28 |tion to |next10 (|
|00005740| 66 6f 72 20 76 65 72 73 | 69 6f 6e 20 31 2e 30 29 |for vers|ion 1.0)|
|00005750| 20 61 6e 64 20 61 64 64 | 65 64 20 61 0a 58 20 20 | and add|ed a.X |
|00005760| 20 20 6e 65 77 20 6e 65 | 78 74 20 6d 61 6b 65 20 | new ne|xt make |
|00005770| 6f 70 74 69 6f 6e 20 66 | 6f 72 20 32 2e 30 20 28 |option f|or 2.0 (|
|00005780| 6a 75 73 74 20 63 61 6c | 6c 65 64 20 6e 65 78 74 |just cal|led next|
|00005790| 29 20 74 68 61 74 20 75 | 73 65 73 20 74 68 65 20 |) that u|ses the |
|000057a0| 2d 6f 62 6a 65 63 74 0a | 58 20 20 20 20 6c 69 6e |-object.|X lin|
|000057b0| 6b 69 6e 67 20 6f 70 74 | 69 6f 6e 20 66 6f 72 20 |king opt|ion for |
|000057c0| 73 6d 61 6c 6c 65 72 20 | 65 78 65 63 75 74 61 62 |smaller |executab|
|000057d0| 6c 65 73 2e 0a 58 34 34 | 2e 20 41 64 64 65 64 20 |les..X44|. Added |
|000057e0| 2d 7a 20 6f 70 74 69 6f | 6e 20 74 6f 20 74 61 6b |-z optio|n to tak|
|000057f0| 65 20 61 20 6d 75 6c 74 | 69 2d 6c 69 6e 65 20 7a |e a mult|i-line z|
|00005800| 69 70 20 66 69 6c 65 20 | 63 6f 6d 6d 65 6e 74 20 |ip file |comment |
|00005810| 66 72 6f 6d 20 73 74 64 | 69 6e 2e 0a 58 34 35 2e |from std|in..X45.|
|00005820| 20 43 68 61 6e 67 65 64 | 20 74 65 6d 70 6f 72 61 | Changed| tempora|
|00005830| 72 79 20 6e 61 6d 65 73 | 20 66 72 6f 6d 20 24 5a |ry names| from $Z|
|00005840| 58 58 58 58 58 58 20 74 | 6f 20 5f 5a 58 58 58 58 |XXXXXX t|o _ZXXXX|
|00005850| 58 58 2c 20 77 68 65 72 | 65 20 58 58 58 58 58 58 |XX, wher|e XXXXXX|
|00005860| 20 69 73 0a 58 20 20 20 | 20 66 69 6c 6c 65 64 20 | is.X | filled |
|00005870| 69 6e 20 62 79 20 6d 6b | 74 65 6d 70 28 29 2e 20 |in by mk|temp(). |
|00005880| 20 54 68 69 73 20 61 76 | 6f 69 64 73 20 70 72 6f | This av|oids pro|
|00005890| 62 6c 65 6d 73 20 77 69 | 74 68 20 22 72 6d 20 24 |blems wi|th "rm $|
|000058a0| 5a 2a 22 20 69 6e 20 73 | 68 2e 0a 58 34 36 2e 20 |Z*" in s|h..X46. |
|000058b0| 47 6f 74 20 6e 65 77 20 | 69 6d 70 6c 6f 64 65 20 |Got new |implode |
|000058c0| 72 6f 75 74 69 6e 65 73 | 20 66 72 6f 6d 20 52 69 |routines| from Ri|
|000058d0| 63 68 20 74 68 61 74 20 | 61 72 65 20 28 68 6f 70 |ch that |are (hop|
|000058e0| 65 66 75 6c 6c 79 29 20 | 50 4b 55 4e 5a 49 50 0a |efully) |PKUNZIP.|
|000058f0| 58 20 20 20 20 63 6f 6d | 70 61 74 69 62 6c 65 2e |X com|patible.|
|00005900| 0a 58 34 37 2e 20 57 68 | 65 6e 20 2d 62 20 69 73 |.X47. Wh|en -b is|
|00005910| 20 6e 6f 74 20 73 70 65 | 63 69 66 69 65 64 2c 20 | not spe|cified, |
|00005920| 70 75 74 20 74 68 65 20 | 74 65 6d 70 6f 72 61 72 |put the |temporar|
|00005930| 79 20 66 69 6c 65 73 20 | 69 6e 20 74 68 65 20 73 |y files |in the s|
|00005940| 61 6d 65 0a 58 20 20 20 | 20 64 69 72 65 63 74 6f |ame.X | directo|
|00005950| 72 79 20 28 69 2e 65 2e | 20 74 68 65 20 73 61 6d |ry (i.e.| the sam|
|00005960| 65 20 64 65 76 69 63 65 | 29 20 74 68 61 74 20 74 |e device|) that t|
|00005970| 68 65 20 7a 69 70 20 66 | 69 6c 65 20 69 73 20 28 |he zip f|ile is (|
|00005980| 6f 72 20 77 69 6c 6c 20 | 62 65 29 20 69 6e 2e 0a |or will |be) in..|
|00005990| 58 34 38 2e 20 41 64 64 | 65 64 20 64 6f 74 75 72 |X48. Add|ed dotur|
|000059a0| 62 6f 63 2e 62 61 74 20 | 61 6e 64 20 64 6f 6d 73 |boc.bat |and doms|
|000059b0| 63 2e 62 61 74 20 66 69 | 6c 65 73 20 74 6f 20 63 |c.bat fi|les to c|
|000059c0| 6f 6d 70 69 6c 65 20 66 | 6f 72 20 54 75 72 62 6f |ompile f|or Turbo|
|000059d0| 20 43 2b 2b 20 31 2e 30 | 0a 58 20 20 20 20 61 6e | C++ 1.0|.X an|
|000059e0| 64 20 4d 69 63 72 6f 73 | 6f 66 74 20 43 20 35 2e |d Micros|oft C 5.|
|000059f0| 31 2e 20 20 49 20 61 6d | 20 69 6e 74 65 72 65 73 |1. I am| interes|
|00005a00| 74 65 64 20 69 6e 20 73 | 75 63 63 65 73 73 65 73 |ted in s|uccesses|
|00005a10| 20 61 6e 64 20 66 61 69 | 6c 75 72 65 73 20 77 69 | and fai|lures wi|
|00005a20| 74 68 0a 58 20 20 20 20 | 6f 74 68 65 72 20 76 65 |th.X |other ve|
|00005a30| 72 73 69 6f 6e 73 20 6f | 66 20 74 68 6f 73 65 20 |rsions o|f those |
|00005a40| 63 6f 6d 70 69 6c 65 72 | 73 2e 20 20 49 6e 20 74 |compiler|s. In t|
|00005a50| 68 69 73 20 76 65 72 73 | 69 6f 6e 2c 20 74 68 65 |his vers|ion, the|
|00005a60| 20 69 6d 70 6c 6f 64 65 | 0a 58 20 20 20 20 72 6f | implode|.X ro|
|00005a70| 75 74 69 6e 65 73 20 64 | 6f 20 6e 6f 74 20 77 6f |utines d|o not wo|
|00005a80| 72 6b 20 75 6e 64 65 72 | 20 4d 53 44 4f 53 2e 0a |rk under| MSDOS..|
|00005a90| 58 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |X-------|--------|
|00005aa0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 20 4d 61 79 20 20 36 |--------|- May 6|
|00005ab0| 20 20 31 39 39 31 20 20 | 20 76 65 72 73 69 6f 6e | 1991 | version|
|00005ac0| 20 30 2e 38 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | 0.8 ---|--------|
|00005ad0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0a 42 75 |--------|-----.Bu|
|00005ae0| 65 6e 6f 73 20 44 69 61 | 73 20 41 6d 69 67 6f 73 |enos Dia|s Amigos|
|00005af0| 2c 0a 58 0a 48 65 65 72 | 20 65 65 73 20 64 65 65 |,.X.Heer| ees dee|
|00005b00| 20 43 69 6e 63 6f 20 64 | 65 20 4d 61 79 6f 20 72 | Cinco d|e Mayo r|
|00005b10| 65 65 6c 65 65 73 65 20 | 6f 66 20 73 65 65 70 2c |eeleese |of seep,|
|00005b20| 20 61 6b 61 20 5a 69 70 | 20 30 2e 38 2e 20 20 54 | aka Zip| 0.8. T|
|00005b30| 68 65 20 63 68 61 6e 67 | 65 73 0a 66 72 6f 6d 20 |he chang|es.from |
|00005b40| 30 2e 37 20 61 72 65 20 | 69 6e 20 74 68 65 20 28 |0.7 are |in the (|
|00005b50| 6c 6f 6e 67 29 20 6c 69 | 73 74 20 62 65 6c 6f 77 |long) li|st below|
|00005b60| 2c 20 62 75 74 20 68 65 | 72 65 20 61 72 65 20 73 |, but he|re are s|
|00005b70| 6f 6d 65 20 68 69 67 68 | 6c 69 67 68 74 73 3a 0a |ome high|lights:.|
|00005b80| 66 61 73 74 65 72 20 69 | 6d 70 6c 6f 64 65 2c 20 |faster i|mplode, |
|00005b90| 66 61 73 74 65 72 20 73 | 68 72 69 6e 6b 2c 20 66 |faster s|hrink, f|
|00005ba0| 69 72 73 74 20 61 74 74 | 65 6d 70 74 20 61 74 20 |irst att|empt at |
|00005bb0| 61 20 56 4d 53 20 76 65 | 72 73 69 6f 6e 20 28 74 |a VMS ve|rsion (t|
|00005bc0| 68 61 6e 6b 73 0a 74 6f | 20 43 61 76 65 20 4e 65 |hanks.to| Cave Ne|
|00005bd0| 77 74 29 2c 20 61 6e 64 | 20 61 20 6e 65 77 20 70 |wt), and| a new p|
|00005be0| 72 6f 67 72 61 6d 2c 20 | 5a 69 70 4e 6f 74 65 2c |rogram, |ZipNote,|
|00005bf0| 20 74 6f 20 61 69 64 20 | 69 6e 20 65 64 69 74 69 | to aid |in editi|
|00005c00| 6e 67 20 7a 69 70 20 66 | 69 6c 65 0a 63 6f 6d 6d |ng zip f|ile.comm|
|00005c10| 65 6e 74 73 2e 20 20 54 | 6f 20 63 6f 6d 70 69 6c |ents. T|o compil|
|00005c20| 65 20 75 6e 64 65 72 20 | 56 4d 53 2c 20 64 6f 20 |e under |VMS, do |
|00005c30| 61 6e 20 22 40 6d 61 6b | 65 76 6d 73 2e 63 6f 6d |an "@mak|evms.com|
|00005c40| 22 2e 20 20 54 6f 20 63 | 6f 6d 70 69 6c 65 20 75 |". To c|ompile u|
|00005c50| 73 69 6e 67 0a 4d 69 72 | 63 6f 73 6f 66 74 20 43 |sing.Mir|cosoft C|
|00005c60| 20 64 6f 20 61 20 22 6d | 61 6b 65 20 6d 61 6b 65 | do a "m|ake make|
|00005c70| 66 69 6c 65 2e 6d 73 63 | 22 2e 20 20 54 6f 20 63 |file.msc|". To c|
|00005c80| 6f 6d 70 69 6c 65 20 75 | 73 69 6e 67 20 42 6f 72 |ompile u|sing Bor|
|00005c90| 6c 61 6e 64 20 28 54 75 | 72 62 6f 29 0a 43 2c 20 |land (Tu|rbo).C, |
|00005ca0| 64 6f 20 61 20 22 6d 61 | 6b 65 20 2d 66 6d 61 6b |do a "ma|ke -fmak|
|00005cb0| 65 66 69 6c 65 2e 62 6f | 72 22 2e 20 20 50 6c 65 |efile.bo|r". Ple|
|00005cc0| 61 73 65 20 74 72 79 20 | 74 6f 20 62 72 65 61 6b |ase try |to break|
|00005cd0| 20 61 6e 79 20 6f 72 20 | 61 6c 6c 20 6f 66 20 74 | any or |all of t|
|00005ce0| 68 65 73 65 0a 70 72 6f | 67 72 61 6d 73 20 69 6e |hese.pro|grams in|
|00005cf0| 20 65 76 65 72 79 20 63 | 6f 6e 63 65 69 76 61 62 | every c|onceivab|
|00005d00| 6c 65 20 77 61 79 2d 2d | 77 65 27 72 65 20 67 65 |le way--|we're ge|
|00005d10| 74 74 69 6e 67 20 63 6c | 6f 73 65 20 61 20 70 75 |tting cl|ose a pu|
|00005d20| 62 6c 69 63 20 72 65 6c | 65 61 73 65 2e 0a 54 68 |blic rel|ease..Th|
|00005d30| 61 6e 6b 20 79 65 77 20 | 66 65 72 20 79 6f 75 72 |ank yew |fer your|
|00005d40| 20 73 75 70 70 6f 72 74 | 2e 0a 58 0a 4d 61 72 6b | support|..X.Mark|
|00005d50| 20 41 64 6c 65 72 0a 6d | 61 64 6c 65 72 40 70 6f | Adler.m|adler@po|
|00005d60| 6f 68 2e 63 61 6c 74 65 | 63 68 2e 65 64 75 0a 58 |oh.calte|ch.edu.X|
|00005d70| 0a 43 68 61 6e 67 65 73 | 20 66 72 6f 6d 20 30 2e |.Changes| from 0.|
|00005d80| 37 20 74 6f 20 30 2e 38 | 3a 0a 58 0a 58 31 2e 20 |7 to 0.8|:.X.X1. |
|00005d90| 20 41 64 64 65 64 20 74 | 68 65 20 2d 6e 20 6f 70 | Added t|he -n op|
|00005da0| 74 69 6f 6e 20 74 6f 20 | 70 72 65 76 65 6e 74 20 |tion to |prevent |
|00005db0| 63 6f 6d 70 72 65 73 73 | 69 6e 67 20 61 6c 72 65 |compress|ing alre|
|00005dc0| 61 64 79 20 63 6f 6d 70 | 72 65 73 73 65 64 20 66 |ady comp|ressed f|
|00005dd0| 69 6c 65 73 2e 0a 58 20 | 20 20 20 44 6f 63 75 6d |iles..X | Docum|
|00005de0| 65 6e 74 65 64 20 2d 6e | 20 69 6e 20 7a 69 70 2e |ented -n| in zip.|
|00005df0| 31 2e 0a 58 32 2e 20 20 | 43 68 65 63 6b 20 74 68 |1..X2. |Check th|
|00005e00| 65 20 6c 65 6e 67 74 68 | 20 6f 66 20 74 68 65 20 |e length| of the |
|00005e10| 63 6f 6d 70 72 65 73 73 | 65 64 20 64 61 74 61 20 |compress|ed data |
|00005e20| 69 6e 20 7a 69 70 75 70 | 28 29 20 69 6e 20 63 61 |in zipup|() in ca|
|00005e30| 73 65 20 69 6d 70 6c 6f | 64 65 20 6f 72 0a 58 20 |se implo|de or.X |
|00005e40| 20 20 20 73 68 72 69 6e | 6b 20 68 61 73 20 61 20 | shrin|k has a |
|00005e50| 62 75 67 2e 0a 58 33 2e | 20 20 46 69 78 65 64 20 |bug..X3.| Fixed |
|00005e60| 2d 76 20 6f 70 74 69 6f | 6e 20 74 6f 20 6e 6f 74 |-v optio|n to not|
|00005e70| 20 63 6f 6d 70 6c 61 69 | 6e 20 61 62 6f 75 74 20 | complai|n about |
|00005e80| 6e 65 65 64 69 6e 67 20 | 50 4b 55 4e 5a 49 50 20 |needing |PKUNZIP |
|00005e90| 31 2e 31 2e 0a 58 34 2e | 20 20 41 64 64 65 64 20 |1.1..X4.| Added |
|00005ea0| 72 65 70 6f 72 74 20 6f | 66 20 73 74 6f 72 65 2f |report o|f store/|
|00005eb0| 73 68 72 69 6e 6b 2f 69 | 6d 70 6c 6f 64 65 20 73 |shrink/i|mplode s|
|00005ec0| 69 7a 65 73 20 77 68 65 | 6e 20 2d 76 20 28 76 65 |izes whe|n -v (ve|
|00005ed0| 72 62 6f 73 65 29 20 75 | 73 65 64 2e 0a 58 35 2e |rbose) u|sed..X5.|
|00005ee0| 20 20 50 75 74 20 69 6e | 20 52 69 63 68 27 73 20 | Put in| Rich's |
|00005ef0| 70 61 74 63 68 20 74 6f | 20 66 69 78 20 31 30 30 |patch to| fix 100|
|00005f00| 25 20 69 6d 70 6c 6f 73 | 69 6f 6e 20 62 75 67 2e |% implos|ion bug.|
|00005f10| 0a 58 36 2e 20 20 46 69 | 78 65 64 20 2d 69 20 62 |.X6. Fi|xed -i b|
|00005f20| 75 67 2e 0a 58 37 2e 20 | 20 4d 61 64 65 20 63 68 |ug..X7. | Made ch|
|00005f30| 61 6e 67 65 73 20 74 6f | 20 69 6d 5f 63 74 72 65 |anges to| im_ctre|
|00005f40| 65 2e 63 20 61 6e 64 20 | 69 6d 70 6c 6f 64 65 2e |e.c and |implode.|
|00005f50| 63 20 74 6f 20 28 68 6f | 70 65 66 75 6c 6c 79 29 |c to (ho|pefully)|
|00005f60| 20 6d 61 6b 65 20 69 74 | 20 77 6f 72 6b 0a 58 20 | make it| work.X |
|00005f70| 20 20 20 75 6e 64 65 72 | 20 4d 53 44 4f 53 2e 20 | under| MSDOS. |
|00005f80| 20 28 4a 65 61 6e 2d 4c | 6f 75 70 20 73 61 69 64 | (Jean-L|oup said|
|00005f90| 20 64 65 63 6c 61 72 65 | 20 74 6f 70 6d 61 78 76 | declare| topmaxv|
|00005fa0| 61 6c 73 20 61 6e 64 20 | 62 6f 74 6d 61 78 76 61 |als and |botmaxva|
|00005fb0| 6c 73 20 61 73 0a 58 20 | 20 20 20 55 5f 49 4e 54 |ls as.X | U_INT|
|00005fc0| 20 69 6e 20 69 6d 5f 63 | 74 72 65 65 2e 63 2c 20 | in im_c|tree.c, |
|00005fd0| 61 6e 64 20 75 73 65 20 | 4d 53 44 4f 53 2c 20 6e |and use |MSDOS, n|
|00005fe0| 6f 74 20 5f 5f 4d 53 44 | 4f 53 5f 5f 20 69 6e 20 |ot __MSD|OS__ in |
|00005ff0| 69 6d 70 6c 6f 64 65 2e | 63 2e 29 0a 58 38 20 20 |implode.|c.).X8 |
|00006000| 20 41 64 64 65 64 20 69 | 6d 70 6c 6f 64 65 20 72 | Added i|mplode r|
|00006010| 6f 75 74 69 6e 65 20 63 | 6f 6d 70 69 6c 61 74 69 |outine c|ompilati|
|00006020| 6f 6e 20 74 6f 20 64 6f | 6d 73 63 2e 62 61 74 20 |on to do|msc.bat |
|00006030| 61 6e 64 20 64 6f 74 75 | 72 62 6f 63 2e 62 61 74 |and dotu|rboc.bat|
|00006040| 2e 0a 58 39 2e 20 20 52 | 65 70 6c 61 63 65 64 20 |..X9. R|eplaced |
|00006050| 46 49 4c 45 4e 41 4d 45 | 5f 4d 41 58 20 77 69 74 |FILENAME|_MAX wit|
|00006060| 68 20 46 4e 4d 41 58 2c | 20 77 68 69 63 68 20 69 |h FNMAX,| which i|
|00006070| 73 20 6e 6f 77 20 61 6c | 77 61 79 73 20 31 30 32 |s now al|ways 102|
|00006080| 34 2e 20 20 28 49 74 20 | 73 65 65 6d 73 0a 58 20 |4. (It |seems.X |
|00006090| 20 20 20 46 49 4c 45 4e | 41 4d 45 5f 4d 41 58 20 | FILEN|AME_MAX |
|000060a0| 69 73 20 69 6e 63 6f 72 | 72 65 63 74 6c 79 20 73 |is incor|rectly s|
|000060b0| 65 74 20 74 6f 20 31 34 | 20 6f 6e 20 73 6f 6d 65 |et to 14| on some|
|000060c0| 20 53 79 73 74 65 6d 20 | 56 20 55 6e 69 78 69 69 | System |V Unixii|
|000060d0| 2e 29 0a 58 31 30 2e 20 | 43 68 61 6e 67 65 64 20 |.).X10. |Changed |
|000060e0| 42 45 53 54 20 74 6f 20 | 2d 31 20 73 6f 20 69 74 |BEST to |-1 so it|
|000060f0| 20 69 73 20 64 69 66 66 | 65 72 65 6e 74 20 66 72 | is diff|erent fr|
|00006100| 6f 6d 20 53 54 4f 52 45 | 20 28 3d 30 29 2e 20 20 |om STORE| (=0). |
|00006110| 52 65 64 69 64 20 73 6f | 6d 65 20 6f 66 0a 58 20 |Redid so|me of.X |
|00006120| 20 20 20 74 68 65 20 6d | 65 74 68 6f 64 20 6c 6f | the m|ethod lo|
|00006130| 67 69 63 20 69 6e 20 7a | 69 70 75 70 28 29 2e 0a |gic in z|ipup()..|
|00006140| 58 31 31 2e 20 43 68 61 | 6e 67 65 64 20 77 62 2b |X11. Cha|nged wb+|
|00006150| 20 74 6f 20 77 2b 62 20 | 69 6e 20 69 6d 70 6c 6f | to w+b |in implo|
|00006160| 64 65 2e 63 2e 0a 58 31 | 32 2e 20 52 65 6d 6f 76 |de.c..X1|2. Remov|
|00006170| 65 64 20 22 6e 6f 74 68 | 69 6e 67 20 74 6f 20 64 |ed "noth|ing to d|
|00006180| 6f 22 20 65 72 72 6f 72 | 20 66 6f 72 20 2d 75 20 |o" error| for -u |
|00006190| 61 6e 64 20 2d 66 2e 0a | 58 31 33 2e 20 5a 69 70 |and -f..|X13. Zip|
|000061a0| 20 73 6f 75 72 63 65 20 | 64 69 73 74 72 69 62 75 | source |distribu|
|000061b0| 74 69 6f 6e 73 20 77 69 | 6c 6c 20 6e 6f 77 20 68 |tions wi|ll now h|
|000061c0| 61 76 65 20 74 61 62 73 | 20 72 65 6d 6f 76 65 64 |ave tabs| removed|
|000061d0| 2c 20 65 78 63 65 70 74 | 20 66 6f 72 0a 58 20 20 |, except| for.X |
|000061e0| 20 20 4d 61 6b 65 66 69 | 6c 65 20 61 6e 64 20 4d | Makefi|le and M|
|000061f0| 61 6b 65 66 69 6c 65 2e | 65 78 70 20 28 6e 6f 20 |akefile.|exp (no |
|00006200| 66 65 65 6c 74 68 79 20 | 74 61 62 73 20 72 75 6c |feelthy |tabs rul|
|00006210| 65 29 2e 0a 58 31 34 2e | 20 43 68 61 6e 67 65 64 |e)..X14.| Changed|
|00006220| 20 7a 69 70 20 65 72 72 | 6f 72 20 6f 6e 20 6f 70 | zip err|or on op|
|00006230| 65 6e 20 66 61 69 6c 75 | 72 65 20 74 6f 20 61 20 |en failu|re to a |
|00006240| 77 61 72 6e 69 6e 67 2e | 20 20 54 68 69 73 20 61 |warning.| This a|
|00006250| 63 63 6f 75 6e 74 73 20 | 66 6f 72 0a 58 20 20 20 |ccounts |for.X |
|00006260| 20 66 69 6c 65 73 20 74 | 68 61 74 20 64 6f 20 6e | files t|hat do n|
|00006270| 6f 74 20 68 61 76 65 20 | 72 65 61 64 20 70 65 72 |ot have |read per|
|00006280| 6d 69 73 73 69 6f 6e 20 | 6f 72 20 61 72 65 20 6c |mission |or are l|
|00006290| 6f 63 6b 65 64 2c 20 61 | 6e 64 20 66 69 6c 65 73 |ocked, a|nd files|
|000062a0| 0a 58 20 20 20 20 64 65 | 6c 65 74 65 64 20 64 75 |.X de|leted du|
|000062b0| 72 69 6e 67 20 74 68 65 | 20 7a 69 70 2e 20 20 46 |ring the| zip. F|
|000062c0| 6f 72 20 65 6e 74 72 69 | 65 73 20 62 65 69 6e 67 |or entri|es being|
|000062d0| 20 75 70 64 61 74 65 64 | 2c 20 74 68 65 20 6f 6c | updated|, the ol|
|000062e0| 64 20 65 6e 74 72 79 20 | 69 73 0a 58 20 20 20 20 |d entry |is.X |
|000062f0| 63 6f 70 69 65 64 20 6f | 76 65 72 20 69 6e 73 74 |copied o|ver inst|
|00006300| 65 61 64 2e 20 20 54 68 | 69 73 20 63 68 61 6e 67 |ead. Th|is chang|
|00006310| 65 20 68 61 64 20 74 68 | 65 20 73 69 64 65 20 65 |e had th|e side e|
|00006320| 66 66 65 63 74 20 6f 66 | 20 72 65 6d 6f 76 69 6e |ffect of| removin|
|00006330| 67 20 74 68 65 0a 58 20 | 20 20 20 7a 69 70 73 6b |g the.X | zipsk|
|00006340| 69 70 28 29 20 72 6f 75 | 74 69 6e 65 2e 0a 58 31 |ip() rou|tine..X1|
|00006350| 35 2e 20 52 65 6d 6f 76 | 65 64 20 4f 42 4a 43 20 |5. Remov|ed OBJC |
|00006360| 64 65 70 65 6e 64 65 6e | 63 69 65 73 20 69 6e 20 |dependen|cies in |
|00006370| 4d 61 6b 65 66 69 6c 65 | 2e 65 78 70 20 28 64 69 |Makefile|.exp (di|
|00006380| 64 6e 27 74 20 62 65 6c | 6f 6e 67 29 2e 0a 58 31 |dn't bel|ong)..X1|
|00006390| 36 2e 20 52 65 6d 6f 76 | 65 64 20 73 74 72 69 70 |6. Remov|ed strip|
|000063a0| 20 66 72 6f 6d 20 4d 61 | 6b 65 66 69 6c 65 2c 20 | from Ma|kefile, |
|000063b0| 69 6e 73 74 65 61 64 20 | 75 73 69 6e 67 20 74 68 |instead |using th|
|000063c0| 65 20 2d 73 20 6c 69 6e | 6b 20 6f 70 74 69 6f 6e |e -s lin|k option|
|000063d0| 2e 0a 58 31 37 2e 20 46 | 69 78 65 64 20 2d 75 6d |..X17. F|ixed -um|
|000063e0| 20 61 6e 64 20 2d 66 6d | 20 74 6f 20 64 65 6c 65 | and -fm| to dele|
|000063f0| 74 65 20 66 69 6c 65 73 | 20 77 68 6f 73 65 20 65 |te files| whose e|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.