| 1 |
Tandem Port of Info ZIP (zip) |
| 2 |
======================= |
| 3 |
|
| 4 |
History: |
| 5 |
1. Tidy up COMMACS/MACROS/MAKE |
| 6 |
2. 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 "*/") |
| 11 |
3. Fix to allow zipping of files called ZIP (e.g. DAVES.ZIP) |
| 12 |
03/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 |
| 15 |
17/08/98 2.3e Set USE_EF_UT_TIME to allow for timezone changes |
| 16 |
18/08/98 2.3e Use define LICENSED to build object able to update timestamps |
| 17 |
30/11/98 2.3h Updated mapname/chmod/in2ex, include licensing in MAKE |
| 18 |
21/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 |
| 23 |
12/01/99 2.3i Correct bug stopping setting of last open timestamp |
| 24 |
25/01/99 2.3k Add '-B' flag to zip Enscribe files with no record delimiters |
| 25 |
26/01/99 2.3k Make CRLF the default delimiter for Structured and Text files |
| 26 |
01/02/99 2.3k Use maximum size large transfer read (57344) as default, allow |
| 27 |
smaller value as option |
| 28 |
01/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 |
|
| 39 |
06/02/99 2.3k Attempt to catch Large Transfer mode failure (err 21) when |
| 40 |
attempting 56K reads, add substitute 30K reads (Expand files) |
| 41 |
24/03/99 2.3m Split TANDEMC into TANDEMC/TANZIPC/TANUNZC |
| 42 |
24/03/99 2.3m Added TANNSKH to allow for declarations which require |
| 43 |
structures defined in ZIPH after call to TANDEMH |
| 44 |
11/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) |
| 47 |
27/09/99 2.3o Fixed bug in -B0 option causing files to be stored rather than |
| 48 |
deflated. Created TANZIPH |
| 49 |
29/04/02 2.4g Fixed contention on temporary file when multiple ZIPs run |
| 50 |
|
| 51 |
A few notes about the files on this subvol |
| 52 |
|
| 53 |
COMMACS - used by MAKE (compiler) |
| 54 |
DOIT - macro to extract required Tandem files from archive and rename |
| 55 |
MACROS - used by MAKE (bind) |
| 56 |
MAKE - recompile ZIP code, attempts to only recompile changed code |
| 57 |
README - this file |
| 58 |
ZIPLIB - library of ZIP compiled routines, used by ZIP/ZIPNOTE etc |
| 59 |
ZIPL - ZIP object (bound using LARGE memory model) |
| 60 |
ZIPNOTE - 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 |
|
| 66 |
Install Notes: |
| 67 |
============== |
| 68 |
Stage 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 |
|
| 75 |
Stage 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 |
|
| 89 |
Additional Notes - LICENSE the object: |
| 90 |
====================================== |
| 91 |
If 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. |
| 93 |
If you set this option then you MUST FUP LICENSE the file as SUPER.SUPER. |
| 94 |
This is a Tandem restriction since we have to call a PRIV procedure to update |
| 95 |
the file label. For ZIP the define is setup (default) in tandem.h |