1 VAXNET
!
! VAXNET.HLP by Robin Miller on April 12, 1984.
!
 VAXNET  is  a program which allows communcations between two computers
 using  an  asynchronous  terminal  port.  The systems can be connected
 either  directly  using  a  null  modem  cable  or via a dialup modem.
 Communications  with  the remote system is accomplished using a second
 port on the local system.

 After  the  initial dialogue, you simply login to the remote system as
 an interactive user.  If a log file was specified, all output from the
 remote  system  is written to the log file.  Thus, if you want to copy
 a  file from the remote system to the local system, simply display the
 file  at  the  terminal using the TYPE command.  If you want to send a
 file  to the remote system, open a file using the CREATE command, then
 use the VAXNET DUMP command to send the file to the remote.

 An  alternate  method  of transferring files requires a program called
 SNDRCV  on  the  remote  system.  This  program allows transmission of
 ASCII files with error checking.  A program called MISH can be used to
 convert  any  type of file into printable ASCII for file transmission.
 Refer  to the MISH and SNDRCV help sections for details on using these
 programs.
2 AUTO_LOGIN
 This  command  is used to automatically login to the remote system
 when  you  are  using  an  auto-dial  modem.  To use this command,
 several  DCL  symbols  described below must be defined to describe
 the login sequence:

  $ LOGIN_START :== "^M"                ! To start VMS login.
                    "HEL^M"             ! To start RSX-11M login.
                    "^C"                ! To start MIT login.

 This  symbol  defines  the character(s) to send the remote to get
 the  login started.  All characters preceeded by the up-arrow are
 converted to control characters.  Thus, the ^M above is converted
 to  a carriage return.  These character(s) are sent in one second
 intervals  until  the  remote system responds.  For systems which
 display its' login prompt automatically, this symbol doesn't need
 to be defined (i.e., EASYLINK).

  $ LOGIN_PROMPT :== "Username:"        ! Prompt for VAX/VMS.
                     "Account or name:" ! Prompt for RSX-11M.
                     "U#"               ! Prompt for Crossfile.
                     "ID?"              ! Prompt for EASYLINK.

 This  symbol  defines  the characters the remote system sends for
 its' login prompt.  The login command will not be sent until this
 prompt is received from the remote.

  $ LOGIN_CMD :== "ROBIN/NOCOM"

 This  symbol  defines  the  characters to send in response to the
 login prompt.

  $ PASS_PROMPT :== "Password:"

 This  symbol  defines the password prompt displayed by the remote
 system. If specified, VAXNET waits for this string before sending
 the password string.

  $ PASSWORD :== "your_password"

 This  symbol  defines  the  characters to send in response to the
 password  prompt.  For  systems which specify the password on the
 login command line, this symbol should not be defined.

  $ LOGIN_ERROR :== "User authorization failure"

 This symbol defines the login error displayed by the remote system
 if  the  login is invalid.  If this message is detected, the login
 is retried up to three times by default.

 The following symbols can be defined for a secondary login.  They
 perform the same function as those described above.

  $ LOGIN_PROMPT2 :== "secondary login prompt"
  $ LOGIN_CMD2    :== "secondary login command"
  $ PASS_PROMPT2  :== "secondary password prompt"
  $ PASSWORD2     :== "secondary password"
  $ LOGIN_ERROR2  :== "secondary login error message"

2 BAUD_RATE
 This command is used specify the baud rate of the remote computer.
 VAXNET automatically sets the remote port to the speed you specify.
 If  you  are  communicating  with the remote system using a dialup
 modem, the baud rate will be either 300 or 1200 baud.

   The valid baud rates are:

        50, 75, 110, 134, 150, 300, 600, 1200, 1800,
        2000, 2400, 3600, 4800, 7200, 9600, or 19200.

2 CABLE
 A null modem cable is required to communicate directly between two
 computers  without  using  modems.  A straight  through  cable  is
 normally used with modems.  This cable is constructed as follows:

           WIRING DIAGRAM FOR NULL MODEM CABLE

        TD      2 ..................... 3      RD

        RD      3 ..................... 2      TD

        GND     7 ..................... 7      GND

        DSR     6 ..................... 20     DTR

        DTR     20 .................... 6      DSR

2 COMMAND_FILE
 A  command  file  can be specified at the Vaxnet command prompt to
 allow  you change many parameters or to execute many commands.  If
 you don't specify an extension, it defaults to .COM. If any errors
 occur  while  executing these commands, the command file is closed
 immediatly.  The symbol VAXNET_CMD can be defined with the name of
 the  command  file  to  automatically change parameters at startup
 time.  The command lines can be in either upper or lowercase since
 the command line is converted to all uppercase after being read.

 Command format:

   Vaxnet> @VCMD

 Contents of file VCMD.COM:
        protocol xmodem
        file_type binary
        status

2 CROSSFILE
 This command is used with the GE Crossfile System. After the modem
 is online, the character "H" is sent in one second intervals until
 the login prompt "U#:" is received.  This command is automatically
 executed at startup time when the system type is CROSSFILE.

2 DCL
 There are two commands used to execute a DCL command.  If you type
 "$ dcl_command",  the  command is executed without copying the DCL
 symbols  and  logical names.  If you type "SPAWN dcl_command", the
 DCL symbols and logical names are copied.  With either command, if
 a DCL command is not specified, a new process is created.

 For example, to get a directory, type:

   Vaxnet> $ DIRECTORY

2 DEBUG
 This  command  is  used  to  display  addition information in file
 transfer  mode (GET or SEND).  It also displays several additional
 lines in the STATUS report. To disable debug mode, use the NODEBUG
 command.

2 DECHO
 This  command is used to enable or disable the display of the echo
 from  the  remote system when dumping a file.  By default the echo
 is enabled.  If local echo is enabled, VAXNET simulates the remote
 echo  by  displaying  the last line dumped to the remote.  Use the
 command NODECHO to disable the dump echo.

2 DIAL
 This command is used to specify the phone number for the auto-dial
 modem to dial. The modem is automatically hungup before attempting
 to dial the new phone number.

2 DISPLAY
 This  command is used to enable or disable the display used during
 file  transmissions.  If the local terminal is a scope, a one line
 status  report  is  displayed every 25 records (by default) to let
 you know its working. If your terminal is a hardcopy or if running
 in batch, this display is disabled.  The DCL symbol DISPLAY_RECORD
 can  be defined to change the frequency of the record display.  If
 you  specify zero, the display is disabled.  The status report can
 be  obtained  at  any  time  during the transmission by typing the
 escape key.

 Command format:

   Vaxnet> DISPLAY [n] or NODISPLAY

 DCL symbol:

   $ DISPLAY_RECORD :== 100

2 DUMP_FILE
 This  command  is used to dump a file to the remote system.  It is
 usually used if the remote system doesn't have the SNDRCV program.
 When  using  this  command, there must be a program running on the
 remote  system to accept the characters being dumped to it.  Using
 the  "CREATE file_name"  command works very nice.  When the end of
 file  is  detected, you can optionally have a dump terminator sent
 by specifying the symbol DUMP_TERM.  The default dump read timeout
 is three seconds if the remote echoes, zero if it doesn't echo.

 Command format:

   Vaxnet> DUMP file1, file2, ... filen

 DCL symbols:

   $ DUMP_TIMEOUT :== 1     ! The dump read timeout in seconds.
   $ DUMP_DELAY :== "00.25" ! Delay between dumping each record.
   $ DUMP_ECHO :== N        ! Disable echo of dumped records.
   $ DUMP_TERM :== "^Z"     ! Send CTRL/Z at end of file.

2 EASYLINK
 Western  Union's  EASYLINK  service is an advanced electronic mail
 service  offering  a  broad  range  of  value-added  communication
 features  designed  to  meet today's business needs.  EASYLINK can
 satisfy  user's  needs  for simple, convenient, quick and low-cost
 message communications.

 A subscriber to EASYLINK can send and receive messages between and
 among  other  EASYLINK  subscribers.  A  subscriber  can also send
 messages  to  destinations  served  by  TELEX  I,  TELEX II (TWX),
 INTERNATIONAL  TELEX,  INFOCOM,  and  as MAILGRAMS, TELEGRAMS, and
 INTERNATIONAL CABLEGRAMS.

 Subscribers can prepare and send messages using most existing data
 terminals,  word  processors  and personal computers equipped with
 dial  telephone communications capability.  Subscribers can choose
 between  two  message delivery methods.  One choice is to have the
 messages  delivered  directly to any of the above devices equipped
 with  automatic  answer  capability.  The  other choice is to have
 messages delivered to and held in an electronic mailbox, for later
 retrieval by a subscriber at his convenience.

        The rest of the EASLINK documentation was removed
        since it is quit lengthy.  It can be recreated by
        using  a VAXNET logfile and typing /HELP commands
        to EASYLINK after getting logged in.

2 ECHO
 This command is used to enable or disable local echo.  For systems
 which  don't echo characters sent to it, VAXNET does a local echo.
 This  command  isn't  normally  used  since  VAXNET  automatically
 enables  or disables echoing based on the remote system type.  The
 command NOECHO is used to disable local echo.

2 EXIT
 This  command  is  used to exit from VAXNET.  You can also exit by
 typing  a CTRL/Z.  The log file (if open) is closed, and the modem
 is  automatically hungup if you were using a modem.  If a log file
 is  being closed, the command "REF log_file_name" is executed when
 exiting to automatically reformat the log file.

2 FILE_TYPE
 This  command sets up the type of file to be tranferred when using
 the KERMIT or XMODEM protocol (VAXNET protocol is ASCII only). The
 default file type is ASCII.

 Command format:

   Vaxnet> FILE_TYPE ASCII or BINARY

2 GET_FILE
 This command is used to GET (receive) a file from a remote system.
 The  remote  system  MUST  be  running  the  SNDRCV program before
 issuing  this command.  If you don't specify the file names on the
 command  line,  you  are  prompted for the names.  If you type the
 RETURN  key  for  the VAX file name, the REMOTE file name is used.
 At  the  present  time,  only one file at a time can be tranferred
 from the remote system (no wildcards). While the file transmission
 is  in  progress,  you  can  type the ESCAPE key to get a one line
 status report of the current file.

 Command format:

   Vaxnet> GET remote_file vax_file

3 REMOTE_FILE
 The  REMOTE  file  name must be a legal file specification for the
 system  you are talking to.  At the current time, only one file at
 time can be transferred.

3 VAX_FILE
 The  VAX file name can be any VAX file specification.  If you type
 the  return  key,  the  remote  file name is used on the VAX.  The 
 remote  file  name  is  taken  exactly  as  is.  This includes the
 directory  name  (i.e., [1,24] or [ROBIN]).  If you don't have the
 specified  directory  on the VAX, you will have to specify the VAX
 file name.

2 HANGUP
 This  command  is  used  to hangup the modem.  The modem is hungup
 automatically  when  you  exit VAXNET and also before an auto-dial
 is attempted.  If you are using a modem, insure the remote port is
 setup as modem with the following command:

  $ SET TERMINAL TTcn:/MODEM/PERM

 If  the remote port is not setup as modem, all auto-dial questions
 (and/or  symbols)  are  bypassed, and the modem is not hungup when
 VAXNET  exits.  If  you don't want the modem hungup when you exit,
 issue the "NOHANGUP" command before exiting.

2 HELP
 Help can be obtained on a particular topic by typing :

   HELP  topic  subtopic  subsubtopic  ...

   A topic can have the following format :
     1) an alphanumeric string (e.g. a command name, option, etc...)
     2) the match-all symbol "*"
     3) any of the above followed by "..." (on first topic only)

   Examples:
      HELP GET
      HELP SEND...

   Abbreviations result in all matches being displayed.

2 INTERRUPT
 This  command  is  used  to  specify the interrupt character.  The
 interrupt  character  is  the character you type to get to command
 level  (the  Vaxnet>  prompt).  Any  character except for carriage
 return,  escape, question mark, or exclaimation point can be used.
 All  characters  except  the  interrupt  character are sent to the
 remote system in interactive mode.

2 INTRO
 VAXNET  is  a  program  which  allows  communcations  between  two
 computers using an asynchronous terminal port.  The systems can be
 connected either directly using a null modem cable or via a dialup
 modem.  Communications  with  the  remote  system  is accomplished
 using a second port on the local system.

 When  VAXNET  is  prompting  you  for  a  question,  you  have the
 following options:

 o  typing the escape key or typing "?" will give you help,
 o  typing  an  exclaimation  point (!) followed by the return key
    backs up to the previous question.
 o  typing  the  return key selects the default answer if there is
    one.  Default answers are shown in parenthesis; i.e., (DEC)
 o  typing a CTRL/Z will exit from VAXNET.

 If  you  are communicating with the remote system, and you want to
 exit,  you  must  first  type  the  interrupt  character to get to
 command level, and then type either CTRL/Z or EXIT.

2 LOG_FILE
 This command allows you to specify the name of a log file to write
 the  output  from  the remote system.  If you don't specify a file
 extension,  .LOG  is  appended automatically.  The output from the
 remote  system and questions asked by VAXNET (unless disabled) are
 written to both the log file and the terminal.  Use the NOLOG_FILE
 command to close the current log file.

3 REFORMAT
 After  exiting from VAXNET, the log file must be reformatted.  The
 log file is created with 512 byte records with no carriage control.
 A program called "REF" is used to reformat the log file to generate
 an  file  with  implied carriage control.  After reformatting, the
 file is in a format which can then be edited (if desired).

 If a log file is being closed when VAXNET exits, then command line
 "REF log_file_name"  is automatically executed to reformat the log
 file.  You must have a symbol setup to start the reformat program.
 Additional help is available from within REF by typing "REF /HELP".

 For example:

   $ REF :== $SYS$SYSTEM:REF

4 REF_HELP
 REFormat  is  a  program used to convert input files into variable
 length  output  files  with implied carriage control.  During this
 conversion, the control characters NULL, XON, XOFF, and DELETE are
 stripped.  The program will also optionally do ASCII to EBCDIC and
 EBCDIC  to  ASCII  conversions.  This program is generally used to
 reformat the RSXNET & VAXNET log files.

 Command line format:

      input_file/switches output_file/switches

 Where switches are:

   /ASCII     - Convert input file from ASCII to EBCDIC.
   /EBCDIC    - Convert input file from EBCDIC to ASCII.
   /VFU       - Input file contains line printer VFC bytes.
   /TOTAL     - Display number of records and bytes in output file.
   /BACK (D)  - Remove delete sequences from the input file.
   /ESC  (D)  - Break output records on cursor positioning sequences.
   /NAME (D)  - Output the name of the reformatted output file.

 Switches can be negated by prefixing the switch with a '-' or 'NO'.

3 OPEN_LOG_FILE
 If a log file is already open, you have the option of either using
 the  current  log  file, or you can close the current log file and
 specify a new log file name.

2 LOCAL
 This  command is used to enable or disable writing local output to
 the  log  file.  Local  output  includes  questions and all status
 reports output by the program.  If  you  only  want  remote output
 in the log file, answer "No" to this question.
     
2 MISH
 MISH  is  a  program used to compress and convert input files into
 printable  ASCII  files.  These  files  can  be  submitted on HASP
 reader  streams and can be transmitted using VAXNET/RSXNET.  After
 the  file  is  received at the remote system, MISH is then used to
 decompress  the  files  back into their original file format.  All
 file  attributes  are  restored  using  the header record from the
 compressed file.
  
 Command line format:
  
     input_file/switches output_file/switches
  
 Where switches are:
  
   /ANALYZE    - Used to analyze the header record and/or data of a file
                 which has been compressed.  Additional sub-switches
                 that can be used are /DATA, /OCTAL, & /REVERSE.
   /COMPRESS   - Used to compress files.  This is the default mode.
   /DECOMPRESS - Used to decompress files into their original file format.

2 MODEM_TYPE
 VAXNET supports the following types of auto-dial modems:

   DF03 - for the DEC DF03 auto-dial modem.  The DF03 only works
          with rotary (pulse) dialing telephones.
 
   RIXON - for the RIXON R212A auto-dial modem.  The R212A works
           with both rotary (pulse) and tone dialing telephones.

 If  you  are  not  using an auto-dial modem, typing the RETURN key
 bypasses the remaining auto-dial modem questions.

 If the remote port is not setup as /MODEM, all auto-dial questions
 (and/or symbols)  are  bypassed,  and the modem is not hungup when
 VAXNET exits.
  
2 MODEM_USAGE
 Once  the  port  being  used  is  patched  in  properly (see "HELP
 REMOTE_PORT"),  the modem connection can be established. The phone
 call  to  the remote system MUST be made from the phone being used
 for  the modem.  You CAN NOT transfer the call to the modem as you
 can with synchronous modems; you'll loose the connection.

 Use the following procedure to manually orginate a phone call:

 o  the voice/data switch must be in the voice position to place
    the call.  Make sure the Data Terminal Ready (TR) lamp is lite.

 o  After you establish the connection with the remote system, you
    will hear the carrier signal (high pitch), place the voice/data
    switch in the data position.

 o  Once in the data position, you should see to following LEDs:
    VADIC:  Data Set Ready (DSR), Clear To Send (CTS), Carrier (CXR),
            and High Speed (HS).
    RIXON:  Data Set Ready (MR), Carrier (MC lamp goes out),
            and High Speed (HS).
    DF03:   Data Set Ready (DSR), Carrier (CAR), and High Speed (HS).

    Note:  The High Speed (HS) LED is only lite if at 1200 baud.

2 NEW_FEATURES
 This  section  describes problems fixed and new features available
 with VAXNET Version 7.0:

 o  VAXNET no longer gets hung in an MWAIT/HIBERNATE state.

 o  Running in batch mode is now detected properly.

 o  Terminal generated XOFF/XON is now handled properly.  The VT100
    can  now  be  used  in  smooth scroll and the NO SCROLL key now
    works properly.

 o  The  help  module previously written in BLISS has been rewitten
    in FORTRAN.  All of VAXNET is now written in FORTRAN.

 o  Additional DCL symbols used in dump file.  See DUMP section.

 o  The logical name VAXNET$PORT can be defined for the remote port.

 o  The DISPLAY command is used to enable/disable or alter how often
    the record statistics are output during file transmissions.

 o  The REF command is used to enable/disable automatic reformatting
    of the log file.

 o  The PAUSE command will pause VAXNET if it was spawned.

 o  The SPAWN and "$" commands are used to spawn DCL commands.  The
    SPAWN command copied DCL symbols and logical names while the "$"
    command does not (for speed).  If no DCL command is specified,
    a new process is created.

 o  The  TYPEAHEAD command specifies the limit the remote typeahead
    buffer is allowed to reach before reading the characters.  The
    value is currently set at 32 to allow XOFF/XON to work properly.

 o  The WATCH command is used to enable/disable watching file names
    being copied (same as COPY /LOG).

 o  The retry limit is now enforced during file transmissoins.

 o  Current settings are now displayed in questions.

 o  The  log  file name now has the default extension .LOG appended
    if you don't specify an extension.

 o  Wildcards,  command files, and multiple files are now supported
    for the DUMP, SCRIPT, and SEND commands.

 o  An  out-of-band  AST is enabled during file transmissions which
    allows  you  to  type  the  ESCAPE key to get a one line status
    report of the cuurent file.  This was added mainly for hardcopy
    terminals and for when the record display is disabled.

 o  The  command line "REF logfile_name" is now spawned to reformat
    the log file instead of "MCR REF ...".  This means a DCL symbol
    must be setup to active the reformat program.

 New features in VAXNET Version 8.0:

 o  Multiple  protocols are now supported.  The PROTOCOL command is
    used to select either the VAXNET or XMODEM protocol.

 o  The  number of data bits can be changed. The 7BIT/8BIT commands
    specify the number of data bits to use with the XMODEM protocol.

 o  The  type of file to be used with XMODEM can be specified.  The
    FILE_TYPE command is used to select either ASCII or BINARY.

 o  Command files can be specified at the Vaxnet command level.

 o  The  TIMEOUT  command  can  be used to change the timeout count
    used by the protocol.

 o  The  RETRY_LIMIT  command  can  be used to change the number of
    retrys on transmission errors.

 o  The SHOW command is used to display all or selective parameters.

2 PAUSE
 If  VAXNET was started via the DCL SPAWN command, you can use this
 to pause VAXNET.  Pausing VAXNET returns you to DCL level and puts
 VAXNET  into  a  hibernate state.  You can then continue VAXNET by
 using the ATTACH "process_name" command from DCL.

2 PHONE_NUMBER
 The format of phone numbers for the auto-dial modems are:

  DF03 - The DF03 does not allow spaces and/or dashs in the phone
         number.  It must consist of all numbers.

         i.e.:  1234567

  RIXON - The RIXON R212A allows spaces and/or dashs in the phone
          number to make it easier to read.  The character "&" is
          tells the modem to wait for an intermediate dial tone.

         i.e.:  9&123-4567

2 PROTOCOL
 This command is used to specify the type of protocol to use.  The
 default protocol is VAXNET. Currently, only the VAXNET and XMODEM
 protocols are supported.

 Command format:

   Vaxnet> PROTOCOL KERMIT/VAXNET/XMODEM

2 REDIAL
 This  command is used with auto-dial modems to redial a previously
 entered  phone  number.  This command is useful when the modem has
 been  hungup for some reason (i.e., invalid login, etc.) or if you
 want to redial the remote hoping to get a better phone line.

2 REF
 This  command is used to enable or disable the reformatting of the
 of  the  log  file.  By default, the log file is reformatted.  You
 can  also disable waiting for reformat to complete.  If waiting is
 disabled,  the  reformat program is spawned without waiting for it
 to complete so another log file can be openned immediatly. Use the
 command NOREF to disable reformatting altogether.

 Command format:

   Vaxnet> REF [WAIT/NOWAIT] or NOREF

2 REMOTE_PORT
 The  remote port is the terminal line used to communicate with the
 remote  computer  (system).  This  line  can  be  either connected
 directly  to  a  in-house  system  using  a  null  modem cable, or
 connected  using  a  modem  (see  "HELP MODEM"  for  getting modem
 connection  established).  The  logical  name  VAXNET$PORT  can be
 defined to specify the remote port to use.

 The remote port should be setup as follows by the system manager:

   $ SET TERM TTcn:/NOTYPEAHEAD/PERM   ! Disable typeahead to
   $ SET TERM TTcn:/ALTYPEAHEAD/PERM   ! enable alternate typeahead
   $ SET TERM TTcn:/TYPEAHEAD/PERM     ! buffer which is larger.
   $ SET TERM TTcn:/MODEM/PERM         ! If connected to a modem.
   $ SET TERM TTcn:/NOBROADCAST        ! Disables broadcast messages.

 All  other  terminal  characteristics  are  automatically setup by
 VAXNET.  The  above  characteristics  should  be  done in the site
 specific startup command file because they require privileges.

2 RETRY_LIMIT
 This command is used to set the retry limit for file transmissions.
 This  is the number of times a record/block is retransmitted.  The
 default is 10 retrys.

 Command format:

   Vaxnet> RETRY_LIMIT n

2 RETURN
 After  typing  the interrupt character to enter the VAXNET command
 level, type the RETURN key to return to the remote system.

 Command format:

   Vaxnet> <RETURN>

2 SCRIPT
 A  script file is used to drive an interactive terminal session at
 the  remote  system.  It  is normally used in conjunction with the
 auto-login  feature  to  drive the remote session from batch.  The
 script  file contains commands just as you would type them in from
 a terminal.  Normally each command line is sent to the remote with
 a  carriage  return appended to it.  There are two exceptions.  If
 the first character of a command line is an up arrow (^), then the
 all  ^char's  on  the line are converted to control charatcers and
 sent to the remote without a carruage return. The second exception
 is if the line begins with the script command .WAIT.  This command
 is  used  to define a string to wait for (such as a prompt) before
 sending  the  next  command.  Refer  to  the  example  script file
 "SCRIPT.MAI" for more information.

 Command format:

   Vaxnet> SCRIPT file1, file2, ... filen

2 SEND_FILE
 This  command  is  used  to  send  (transmit) a file to the remote
 system.  The  remote  system  MUST  be  running the SNDRCV program
 prior  to  issuing  this  command.  If  you don't specify the file
 names on the command line you are prompted for them.  The VAX file
 name  can  contain  wildcards (%, *, and ...) or you can specify a
 command file.  If you specify wildcards or a command file, you are
 prompted  for the remote directory to put the files in.  While the
 file  transmission  is in progress, you can type the ESCAPE key to
 get a one line status report of the current file.

 Command format:

   Vaxnet> SEND vax_file remote_file

3 VAX_FILE
 The VAX file name can be any file specification including wildcard
 characters.  You  can also specify a command file via "@cmd_file".
 If  you  don't  specify an extension for the command file, .COM is
 the  default.  The  command  file must have one file specification
 per line (wildcards are permitted).  Trailing spaces are ignored.

3 REMOTE_FILE
 The  REMOTE  file  name must be a valid file specification for the
 system  you are talking to.  If wildcards or command file input is
 not active, then typing the RETURN key uses the VAX file name.

 If wildcards or command file input is active, you must specify the
 remote  directory.  BEWARE  of files with multiple version numbers
 since  the  file  version number is not sent as part of the remote
 file name.  Your options are:

     <CR> or *      - Send the file name only.
 [*], [*...], [*,*] - Send the [directory] and file name.  Anything
                      before the [*] is appended to the file name.
    [directory...]  - Replace top VAX directory with specified.
 device:[directory] - Else append the file name to specified directory.

2 SHOW
 This command is used to show a particular parameter.

 Command format:

   Vaxnet> SHOW parameter

 Where parameter is:

        * or ALL     -  Show all parameters.
        BITS         -  Show the number of data bits.
        DEBUG        -  Show debug flag/debug information.
        DECHO        -  Show the dump echo status.
        DISPLAY      -  Show the display parameters.
        ECHO         -  Show the local echo flag.
        FILE_TYPE    -  Show the file type.
        INTERRUPT    -  Show the interrupt character.
        LOG_FILE     -  Show the log file.
        MODEM_TYPE   -  Show the modem type.
        PROTOCOL     -  Show the type of protocol.
        REFORMAT     -  Show the reformat settings.
        REMOTE_PORT  -  Show the remote port.
        RETRY_LIMIT  -  Show the retry limit.
        SYSTEM_TYPE  -  Show the system type.
        SPEED        -  Show the remote speed.
        TIMEOUT      -  Show the timeout count.
        TYPEAHEAD    -  Show the typeahead limit.
        WATCH        -  Show the watch files flag.

2 SNDRCV
 SNDRCV  is  the  program  run  on the remote system to communicate
 with  VAXNET during file transmission (either GET or SEND). SNDRCV
 is started by one of the following commands:

 o  if  you  are  communicating with another VAX system, SNDRCV is
    started by typing the command "MCR SNDRCV".

 o  if  you  are communicating with an RSX-11M system, then SNDRCV
    is started by typing the command "RUN $SNDRCV".

    In  either  case, the following message is displayed after SNDRCV
    is started.

    SNDRCV Version 2.1 started ... Type CTRL/X and RETURN to abort.

 At  this  point  you  should type CTRL/Y to get the VAXNET command
 prompt.  Be  careful  not  to type any other characters since they
 will  be  accepted  by  SNDRCV  and  interpreted  as commands from
 VAXNET.  After  you get the VAXNET command prompt, you should type
 either  GET  or  SEND  and the file name questions associated with
 each   command.   After  the  questions  are  answered,  the  file
 transmission begins.

 The  status  report  on  the terminal is updated after each record
 transmitted.  If  the status report stops updating momentarily, be
 patient,  there  may  have  been  a transmission failure.  After a
 timeout   period  (currently  10  seconds),  transmission   should
 continue.  If the transmission doesn't continue, you should type a
 single CTRL/C to abort the transmission.

 To  abort the SNDRCV program, you must type CTRL/X followed by the
 return  key.  If SNDRCV doesn't abort after the first attempt, try
 several times; the second try usually does it for me.

2 SPAWN
 There are two commands used to execute a DCL command.  If you type
 "$ dcl_command",  the  command is executed without copying the DCL
 symbols  and  logical names.  If you type "SPAWN dcl_command", the
 DCL symbols and logical names are copied.  With either command, if
 a DCL command is not specified, a new process is created.

 For example, to get a directory, type:

   Vaxnet> SPAWN DIRECTORY

2 STARTUP
 Before  establishing  the connection with the remote system either
 in-house or over a modem, you MUST do the following.

 o  after  you  are  logged  into the VAX, allocate the port to be
    used for VAXNET.  This is done so the operating system doesn't
    think  someone is attempting to login to the system.  Although
    VAXNET  allocates  the  port internally, this is only stays in
    effect  while  you  are  running  VAXNET.  When  you exit from
    VAXNET,  the  port  is  automatically deallocated.  Failure to
    allocate  the system could result in both systems getting hung
    up  looping  character  back  and forth (initiating LOGIN) and
    WILL prevent VAXNET from attaching the remote port since it is
    already  allocated.  On  RSX-11M,  this will result in all the
    system buffers being used up and the system hanging.

 o  the  second  step  is  to  start  VAXNET  and  answer  all the
    questions.  This  is  not really neccessary if the remote is a
    DEC  operating system (no timeout period) but is needed for an
    IBM  system.  IBM  (especially the GE Crossfile) has a limited
    amount of time to login to their system.  If you aren't logged
    in  within  that period of time (how much time ???), IBM (TSO)
    will hangup the modem on their end.  You will still have to be
    very  fast  for  IBM if you're terminal is on a differnt floor
    than the modem.

2 STATUS
 This  command  is  used  to  get  a status report of how VAXNET is
 currently  setup.  If DCL symbols are used to answer the questions
 at startup time, this command is executed automatically to display
 the  current parameters.  The modem type and phone number are only
 displayed if you are using an autodial modem.

 Example:

   Vaxnet> STATUS

   Log file name:  VAXNET.LOG
   Local logging:  Enabled
   Remote port:    _TTA4:
   Interrupt char: ^A
   System type:    DEC
   Local echo:     Disabled
   Remote speed:   1200
   Modem type:     RIXON
   Phone number:   705

2 SUMMARY
 The  following is a summary of the commands which can be issued at
 the  Vaxnet  command  level.  Most  commands can be shortened to 3
 characters unless you are negating the command then 5 are needed.

   AUTO_LOGIN    BAUD_RATE      CROSSFILE      $ cmd         [NO]DEBUG
   [NO]DECHO     DIAL           [NO]DISPLAY    DUMP_FILE     [NO]ECHO
   EXIT          GET_FILE       FILE_TYPE      [NO]HANGUP    HELP
   INTERRUPT     LOCAL          [NO]LOG_FILE   MODEM_TYPE    PAUSE
   PROTOCOL      REDIAL         [NO]REF        REMOTE_PORT   RETRY_LIMIT
   SCRIPT        SEND_FILE      SHOW           SPAWN         STATUS
   SYSTEM_TYPE   TIMEOUT        TYPEAHEAD      [NO]WATCH     [NO]XON
   7BIT          8BIT

2 SYMBOLS
 DCL  symbols  can  be  defined to automatically answer the various
 VAXNET questions.  The symbols are:

   $ VAXNET_INTRO :== "N"       ! VAXNET Introduction.
   $ VAXNET_LOG :== "Y"         ! Output from remote to a log file.
   $ LOG_LOCAL :== "N"          ! Enable local output to log file.
   $ LOG_FILE :== "ROBIN.LOG"   ! The log file name.
   $ REMOTE_PORT :== "TTA4:"    ! Remote port to use.
   $ REMOTE_SPEED :== "1200"    ! Baud rate of the remote system.
   $ SYSTEM_TYPE :== "DEC"      ! Type of remote system.
   $ INTERRUPT_CHAR :== "^A"    ! Character to get Vaxnet prompt.
   $ MODEM_TYPE :== "RIXON"     ! Type of auto-dial modem.
   $ PHONE_NUMBER :== "number"  ! Phone number to dial.
   $ VAXNET_CMD :== "SCRIPT TEST.COM" ! VAXNET command to execute.

 For the interrupt character, the "^A" gets converted to a CTRL/A.
 Also see AUTO_LOGIN for addition symbols for automatic login.

2 SYSTEM_TYPE
 This  command is used to specify the type of remote system you are
 communicating  with.  This  sets up various flags within VAXNET to
 determine  how to talk to the remote.  For example, if you specify
 IBM, a  local  echo will be performed since IBM (TSO) doesn't echo
 characters sent to it.  The valid system types are:

   APPLE, CROSSFILE, DATAIO, DEC, EASYLINK, IBM, UNIX, and XXDP.

2 TIMEOUT
 This commands is used to set the timeout count in seconds for file
 transmissions.  The default is 10 seconds.

 Command format:

   Vaxnet> TIMEOUT n

2 TYPEAHEAD
 This  command is used to specify the limit the typeahead buffer is
 allowed to fill to before the characters are read.  It also limits
 the  maximum number of characters which are read at one time.  The
 default typeahead limit is set to 32. This small limit is required
 to allow terminal generated XOFF/XON to work properly.  This limit
 also appears to work with the VT100 in smooth scroll.

 Command format:

   Vaxnet> TYPEAHEAD n

 DCL symbol:

   $ TYPEAHEAD_LIMIT :== 32

2 WATCH
 This  command is used to enable or disable the display of the file
 name at end of file.  By default the file names are displayed.

 Command format:

   Vaxnet> WATCH or NOWATCH

2 XON
 This command informs VAXNET that the remote system responds to the
 XON/XOFF  protocol to control output to the terminal.  If enabled,
 VAXNET  allows  the  typeahead buffer to fill to some limit before
 reading  the  characters  to reduce system overhead.  The terminal
 driver  sends  an  XOFF  when the typeahead buffer is nearly full.
 This  command  isn't  normally used since the system type question
 sets up internal flags for the remote system you are using.

 If  disabled  with  the NOXON command, VAXNET doesn't wait for the
 typeahead  buffer  to  fill.  Instead,  it will read the number of
 characters in the typehead buffer or issue a single character read.

 Command format:

   Vaxnet> XON or NOXON

2 7BIT
 This  command is used to set the number of data bits used.  This is
 the default for the VAXNET protocol.

 Command format:

   Vaxnet> 7BIT

2 8BIT
 This  command is used to set the number of data bits used.  This is
 the default for the KERMIT and XMODEM protocol.

 Command format:

   Vaxnet> 8BIT

