TOOLS This directory contains various tools of use in reading and pulling apart programs from the VAX SIG tapes (and from other sources). There are several categories. The first are tape copiers. Programs TCOPY.* and TCPY*.* are for tape to tape copies, format indepentdent. TCOPY is for VAX, native mode, where TCPY is for RSX or compat mode VMS. These programs just copy one foreign mounted tape to another, independent of tape format. They will handle block sizes too large for ANSI tape, so are more useful for this than the COPY command. Second are tape-disk-tape copy programs. These are for use where you want to do image tape copies with one tape drive, or where you want to make lots of copies of a tape. They create container files on disk of all data on a tape, or write the container files to a tape which is then identical to the original tape. The tapes must be mounted foreign. BIGTPC is the RSX copy program. Use it on PDP11; not on VAX. VMSTPC is the VMS version. Use it on VMS. Both do several asynchronous QIO$s and are AST driven, thus extremely fast. The PDP11 version will handle tape block sizes up to 11,000 bytes; the VAX version will handle tape blocks up to 32766 bytes (due to RMS limitations). Due to their great speed, they are better for copying one tape to many if you have the disk space needed for the container files. Next are the LZW compress and decompress programs. These are compatible with Ui*x Compress also. They are used to compress files or decompress them. The executables supplied should work OK on all current VMS versions. The sources have a newly-fatal bug in that when conditioned for VMS they do a realloc on a memory area that was not the result of a malloc in the first place. This is easily fixed (and will be when the current .EXE's stop working), but the .EXE's here are linked with the object libraries for the old C runtime which treated this realloc as a malloc and did the right thing. If you have a file from a un*x system with .Z at the end, it is generally compressed; use LZDCM to decompress it. Frequently Un*x sites compress TAR images on disk. The practice in VMS land is to use LZCMP on VMS Backup savesets. Same idea; different tools. This leads us to the last group of tools, the TAR read and write utilities. These can read or write Un*x TAR format tapes or disk files, and can be used to pull tar disk images apart on VMS. VMS TAR tape readers and writers These are the TAR handlers you should generally use! They will read TAR tapes into a directory, creating subdirectories as needed and massaging filenames to be legal in VMS V4.x. TARREAD Usage: $mount/foreign/block=10240/record=512 mta0: tape tape $assign mta0: tape $tarrdr:==$TARREAD $tarread -xv The tape will be read and files moved to a VMS directory tree starting in your current directory tree. Tapes with blocks up to 10240 can be read as is. The file can easily be edited to read larger tapes. TARWRITE usage: Mount the tape the same as for TARREAD. Assign the logical TAPE to it. Define TARWRITE symbol to run TARWRITE $tarwrite -cv [filespec,filespec,,,] e.g. $tarwrite -cv [...]*.* to write a tree to tape in TAR format.