home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / TAR.ZIP / TAR.TXT < prev   
Text File  |  1990-07-22  |  2KB  |  49 lines

  1. Notes on OS/2 TAR
  2.  
  3. This is a port of PD TAR to OS/2. All features are functional, except that
  4. reading/writing to a "raw" device is not supported. I needed TAR
  5. (Unix archiving) and COMPRESS (Unix LZW compression) to port Unix files
  6. onto OS/2.
  7.  
  8. Ordinarily, Unix archives will be supplied as ".taz" files. The "z" at
  9. the end of the name means that COMPRESS must be used to decompress the
  10. file first:
  11.  
  12.         [D:\]COMPRESS -d ARCHIVE.TAZ
  13.  
  14. This will decompress the file, producing ARCHIVE.TA, which should then
  15. be renamed to ARCHIVE.TAR. Note that COMPRESS.EXE comes from CIS, and
  16. was not supplied with *any* documentation. It is, however, fully
  17. compatible with the Unix version, and "COMPRESS -?" will give option
  18. help. Versions of COMPRESS running under DOS are only be able to use
  19. 12 bit compression--use 16 bit mode under OS/2 and Unix exclusively!
  20. (the LZW Hash table will get too big).
  21.  
  22. To take apart a TAR file, use the TAR utility. I ported this to OS/2
  23. myself, and as a time-saving measure, "removed" some features.
  24. Specifically, direct device access and multi-volume TAR files DO NOT
  25. WORK.
  26.  
  27. COM, OBJ and EXE files are added and extracted in BINARY mode. Other
  28. file extensions are presumed to be text files, and are converted to
  29. and from Unix format as appropriate (stored in Unix format in the
  30. TAR archive, and in DOS format when extracted). Other BINARY extensions
  31. can be declared using the -U option. However, most Unix archives are
  32. source code, and so this doesn't apply.
  33.  
  34.         [D:\]TAR -x -F ARCHIVE.TAR
  35.  
  36. will extract all files from ARCHIVE.TAR, re-creating the original
  37. directory structure. Filenames are converted from Unix format to
  38. DOS format as the extraction proceeds.
  39.  
  40. These utilities have been used to decompress and extract several
  41. large FSF distribution archives, including GHOST.TAZ, with no problems.
  42.  
  43. Both TAR.EXE and COMPRESS.EXE have been "bound", and will work under
  44. either OS/2 or DOS.
  45.  
  46. Have Fun!
  47. Fred Weigel.
  48.  
  49.