1 MGT
 MGT is a utility to allow a user to read or write foreign magtapes
 on to the VAX. The tape should be mounted as foreign. MGT has two
 modes, single command mode and conversational mode. Single mode
 executes one command while conversational allows the user to enter
 a series of commands.

 Format:

  {Single mode}
      MGT      input-file-spec   output-file-spec

  {Conversational mode}
      MGT<cr>
      MGT>     input-file-spec   output-file spec
2 Examples of commands
 The following are examples of commands to MGT and a breif explination
 of what they would do:
  
 MGT ed.com mta1:        This would copy the file ed.com to the current
                         position on mta1.

 MGT test.dat/asc mt0:   This would copy the file test.dat to mta0 and
                         convert the data from ascii to ebcdic

 MGT mt1:/rew/file=2     This would rewind the tape on mta1 and then
                         skip forward two files.

 MGT more.dat mta1: /blan=66
                         This would copy the file more.dat to mta1 and
                         blank fill any records that were less than 66
                         bytes.  The records on tape would be fixed 
                         length of 66 bytes

 MGT mt0:/trans=10 tt:   This would copy the next ten records from mt0
                         to the users terminal.

 MGT mt1: mt0:           This would copy the file from mta1 to mta0

 MGT mt1:/all mt0:       This would copy all the files from mta1 to
                         mta0.  The copy would terminate on an
                         end_of_volume mark or error.

 MGT for005.dat/block=800 mt1:
                         This would copy the file for005.dat to mt1:
                         The records on mt1: would be 800 bytes in 
                         length.

 MGT mt1:/rew/file=6 h.new
                         This would rewind mt1:, then skip forward
                         six files and copy the next file from mt1:
                         to the file h.new
2 Command hierarchy
 The tape positioning commands do not require an output spec.  They
 can be used with an input and an output spec. The following hierarchy
 is used if more than one positioning command is given:
 
                    1 REWIND
                    2 FILE_SKIP=<n>
                    3 RECORD_SKIP=<n>
                    4 END_OF_VOLUME
2 Qualifiers
/1600_BPI
 Specifies that the tape is to be written at 1600 bpi.  This command
 is only valid if the tape is at BOT.
/800_BPI
 Specifies that the tape is to be written at 800 bpi.  This command
 is only valid if the tape is at BOT.
/ALL_FILES
 Specifies that on a tape to tape copy, the copy operation will continue
 untile and end_of_volume mark is found or an empty file is encountered.
/ASC_EBC
 Specifies that after reading a record, the data will be converted from
 ASCII to EBCDIC format.
/BLANK_FILL=<n>
 Specifies that after reading a record, the buffer will be filled with 
 blanks to a length of <n> bytes.  If the record is already <n> bytes
 in length, no fill operation will take place.
/BLOCKING_FACTOR=<n>
 Specifies that the outpur records will be of length <n>.  The output
 buffer will be filled before a write is performed.  If an end_of_file
 mark is found before the output buffer is filled, it will be filled
 with blanks.
/EBC_ASC
 Specifies that after reading a record, the data will be converted from
 EBCDIC to ASCII format.
/END_OF_VOLUME
 Specifies that an end_of_volume mark is to be written to the output tape
 at the current position.  If no output tape is specified the mark will
 be written to the input tape.
/FILE_SKIP=<n>
 Specifies that the tape is to skip <n> files.  If <n> is negative the
 tape will backspace <n> files. This command is terminated if an 
 end_of_volume or bot mark is found.
/LINE_TERMINATOR=<n>
 Specifies that data will be written to the output device when the
 character whose ascii decimal equivalent of <n> is found.
/RECORD_SKIP=<n>
 Specifies that the tape is to skip <n> records. If <n> is negative the
 tape will backspace <n> records. This command is terminated if an
 end_of_file or bot mark is found.
/REWIND
 Specifies that the tape is to be rewound.
/TRANSFER_COUNT=<n>
 Specifies that only the next <n> records from the input spec are to
 be read. The data transfer will terminate when <n> records are read
 from the input spec or an end_of_file is found.
