README 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. Tandem Port of Info ZIP (unzip)
  2. =======================
  3. Recent changes:
  4. 1. Support UNZIPing of EDIT (text) files by use of the "-a" parameter
  5. 2. Changes for version 2.2 affected files:
  6. - TANDEMC (changes to stat() to pass file creation time)
  7. - ZIPINFOC (exclude TANDEM from tzset() test)
  8. 3. Fix to default time/date field to UK format (dd/mm/yyyy)
  9. 03/08/98 5.33f Updates for TANDEMC/H to keep instep with ZIP (file buffering)
  10. New DOIT macro for extracting files from archive
  11. Fix in2ex to expand full vol/subvol depending on '-j' flag
  12. 17/08/98 5.33f Set USE_EF_UT_TIME to allow for timezone changes
  13. 18/08/98 5.33f Use define LICENSED to build object able to update timestamps
  14. 19/08/98 5.33f Add -X flag support (restore file owner id) via unzip.c/h
  15. new chown function in tandem.c.
  16. Modified close_outfile to make the chown the last step.
  17. 30/11/98 5.41a Updated mapname/chmod/in2ex, include licensing in MAKE
  18. 21/12/98 5.41a Add decoding of new Tandem extra field EF_TANDEM
  19. Make '-a' default option. Add '-b' option to force creation
  20. of 'C' filecode 180 type text files.
  21. If available populate Tandem file code (e.g. Object files)
  22. Rationalised TANDEMH and TANDEMC wth ZIP 2.3i
  23. Fixed MORE (-M flag) processing by creating zgetch()
  24. 12/01/99 5.41a Correct bug stopping setting of last open timestamp
  25. 24/03/99 5.41b Split TANDEMC into TANDEMC/TANZIPC/TANUNZC
  26. 24/03/99 5.41b Added TANNSKH to allow for declarations which require
  27. structures defined in ZIPH after call to TANDEMH
  28. 07/05/99 5.41c Assume not DST if can't resolve time (no DST table available)
  29. 01/06/99 5.41c Add steps to make Self Extracting files (SFX)
  30. 12/01/01 5.42g Fix problems with MAKE for WIDE objects, updated TANDEMC/H
  31. in line with ZIP, updated DOIT to remove TIMEZONE.C
  32. If we ever want to use TIMEZONE.C then we need to set the
  33. define IZTZ_DEFINESTDGLOBALS, it then compiles OK. The object
  34. would need to be added to the building of UNZIPLIB in make.
  35. 09/02/01 5.50a Added code to tandem.c to create files with appropriate
  36. extent sizes, or actual values if file was originally NSK
  37. 15/02/01 Update tandem.c to force first character to 'A' for Tandem
  38. filenames
  39. 12/04/01 5.50c Fix problem with duff EF lengths in ef_scan_for_tandem
  40. 12/04/01 Change definition of nsk_attrs to allow for Wide mode and
  41. subsequent respecifications of procedures that use it
  42. 12/04/01 Fix bug in tanunz.c so that call to FILE_ALTERLIST_ has upper
  43. case filename
  44. 12/04/01 Update tandem.c to only allow '$' in in2ex as appropriate
  45. 16/07/01 5.50g Fixed bug in tandem.c for incorrect use of slist_items rather
  46. than vlist_items
  47. 18/07/01 Allow edit files to be created with original extents
  48. 25/07/02 5.51b Add "-r" remove file extensions command line option
  49. 07/08/02 5.51b Non-Tandem non-text files now set to code 0 (not 100)
  50. 21/10/02 5.51b Tandem Enscribe files containing text set to code 101
  51. 03/01/03 5.51b Fix bug in extract of Text files - caused by Deflate64 changes
  52. which made various buffers 64k and mismatches with unsigned.
  53. Added NO_DEFLATE64 to MAKE and made this the default for
  54. non-WIDE mode. If DEFLATE64 is used and non-WIDE then it drops
  55. down to MED_MEM model for OUTBUFSIZ logic.
  56. A few notes about the files on this subvol
  57. COMMACS - required by MAKE, *** held on ZIP subvol ***
  58. DOIT - macro to extract required Tandem files from archive and rename
  59. MACROS - required by MAKE, *** held on ZIP subvol ***
  60. MAKE - recompile UNZIP code, attempts to only recompile changed code
  61. MAKESFX - make SFX header file
  62. README - this file
  63. UNZIPLIB - library of ZIP compiled routines, used by ZIP/ZIPNOTE etc
  64. UNZIPL - ZIP object (bound using LARGE memory model)
  65. *C - Source file
  66. *H - Header files
  67. *O - Individual object files (when compiled by MAKE)
  68. Install Notes:
  69. ==============
  70. Stage 1 - get UNZIP object onto Tandem
  71. - download Tandem Unzip executables archive from Web
  72. - using PC unzip program (e.g. pkunzip/WinZip) extract UNZIP
  73. - copy UNZIP from PC to Tandem in Binary mode s(FTP/IXF)
  74. - alter file code to 100
  75. - optionally place in $SYSTEM.SYSTEM to allow easy access from command line
  76. Stage 2 - (optional) retrieve source code (requires UNZIP on Tandem)
  77. - download UNZIP source archive from web - contains all supported platforms
  78. - copy archive onto Tandem as Binary
  79. - extract Tandem DOIT macro ( UNZIP -j <archive> tandem/DOIT )
  80. - update DOIT macro to point at archive file
  81. - restore relevant files by running DOIT
  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. Additional Notes - LICENSE the object:
  88. ======================================
  89. If you wish to be able to update the last modified time of files you unzip
  90. you need to add the line "#define LICENSED" to the TANDEMH file. If you set
  91. this option you MUST FUP LICENSE the file as SUPER.SUPER.
  92. This is a Tandem restriction since we have to call a PRIV procedure to update
  93. the file label. For UNZIP the define is setup (default) in tandem.h
  94. Additional Notes - Self Extracting
  95. ==================================
  96. To create a Self Extracting (SFX) file you need to do the following
  97. - run the MAKESFX file to create the SFX object files
  98. - create a normal Zip file
  99. - create an empty Unstructured file
  100. - FUP COPY SFX into new file
  101. - FUP COPY your Zip file to the end of this new file
  102. - run ZIP -A <zipfile> to fix the internal pointers
  103. - alter the filecode of <zipfile> to 100 (I'll do this in Zip -A soon)
  104. For performance you should Axcel the finished file.