README
1Tandem Port of Info ZIP (zip)
2=======================
3
4History:
51. Tidy up COMMACS/MACROS/MAKE
62. Changes for version 5.32d affected files:
7- TANDEMC (changes to stat() for UNZIP)
8- ZIPUPC (changes to use REVISIOH rather than REVISEH)
9- ZIPFILEC (don't add ".zip" to ZIP name)
10- FILEIOC (cosmetic missing "*/")
113. Fix to allow zipping of files called ZIP (e.g. DAVES.ZIP)
1203/08/98 2.3e Process Tandem DEFINE names - use define name as internal name
13 Remove BITSO from build of ZIPLIB
14 New DOIT macro for extracting files from archive
1517/08/98 2.3e Set USE_EF_UT_TIME to allow for timezone changes
1618/08/98 2.3e Use define LICENSED to build object able to update timestamps
1730/11/98 2.3h Updated mapname/chmod/in2ex, include licensing in MAKE
1821/12/98 2.3i Add simple Enscribe file handling, consisting of:
19 - storing Enscribe files as LF delimited text files
20 - adding Tandem Extra Field, holding Enscribe file attributes
21 Create ZIP file with Tandem File Code 1001
22 Rationalised TANDEMH and TANDEMC wth UNZIP 5.40d
2312/01/99 2.3i Correct bug stopping setting of last open timestamp
2425/01/99 2.3k Add '-B' flag to zip Enscribe files with no record delimiters
2526/01/99 2.3k Make CRLF the default delimiter for Structured and Text files
2601/02/99 2.3k Use maximum size large transfer read (57344) as default, allow
27 smaller value as option
2801/02/99 2.3k Redefine -B flag for Edit/Enscribe files as in table below.
29 Default (-B or -B0 or no flag) is add CR/LF
30
31 -B<number> options at present are:
32 Bit 0 - Don't add delimiter (Edit/Enscribe)
33 Bit 1 - Use LF rather than CR/LF as delimiter (Edit/Enscribe)
34 Bit 2 - Space fill record to max record length (Enscribe)
35 Bit 3 - Trim trailing space (Edit/Enscribe)
36
37 Bit 8 - Force 30K (Expand) large read for Unstructured files
38
3906/02/99 2.3k Attempt to catch Large Transfer mode failure (err 21) when
40 attempting 56K reads, add substitute 30K reads (Expand files)
4124/03/99 2.3m Split TANDEMC into TANDEMC/TANZIPC/TANUNZC
4224/03/99 2.3m Added TANNSKH to allow for declarations which require
43 structures defined in ZIPH after call to TANDEMH
4411/05/99 2.3m Change zopen in TANZIPC to allow opening of files with
45 missing alt keys (err 4)
46 Assume not DST if can't resolve time (no DST table available)
4727/09/99 2.3o Fixed bug in -B0 option causing files to be stored rather than
48 deflated. Created TANZIPH
4929/04/02 2.4g Fixed contention on temporary file when multiple ZIPs run
50
51A few notes about the files on this subvol
52
53COMMACS - used by MAKE (compiler)
54DOIT - macro to extract required Tandem files from archive and rename
55MACROS - used by MAKE (bind)
56MAKE - recompile ZIP code, attempts to only recompile changed code
57README - this file
58ZIPLIB - library of ZIP compiled routines, used by ZIP/ZIPNOTE etc
59ZIPL - ZIP object (bound using LARGE memory model)
60ZIPNOTE - ZIPNOTE object (bound using LARGE memory model)
61
62*C - Source file
63*H - Header files
64*O - Individual object files (when compiled by MAKE)
65
66Install Notes:
67==============
68Stage 1 - get ZIP object onto Tandem
69- download Tandem Zip executables archive from Web
70- using PC unzip program (e.g. pkunzip/WinZip) extract ZIP
71- copy ZIP from PC to Tandem in Binary mode s(FTP/IXF)
72- alter file code to 100
73- optionally place in $SYSTEM.SYSTEM to allow easy access from command line
74
75Stage 2 - (optional) compile source code (requires UNZIP on Tandem)
76- download ZIP source archive fwom web - contains all supported platforms
77- copy archive onto Tandem as Binary
78- extract Tandem DOIT macro ( UNZIP -j <archive> tandem/DOIT )
79- update DOIT macro to point at archive file
80- restore relevant files by running DOIT
81- NOTE that revision.h must be restored as REVISIOH
82- replace references to $T with a collector on your system
83- replace references to SUPER.DAVES with whatever user id you use
84- to compile run MAKE (compiles, accelerates, licences)
85- NOTE: Always run the accelerated object on TNS/R systems, otherwise
86 it runs extremely slow.
87
88
89Additional Notes - LICENSE the object:
90======================================
91If you wish to be able to update the last modified time of the zip file
92(-o option) you need to add the line "#define LICENSED" to the TANDEMH file.
93If you set this option then you MUST FUP LICENSE the file as SUPER.SUPER.
94This is a Tandem restriction since we have to call a PRIV procedure to update
95the file label. For ZIP the define is setup (default) in tandem.h
96