1 SERVER
This command is used to place KERMIT into server mode. If the KERMIT
is remote, no more commands will be accepted from the terminal, but
must instead come from another KERMIT which is also in SERVER mode.
If the KERMIT is local, several additional commands become available
for use in controlling the remote KERMIT.

Format:

    SERVER
2 Additional_commands
These commands become available upon entering local server mode. They
are used either to control the remote KERMIT server or to do commands
that the user would normally have to connect to the remote computer
to execute.
3 BYE
This command terminates the remote server, logs the job running it off
the remote system, and returns the local KERMIT back to the host system
command level.

Format:

    BYE
3 FINISH
This command terminates the remote server, returns the job running it
to the operating system command level, and removes the local KERMIT
from server mode leaving it at KERMIT command level.

Format:

    FINISH
3 LOGOUT
This command terminates the remote server, logs the job running it off
the remote system, and removes the local KERMIT from server mode leaving
it at KERMIT command level.

Format:

    LOGOUT
3 REMOTE
This command is used as a prefix for the listed KERMIT commands to cause
the remote KERMIT to execute the parameter of REMOTE.

Format:

    REMOTE listed-KERMIT-command
4 Parameters
The following KERMIT commands may be used with REMOTE:
    DIRECTORY DELETE TYPE

The descriptions of these commands and their parameters are the same as
the unprefixed versions.
1 DIRECTORY
This command is used to obtain a directory listing.

Format:

    DIRECTORY filename-or-filegroup
2 Parameters
filename
 A standarad VMS filename and extension with no device, directory,
 or version.
filegroup
 A standard VMS filename with the filename and/or extension replaced
 by an asterisk.
1 DELETE
This command is used to delete a file.

Format:

    DELETE filename
2 Parameters
filename
 A standarad VMS filename and extension with no device, directory,
 or version.
1 TYPE
This command is used to type a file.

Format:

    TYPE filename
2 Parameters
filename
 A standarad VMS filename and extension with no device, directory,
 or version.
1 SEND
This command is used to send a file or group of files to a KERMIT
running on another computer.

Format:

    SEND filename-or-filegroup
2 Parameters
filename
 A standarad VMS filename and extension with no device, directory,
 or version.
filegroup
 A standard VMS filename with the filename and/or extension replaced
 by an asterisk.
1 RECEIVE
This command is used to receive a file or filegroup from another
computer.

The filename is optional, but must not be used if a filegroup is
specified in the corresponding SEND command. If no filename is
given, then the filename received from the sender is used. Any
conflict with existing filenames must be resolved by the user
on receipt of the warning message. If the filename format from
the SENDer is not compatable with the VMS format, then a reasonable
approximation is attempted by the program.

Format:

    SEND {filename}
2 Parameters
filename
 A standarad VMS filename and extension with no device, directory,
 or version.
1 SET
This command allows establishment of any system-dependent parameters.

Format:

    SET parameter-name value
2 SEND
Indicates that a send parameter should be changed.

Format:

    SET SEND parameter-name value
3 PACKET_LENGTH
This parameter sets the maximum packet length for
packets. The maximum packet size can be no larger than
96(decimal), but may have to be smaller if the host has
problems buffering packet of that size.

Format:

    SET SEND PACKET_LENGTH <decimal value>
3 PADDING
This parameter indicates the number of pad characters that
must preceed a packet. This is used mainly to communicate
with systems that have a fixed buffer size.

Format:

    SET SEND PADDING <decimal value>
3 PADCHAR
This parameter specifies the character which should be used
for padding.

Format:

    SET SEND PADCHAR <octal value of character>
3 TIMEOUT
This parameter specifies the number of seconds before the
program times out while waiting for a packet.

Format:

    SET SEND TIMEOUT <decimal number of seconds>
3 END_OF_LINE
This parameter specifies which character should be used
to terminate a packet. This character is actually outside
of the packet and is not included in the character count
or checksum. It is mainly of importance on systems which
cannot do character by character input and must do input
by line.

Format:

    SET SEND END_OF_LINE <octal value of character>
3 QUOTE
This parameter indicates which character should be used
to quote a nonprinting character which has been mapped
into a printable character for transmission. The receiving
KERMIT then knows to convert any character following this
quote character back to its nonprintable form.

Format:

    SET SEND QUOTE <actual character to use>
2 REPEAT
This parameter is used to set the character which is used to
indicate a repeat count. Repeat counts are used to decrease the
number of characters transmitted by reducing a series of identical
characters to a repeat character, count, and a single occurrance
of the repeated character. The receiving KERMIT converts this
back to the actual number of identical characters.

Format:

    SET REPEAT <actual printable character to use>
2 BLOCK_CHECK
This parameter is used to set the type of block check (data
integrity check) to be used for the transfer.

Format:

    SET BLOCK_CHECK <block check number>
3 1
This is the default which is a one character checksum.
3 2
This is the two character checksum.
3 3
This is the cyclic redundancy check which is not yet implemented.
2 RECEIVE
Indicates that a receive parameter should be changed.

Format:

    SET RECEIVE parameter-name value
3 PACKET_LENGTH
This parameter sets the maximum packet length for
packets. The maximum packet size can be no larger than
96(decimal), but may have to be smaller if the host has
problems buffering packet of that size.

Format:

    SET RECEIVE PACKET_LENGTH <decimal value>
3 PADDING
This parameter indicates the number of pad characters that
must preceed a packet. This is used mainly to communicate
with systems that have a fixed buffer size.

Format:

    SET RECEIVE PADDING <decimal value>
3 PADCHAR
This parameter specifies the character which should be used
for padding.

Format:

    SET RECEIVE PADCHAR <octal value of character>
3 TIMEOUT
This parameter specifies the number of seconds before the
program times out while waiting for a packet.

Format:

    SET RECEIVE TIMEOUT <decimal number of seconds>
3 END_OF_LINE
This parameter specifies which character should be used
to terminate a packet. This character is actually outside
of the packet and is not included in the character count
or checksum. It is mainly of importance on systems which
cannot do character by character input and must do input
by line.

Format:

    SET RECEIVE END_OF_LINE <octal value of character>
3 QUOTE
This parameter indicates which character should be used
to quote a nonprinting character which has been mapped
into a printable character for transmission. The receiving
KERMIT then knows to convert any character following this
quote character back to its nonprintable form.

Format:

    SET RECEIVE QUOTE <actual character to use>
2 DEBUGGING
This parameter is used to control any local debugging
which may be done by this KERMIT.

Format to enable debugging:

    SET DEBUGGING ON

Format to disable debugging:

    SET DEBUGGING OFF
2 FILE_WARNING
This parameter is used to control whether a KERMIT should
give warnings of any file problems it may encounter such
as non-unique file names or exceeding quota on an output
storage device.

Format to enable file warning:

    SET FILE_WARNING ON

Format to disable file warning:

    SET FILE_WARNING OFF
2 LOCAL_ECHO
This parameter is used to control whether KERMIT should
do its own echoing of characters to the terminal. This
is mainly used when connecting to a half-duplex host.

Format to enable local echo:

    SET LOCAL_ECHO ON

Format to disable local echo:

    SET LOCAL_ECHO OFF
2 REMOTE mode
This parameter is used to control whether KERMIT will be a
remote or a local KERMIT. Normally this is determined by
whether KERMIT is communicating on the terminal on which
it was run (REMOTE) or on a terminal line specified by
a CONNECT or SET LINE command (LOCAL). If one wishes
something other than the default comditions, this parameter
may be used.

Format to enable remote mode:

    SET REMOTE ON

Format to disable remote mode:

    SET REMOTE OFF
2 PARITY
This parameter allows the user to specify the type of parity
to be used for the transmission of data. If the parity is set
to NONE, then eight bit quoting will be done, otherwise the
data is sent as eight bit quantities. Care should be taken
when using a parity other than NONE because some systems do
not allow the transmission of eight bit bytes.

Format to allow eight bit quoting:

    SET PARITY NONE

Format to refuse to do eight bit quoting:

    SET PARITY <any parity type other than NONE>
3 EVEN
This parity type expects there to be an even number of ones
in the byte. If the first seven bits have an odd number of
ones, then the eighth bit is turned on to make the total
number even, otherwise the eighth bit is zero.
3 MARK
This parity type expects the eighth bit to always be set to
one.
3 NONE
This parity type allows the eighth bit to be used as part of
the data for the transmission of eight bit quantities.
3 ODD
This parity type expects there to be an odd number of ones
in the byte. If the first seven bits have an even number of
ones, then the eighth bit is turned on to make the total
number odd, otherwise the eighth bit is zero.
3 SPACE
This parity type expects the eighth bit to always be set to
zero.
2 EIGHT_BIT_QUOTE
This parameter indicates which character should be used
to quote an eight bit character which has been mapped
into a seven bit character for transmission. The receiving
KERMIT then knows to convert any character following this
quote character back to its eight bit form.

Format:

    SET EIGHT_BIT_QUOTE <actual character to use>
2 TRANSFER_MODE
This parameter is used to control the manner in which the
data should be transfered.

Format:

    SET TRANSFER_MODE <mode>
3 CHARACTER
In this transfer mode, characters are placed in the file as
they are received without any interpretation. This mode should
be used to transfer word processing files, object files, image
files, or any other file where it is important to keep all the
characters received.
3 LINE
In this transfer mode, it is assumed that lines are terminated
by a CRLF (carriage return line feed) on input and should have
a CRLF tacked on the end for output.

This is the default mode.
2 LINE
This parameter is used to specify another terminal port on
the same system to be used for communication rather than
its own controlling terminal.

Format:

    SET LINE <VAX terminal specification>
2 ESCAPE
This parameter is used to set the character which is used to get a
KERMIT's attention which is currently CONNECTed to a remote host.

Format:

    SET ESCAPE <octal value of character>
2 DELAY
This parameter is used to specify the delay before sending the send-init
packet. If the remote KERMIT is sending, this gives the user time to
get back and start the local receiveing KERMIT in time to catch the first
incoming packet.

Format:

    SET DELAY <decimal number of seconds>
1 SHOW
This command allows the user to display any of the parameters which may
be set by the SET command.

See the descriptions on the SET command for information on the use of
each parameter.

Format:

    SHOW <parameter>
2 Parameters
SEND
  PACKET_LENGTH
  PADDING
  PADCHAR
  TIMEOUT
  END_OF_LINE
  QUOTE
RECEIVE
  PACKET_LENGTH
  PADDING
  PADCHAR
  TIMEOUT
  END_OF_LINE
  QUOTE
DEBUGGING
FILE_WARNING
LOCAL_ECHO
REMOTE mode
8_BIT_QUOTE
TRANSFER_MODE
LINE
ESCAPE
DELAY
1 STATUS
This commands is used to display all relevent information about the
configurations of the local and remote KERMITs. This information
includes the values of all parameters plus any additional useful
data.

Format:

    STATUS
1 EXIT
Terminate execution of the KERMIT program and return control to DCL.

Format of exit command:

    EXIT
1 QUERY
Lists commands or arguments possible at that point.

Format:

    ?
