IV. Detailed Description of the Commands (Part 2)
RESET
Takes no arguments. Causes the user process to close all connections (if necessary), all files (if necessary), and reset the programs parameters to their defaults.
DDT
If DDT is loaded, just starts DDT. If DDT is not loaded, it will load DDT and then start it at its initial start-up location. This command will casue an abnormal interrupt if DDT is not found.
LIST (file group) <remote file group> (to file) <local file>
Esentially causes the remote server to do a directory command. The default is *.* and since the listing will come on the data connection, the user must specify a local file. A sample line might look like the following: !list (file group) *.* (going to file) tty: [ok]
SOCKET <socket descriptor>
Will accept a socket descriptor for the data to go to or come from. At present it is NOT IMPLEMENTED because we have not decided on the format of the command to the server.
ALLOCATE <decimal number of bytes>
Accepts as its argument a decimal number of bytes (of the specified size) telling the server how many bytes of storage to reserve for the next store of append.
QUIT
Takes no arguments. Returns the console to the EXEC. The program may be continued with no harm done.
This command allows the user to send arbitrary strings to the remote server. At present, when talking to a TENEX site, it is only useful for doing the 'MAIL' command. Other sites may have help commands of whatever.
HOST <ARPANET host name of number>
Allows the user to specify an ARPANET host without actually connecting to the host. This specified host will be the ont that is connected to (or the attempt will be made anyway) when the next 'immediate' command is executed. EG: LOGIN, RETREIVE, STORE, LIST, etc.
USER (name is) <remote user's name>
Sets the user name for the remote system. Useful for systems that require no password for the specified name. Does nothing until an user must be 'logged into' the remote system. The programm knows this and so will not let the user execute any commands (RETREIVE, STORE, APPEND, LIST, STATUS, RENAME, DELETE) until he has at least specified a remote user name. The LOGIN command does this as does this command.
STATUS (of the) <sub-cmd> (at host) <ARPANET host>
Accepts as its argument one of the following sub-commands:
SERVICE (at host) <ARPANET host name or number>: Attempts to perform the ICP to the specified host. Does not disturb any existing connections.<ARPANET host name or number>: See description of STATUS SERVICE above.STATUS (of file) <remote file group>: Similar to the LIST command described above except that the listing does not gone back on the data connection but on the TELNET connection. See LIST command for more details.<COMMAND-TERMINATOR>: Just sneds the STAT command. Typically, is good for finding out where your are and perhaps who you are.
PASSWORD (is) <passowrd for remote user's name>
Sets the password for the remote user's name. It is NOT echoed and does nothing until the next 'immediate' command is executed.
ACCOUNT (is) <account number or string>
Accepts a string of number that can be charged for any activity the user specifies. EG: STORE, RETREIVE or APPEND. Useful only for systems that require this information of course. Also does nothing until the next immediate command is executed.
LOGIN <user name> <password> <optional account>
the format of this command is identical to the TENEX login command. It accepts a user name, password, and an optional account number. If no host has been specified, it will ask for the host to be connected to. This command will cause the ICP to take place if necessary.
BYTE (size is) <decimal byte size>
This command sets the byte size for the data connection. The default byte size is 8 bytes.
Type (is) <type descriptor>
Takes as its argument one of the following subcommands:
TENEX: Shorthand that sets TYPE IMAGE and BYTE 36.EBCDIC: Says that the data will be Ebcdic.PRINT: Says that the data is an Ascii print file with ASA vertical format controls.LOCAL: Forces the user and server FTP to accept whatever byte size the user has specified. For the present, this type is treated the same as for IMAGE TYPE.IMAGE: Does the same as LOCAL. Just forces the user and server FTP to accept the specified byte size without doing any translation as is done for ASCII type. For most efficient usage of this command, the matching byte size should be BYTE 36 when using TENEX sites as servers.ASCII: Sets TYPE ASCII and 8 bit bytes. Useful for text files.
NOTE: Of the above sub-commands, only PRINT and EBCDIC are not implemented yet.
STRUCTURE (is) <file structure descriptor>
Accepts as its argument one of the following sub-commands:
REDORD: Says the data on the data connection has record structure information contained in it. NOTE: Since TENEX NOT support record structured files per se, this mode only useful for sending text files to or retreiving text files from non-TENEX sites. The<EOL>in these files is converted to the TELNET EOR code for transmission and EOR to<EOL>etc. for reception.File: Says the data stream has no record structure information in it.
TENEX
See description under TYPE TENEX.
ASCII
See description under TYPE ASCII.
VERBOSE
This command sets the command completion/no completion flag. The program assumes the NO VERBOSE mode and thus does not complete commands when <space> or <eol> is used as a command terminator It also causes the noise words to be typed if in the verbose mode.