home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
archives
/
mtsplus.tar.gz
/
mtsplus.tar
/
mtskerm.h
< prev
next >
Wrap
Text File
|
1984-09-10
|
5KB
|
178 lines
$ 1000
COMMANDS 1100
DEFAULT 1200
EXIT 1300
FINISH 1400
GET 1500
LOGOFF 1600
PAR 1700
RECEIVE 1800
SEND 1900
SET 2000
SET_RECEIVE_PARAMETERS 2100
SET_SEND_PARAMETERS 2200
SHOW 2300
/end
/begin $
$mts_command
Passes the 'mts_command' to the local MTS for direct
execution.
/end
/begin commands
The following commands are available:
Send - send file to remote Kermit
Receive - receive a file from a remote Kermit
Get - get a file from a remote Kermit
Set - sets various options
Show - display options
Exit - exits Kermit
Server - put Kermit into remote server mode
Finish - shut down remote Kermit server
Logoff - shut down/logoff Kermit server
$ - sends command to MTS
/end
/begin default
To quit enter EXIT or STOP or QUIT
Enter HELP COMMANDS for a list of commands.
Enter HELP name_of_command for details on a particular command.
/end
/begin exit
Exit
Stops the local Kermit and tries to shutdown the remote Kermit.
Synonyms for this command include 'Stop' and 'Quit'.
/end
/begin Finish
Finish
This command shuts down a remote Kermit.
/end
/begin Get
Get remote_filename local_filename
Gets the 'remote_filename' from a remote server Kermit. If a
'local_filename' is given then the incoming file will be placed
in the file by that local name otherwise it will use the remote
filename. If that name is invalid then the incoming file will be
placed into the scratch file -Kermit. If the file already exists
locally it will be emptied be the incoming file data is put into
it.
/end
/begin Logoff
Logoff
This command shuts down a remote Kermit and logs you off. A
synonym for this command is 'Bye'.
/end
/begin Par
The PAR= options include:
User - start Kermit in user mode. Normally Kermit starts in
server mode.
FileType Binary - default filetype to binary
FileType MTS-Binary - default filetype to MTS-Binary
Capitals in the above commands are minimum abbreviations. Par
options may be separated by commas or spaces.
/end
/begin receive
Receive local_filename
This command is used to receive a file from a remote user KERMIT.
The other Kermit must be in user mode and have issued a 'Send'
command. If no 'local_filename' is specified the incoming file
will use the name passed for the incoming file. If that name is
not a valid MTS name then the file will be placed in the scratch
file -KERMIT. If a 'local_filename' is given then that name will
be used for the incoming file. If the incoming file already
exists it will be emptied.
/end
/begin send
Send mts_filename remote_filename
This command is used to send an MTS file to a remote KERMIT. If
only the 'mts_filename' is specified then the file will be sent
to the remote file by the same name. If the optional
'remote_filename' is given the file is sent to the remote file
having that name.
/end
/begin set
The following options may be set using the "Set" command.
Set filetype text - default. File is text file.
filetype binary - file being moved is binary
filetype mts-binary - file moved is MTS file
binary-blocksize n - the line length for binary
data lines (1 to 32767)
debug on - Do packet tracing. Put trace
in file Kermit.log
off - set packet tracing off.
delay n - seconds for user Kermit to
wait before sending the first
packet
notify n - sets the packet count display
frequency
receive <parameters> - see 'set_receive_parameters'
send <parameters> - see 'set_send_parameters'
line *n* - set remote line to mounted
device *n*
/end
/begin set_receive_parameters
Set receive end-of-line ! packet-length ! padding !
padchar ! quote ! start-of-packet !
timeout n
Where n is a decimal integer or the decimal representation of an
ASCII character. This option may be used to reset some of the
paramzters that you expect an incoming packet to have. The option
is provided so that you can talk to non-standard Kermits.
/end
/begin set_send_parameters
Set receive end-of-line ! packet-length ! padding !
padchar ! quote ! start-of-packet !
timeout n
Where n is a decimal integer or the decimal representation of an
ASCII character. This option may be used to reset some of the
parameters that a remote Kemit might expect. The option is
provided so that you can talk to non-standard Kermits.
/end
/begin show
The current value of any settable option may be displayed by
entering Show followed by the name of the option.
/end