1 KER Kermit-11 Help is available on the following topics @ BINARY BYE COMMAND CONNECT COPY DECNET DELETE DIRECT DISCONNECT DISPLAY ERASE EXIT FINISH GET HANGUP HOST INTRO LOCAL LOGFILE PARITY PRINT QUIT RECIEVE REMOTE RENAME SEND SET SHOW STARTUP SYSTEM TAKE TYPE USAGE 2 @ This commamd opens an indirect file for command input. It is identical to the TAKE command. The format of the com- mand is: Kermit-11>@ file-specification where 'file-specification' is any valid file specification on the system on which the server kermit is running. 2 BINARY Binary files are those files which require all eight bits in each character. Text files, like program source files, compiler listing and runoff files, normally use only the low seven bits in each character. Binary files include task images, save images, RMS and other special files. In order for Kermit to transfer these files Kermit-11 needs an eight bit line, which for most PDP-11 systems is the default. Additionally, most Kermits need to be set into a binary mode to transfer such files. The command to do this is usually the 'SET FILETYPE BINARY' command, or 'SET FIL BIN' for short. Since various Kermit implementa- tions are at different stages of developement, most Kermit links can NOT handle binary files automatically, thus the above SET command must be given to BOTH Kermits prior to a binary file transfer. One important note is that the VMS Kermit-32 requires a SET FIL TYP FIX to properly send and receive binary files. 2 BYE The BYE command will cause Kermit-11 (when in local mode) to tell the other kermit (which should be in server mode) to exit from kermit and if applicable terminate its job (or process, etc.). When Kermit-11 receives the acknowledge- ment that this is being done, it will prompt for another command. The DISCONNECT command should always follow the BYE command. The format for BYE is: Kermit-11>BYE 2 COMMAND Kermit, if the task is installed on an RSX11M/M+ or IAS will take the rest of the line following KERMIT and execute it immediatley. For all command other than SERVER, Kermit will exit upon completion of the command. In the case of the SERVER command, Kermit will return to interactive mode if the local Kermit sends it a FINISH command. > KERMIT SERVER $ KERMIT HELP 2 CONNECT The CONNECT command will allow you to connect in as a vir- tual terminal over the line that was specified by the set line command. (Using the CONNECT command before using the SET LINE command will result in an error message) The ter- minal line must be one which is accessable to the user. The format of the CONNECT command is: Kermit-11>CONNECT The distributed RSX11M/M+ task has been built with the /PR:0 switch to enable the task to change other terminal settings. Addtionally, for RSX11M/M+, the MCR command SET /SLAVE=TTnn: should be done before entering Kermit-11. Please note that Kermit-11 CAN NOT change the speed of a DL11 type interface. Type AID KER CONNECT EXAMPLE for a sample of connect. 3 EXAMPLE The following is an example of using a Hays compatible modem to log on to a remote system. MCR> kermit Kermit-11 V2.13 Kermit-11>set logfile kermit.log Kermit-11>set deb console Kermit-11>set line tt42: Link device set to TT42: Kermit-11>set speed 1200 Kermit-11>con Connecting to TT42: AT OK ATDT,9,12121234567 DIAL COMPLETE RINGING CONNECT User Name : 2 COPY The COPY command creates a copy of the input file. The Kermit-11 COPY command does NOT support wildcards in the filename, and while COPY does use multiblock buffering it is usually more efficient to use the system utilty PIP or the DCL command COPY for this. COPY uses RMS block i/o for both RSTS and RSX. Any executable RSTS file (*.TSK, *.BAC and *.SAV) copied will not be useable until it's run time system name and protection code is reset. Kermit-11> COPY From: ABCDEF.DAT To : FUBAR.LST or Kermit-11> COPY ABCDEF.DAT FUBAR.LST 2 DECNET Kermit-11 can access DECNET files if built with DAP sup- port. This is included in the task images K11NRS.TSK and K11RSX.TSK as distributed. DECNET support has been tested for RSX11M. See SET DEFAULT for more information. 2 DELETE The DELETE command will delete the specified file or file group from the system. Wildcards are permitted. Kermit-11>DELETE FUBAR.MAC Kermit-11>DELETE FUBAR.* 2 DIRECT The DIRECT command will display the current default direc- tory when used in the format: Kermit-11>DIRECT If a directory other than the current default directory is desired then DIRECT may be used in the format: Kermit-11>DIRECT file-specification where 'file-specification' is any legitimate combination of device name, uic or ppn, and a filename which can include wild carding characters. 2 DISCONNECT The DISCONNECT command causes Kermit-11 to 'hang-up' the line which was specified with the SET LINE command and con- nected with the CONNECT command. The format is: Kermit-11>DISCONNECT 2 DISPLAY The Display command will format and print global read/write data, defined in K11MAC.MAC, to the terminal, as in: Kermit-11>DISP PROMPT 2 ERASE The ERASE command will ERASE the specified file or file group from the system. Wildcards are permitted. Kermit-11>ERASE FUBAR.MAC Kermit-11>ERASE FUBAR.* The ERASE command is identical to the DELETE command. 2 EXIT The EXIT command will cause kermit to return to the command level. This command is the same as the QUIT command. The format is: Kermit-11>EXIT 2 FINISH The FINISH command will tell Kermit-11 ,which is in local mode, to signal the other kermit to exit from server mode. When Kermit-11 has received acknowledgement that this is being done it will prompt for another command. The command format is: Kermit-11>FINISH 2 GET The GET command tells the remote kermit which is in server mode to get a file or group of files. The format for this command is: Kermit-11>GET file-specification where 'file-specification' may include any legitimate dev- ice,ppn or uic as well as the file specification. Wildcarding may be used in the file-spec. to obtain a group of files. 2 HANGUP The HANGUP command will drop the remote line specified by the SET LINE command and connected by the CONNECT command. The same function is performed by the DISCONNECT command. The format of the HANGUP command is: Kermit-11>HANGUP 2 HOST The HOST command is identical to the SYSTEM command in that it takes the command and spawns a process to execute the command. Kermit-11>HOST SHO TER Current settings for KB6: Broadcast CRFill=0 NoEcho NoHostSync Lowercase NoParity NoScope Speed not settable Tab NoTTSync Width=80 Kermit-11> 2 INTRO The KERMIT file transfer protocol is intended for use in an environment where there may be a diverse mixture of com- puters -- micros, personal computers, workstations, labora- tory computers, timesharing systems -- from a variety of manufacturers. All these systems need have in common is the ability to communicate in ASCII over ordinary serial telecommunication lines. The KERMIT protocol is specifically designed for character-oriented transmission over serial telecommunica- tion lines. The design allows for the restrictions and peculiarities of the medium and the requirements of diverse operating environments -- buffering, duplex, parity, char- acter set, file organization, etc. The protocol is carried out by KERMIT programs on each end of the serial connection sending "packets" back and forth; the sender sends file names, file contents, and control information; the re- ceiver acknowledges (positively or negatively) each packet. The packets have a layered design, in keeping with the ANSI and ISO philosophies, with the outermost fields used by the data link layer to verify data integrity, the next by the session layer to verify continuity, and the data itself at the application level. Connections between systems are established by the ordinary user. In a typical case, the user runs KERMIT on a micro- computer, enters terminal emulation, connects to a remote host computer (perhaps by dialing up), logs in, runs KERMIT on the remote host, and then issues commands to that KERMIT to start a file transfer, "escapes" back to the micro, and issues commands to that KERMIT to start its side of the file transfer. Files may be transferred singly or in gro- ups. Basic KERMIT provides only file transfer, and that is pro- vided for sequential files only, though the protocol at- tempts to allow for various types of sequential files. Microcomputer implementations of KERMIT are also expected to provide terminal emulation, to facilitate the initial connection. More advanced implementations simplify the user interface somewhat by allowing the KERMIT on the remote host to run as a "server", which can transfer files in either direction upon command from the local "user" Kermit. The server can also provide additional functionality, such as file manage- ment, messages, mail, and so forth. Other optional fea- tures also exist, including a variety of block check types, a mechanism for passing 8-bit data through a 7-bit communi- cation link, a way to compressing a repeated sequence of characters, and so forth. As local area networks become more popular, inexpensive, and standardized, the demand for KERMIT and similar proto- cols may dwindle, but will never wither away entirely. Unlike hardwired networks, KERMIT gives the ordinary user the power to establish reliable error-free connections between any two computers; this may always be necessary for one-shot or long-haul connections. 2 LOCAL The LOCAL command can be used to prefix any kermit command to insure that the command so prefixed will be carried out by the user's own kermit. All commands are local by de- fault with the exceptions of BYE, FINISH,and GET. The LOCAL command format is: Kermit-11>LOCAL kermit command name 2 LOGFILE The LOGFILE command creates the debug and session logging file. It is identical to the SET LOGFILE command. Kermit-11>LOGFILE FUBAR.LOG 2 PARITY Sometimes two Kermit's may appear to be sending the correct packets but one or the other of them will constantly reject the same packet. This usually will be seen when the re- questing Kermit asks a server for a file and then rejects the server's first packet, doing so until the retry thres- hold is reached. This can often be caused by parity being introduced somewhere, and one or both of the Kermit's do not know this. This can happen when a modem is generating parity or when a private or public network is doing so. Some Kermit's have a SET PARITY command to assist in this. If the communications link is introducing parity, a simle fix is to tell each Kermit the command SET PARITY SPACE. This will force the Kermit program to always remove bit 7 from the incoming data. Normally this will not affect file transfer since many Kermit implementations support what is called eight bit prefixing, which is a method of encoding an eight bit data item to fit over a seven bit link. See HELP SET PARITY for more information. 2 PRINT The PRINT command will cause the specified file(s) to be printed on the system line printer. This command may not function on all systems. Note that the local system print commands can usually be used using the SYSTEM command. 2 QUIT The QUIT command will cause Kermit-11 to return to the com- mand level. This command is the same as the EXIT command. The format is: Kermit-11>QUIT 2 RECEIVE The RECEIVE command will put Kermit-11 into remote mode to wait for a single file transfer transaction. Kermit-11 will wait for a file transfer initialization from the other kermit. This command is useful if the other kermit does not support local server commands. Command format is: Kermit-11>RECEIVE Please note that this version of Kermit-11 (Version 1) does NOT support the RECEIVE Command in the format: Kermit-11>RECEIVE filename 2 REMOTE The REMOTE command is used as a prefix to indicate to Ker- mit-11 that the command so prefixed is to be executed by the other (remote) kermit server. Command format: Kermit-11>REMOTE will return a prompt requesting a command name: Remote Kermit cmd ? REMOTE can also be used with a command name as an argument: Kermit-11>REMOTE command name Help is available on the following REMOTE commands: BYE COPY DIRECT ERASE FINISH GET HELP HOST RENAME SPACE TYPE 3 BYE The REMOTE BYE command will cause Kermit-11 (when in local mode) to tell the other kermit (which should be in server mode) to exit from kermit and if applicable terminate its job (or process, etc.). When Kermit-11 receives the ack- nowledgement that this is being done, it will prompt for another command. The DISCONNECT command should always fol- low. This command (REMOTE BYE) is the same as the BYE com- mand. The command format is: Kermit-11>REMOTE BYE or Kermit-11>REMOTE Remote Kermit cmd ?BYE 3 COPY The remote copy is just like the local copy command in that it creates a copy of the input file. Like the local Kermit-11 COPY command it does NOT support wildcards in the filename, and while COPY does use multiblock buffering it is usually more efficient to use the system utilty PIP or the DCL command COPY for this. COPY uses RMS block i/o for both RSTS and RSX. Any executable RSTS file (*.TSK, *.BAC and *.SAV) copied will not be useable until it's run time system name and protection code is reset. Kermit-11>REMOTE COPY From: ABCDEF.DAT To : FUBAR.LST or Kermit-11>REMOTE COPY ABCDEF.DAT FUBAR.LST 3 DIRECT The remote DIRECT command will tell the remote Kermit server to send a directory listing over the connection. Not all Kermit servers have this implemented. Kermit-11>REM DIR *.MAC The above example would tell the remote server to send a directory listing of all files ending with a .MAC filetype. 3 ERASE The remote ERASE command will tell the remote Kermit server to delete any files matching the filespecification. For a Kermit-11 server, this can include wilcard characters. Kermit-11>REM ERASE *.MAC Files deleted: SY:[2,2]FUBAR.MAC SY:[2,2]HLPSUB.MAC Kermit-11> The remote Kermit server may respond with the filenames de- leted, the above example is what a Kermit-11 server would respond with. 3 FINISH The REMOTE FINISH command will tell Kermit-11 , which is in local mode, to signal the other kermit to exit from server mode. When Kermit-11 has received acknowledgement that this is being done it will prompt for another command. REMOTE FINISH is the same as the FINISH command. The com- mand format is: Kermit-11>REMOTE FINISH or Kermit-11>REMOTE Remote Kermit cmd ?FINISH 3 GET The REMOTE GET command tells the remote kermit which is in server mode to get a file or group of files. REMOTE GET is the same as the GET command. The format for this command is: Kermit-11>REMOTE GET or Kermit-11>REMOTE Remote Kermit cmd ?GET 3 HELP The REMOTE HELP command instructs a remote Kermit server to send a list of remote commands that it can process. 3 HOST The REMOTE HOST command sends the comamnd over to the re- mote Kermit for execution on that system. This is only currently supported for version 8.0 of RSTS/E, and will be supported for RSX11M Plus in the near future. 3 RENAME The remote RENAME command is used to rename a file or set of files. RENAME is used with two arguments in the format: Kermit-11>REMOTE RENAME oldname newname If the remote RENAME is used with one or no argument it will prompt for missing arguments: Kermit-11>REMOTE RENAME From: oldname To: newname When the remote RENAME is finished the remote Kermit server will most likely return either a list of files renamed or a count of the number of files renamed. For a Kermit-11 server running remotely you would get a count of the number of files renamed. Kermit-11>REMOTE RENAME t.* junk Remote ack: 3 files renamed 3 SPACE The REMOTE SPACE command sends a generic command to the remote kermit requesting information about the amounts of space available and space used on the remote host. Command format is: Kermit-11>REMOTE SPACE or Kermit-11>REMOTE Kermit Remote cmd ?SPACE 3 TYPE The REMOTE TYPE command is just like the TYPE command but it tells a remote Kermit server to get the file to be typed on your terminal and send it over. Kermit-11>REMOTE TYPE FUBAR.MAC 2 RENAME The RENAME command is used to rename a local (only) file. RENAME can be used with two arguments is the format: Kermit-11>RENAME oldname newname If RENAME is used with one or no argument it will prompt for missing arguments: Kermit-11>RENAME From: oldname To: newname When RENAME is finished it will return a 'report' of what it has done: Kermit-11>RENAME t.* junk File DB0:[1,8]T.T1 renamed to DB0:[1,8]JUNK.T1 File DB0:[1,8]T.T renamed to DB0:[1,8]JUNK.T 2 SEND The SEND command will allow the user to send a file(s) to the other kermit. If Kermit-11 is running in remote mode the file will be sent on the controlling terminal line after waiting the number of seconds specified by the SET DELAY command. This gives the user time to es- cape to the other kermit and issue a receive command. If Kermit-11 is running in local mode , the file will be sent immediately on the terminal line specified by the set line command. Format of the SEND command is: Kermit-11>SEND file-specification Where 'file-specification' can include device,ppn or uic,as well as the file-spec. which may use wildcarding. 2 SERVER The SERVER command will put Kermit-11 into server mode. When Kermit-11 is in server mode while runnuing as a remote kermit (transmitting over the controlling terminal line) the other kermit can issue server commands to send and receive files without having to give SEND or RECEIVE commands to Kermit-11. In order to correctly receive binary files while in server mode a SET FILETYPE BINARY must be done first. At this time there is no way for Kermit-11 to deter- mine whether an incomming file is ascii or binary. Command format is: Kermit-11>SERVER At this time, the Kermit-11 server can process the following commands: BYE Logout Kermit-11. REMOTE COPY Copy a file to another. REMOTE DIR Prints a directory out. REMOTE DISK Prints the disk space. REMOTE ERASE Delete the filename(s). FINISH Exits Kermit-11 server. GET Sends the filename(s). REMOTE HELP Prints this help text. REMOTE HOST Execute a host command. REMOTE RENAME Rename old file to new. REMOTE SPACE Prints the disk space. REMOTE TYPE Prints the filename(s). REMOTE WHO Shows users logged in. 2 SET The SET command is used to set various parameters in kermit. The format of the SET command is: Kermit-11>SET parameter keyword The following parameters can be changed with SET: ATTRIBUTES BAUD BINARY BLOCKCHECK DEBUG DELAY DEFAULT DUPLEX ENDOFLINE ESCAPE FILETYPE HANGUP HOME IBMMODE LINE LOGFILE PACKETLENGTH PARITY PAUSE PROMPT RANDOM RECORDFORMAT RETRY SPEED TIMEOUT TERMINAL UPDATE 3 ATTRIBUTES Part of the Kermit protocol is the support of file attributes. Connected Kermits that support this can send information to each other about file size, time/date of creation, RMS file headers and other useful things. Due to potential problems with incompatible im- plementations this feature can be disabled. In this case, the send- ing Kermit-11 will never try to send file attributes, even though the receiver may have indicated that it supports this. Kermit-11>SET ATTRIBUTES OFF Kermit-11>SET ATTRIBUTES ON 3 BAUD This is the same as SET SPEED. See HELP SET SPEED 3 BINARY Kermit-11 has a default list of filetypes that are scanned to decide if a file should be sent in binary mode in addition to checking file attributes for RSX, P/OS and RSTS/E. The user can, however, overide this list with the this command. The default list is fairly inclu- sive, with types such as .SAV and .TSK forcing Kermit-11 into binary transmission. See HELP SET FIL for the default list. Kermit-11> SET BINARY-TYPE .SAV Kermit-11> SET BIN .EXE 3 BLOCKCHECK The SET BLOCKCHECK command is used to determine the block check se- quence which will be used during transmission. The block check se- quence is used to detect transmission errors. There are three types of block check available. These are the single character checksum (default), the two character checksum, and the three character CRC (cyclic redundancy check). This command does not ensure that the de- sired type of block check will be used, since both Kermit's involved in the transfer must agree on the block check type. Kermit-11 will request that the type of block check set by this command be used for a transfer. If the other Kermit has also had the same block check type requested, then the desired block check type will be used. Otherwise, the single character checksum will be used. The command should be given to BOTH Kermits since Kermit-11, when in server mode, has no say about what kind of checksum it wants to use. (See Kermit protocol manual for more information.) Kermit-11>SET BLOCKCHECK keyword Kermit-11>SET BLO 1 Kermit-11>SET BLO 2 Kermit-11>SET BLO 3 Where keyword is one of: 1CHARACTERCHECKSUM or ONECHARACTERCHECKSUM 2CHARACTERCHECKSUM or TWOCHARACTERCHECKSUM 3CHARACTERCRCCCITT or THREECHARACTERCRCCCITT 3 DEBUG The SET DEBUG command is used to specify the type and level of debug- ging to a disk file . This disk file must have been created by the SET LOGFILE command. The format for SET DEBUG is: Kermit-11>SET DEBUG qualifier The following are legal SET DEBUG qualifiers: ALL CONSOLE CONNECT FILE HELP NONE OFF ON PACKET STATE 4 ALL SET DEBUG ALL will turn on logging for CONSOLE,CONNECT,FILE,PACKET and STATE to the disk file specified by SET LOGFILE. This commamd is the same as SET DEBUG ON. The command format is: Kermit-11>SET DEBUG ALL 4 CONSOLE SET DEBUG CONSOLE will turn on logging for all i/o during a remote connect to the disk file specified by SET LOGFILE. This command is the same as SET DEBUG CONNECT. The command format is: Kermit-11>SET DEBUG CONSOLE 4 CONNECT SET DEBUG CONNECT will turn on logging for all i/o during a remote connect to the disk file specified by SET LOGFILE. This command is the same as SET DEBUG CONSOLE. The command format is: Kermit-11>SET DEBUG CONNECT 4 FILE SET DEBUG FILE will log all file 'opens' and 'creates' to the file specified by SET LOGFILE. The command format is: Kermit-11>SET DEBUG FILE 4 HELP SET DEBUG HELP gives the user a list of all qualifiers which can be used with SET DEBUG. Command format is: Kermit-11>SET DEBUG HELP 4 NONE SET DEBUG NONE 'turns off' all debugging. This is the same as the SET DEBUG OFF command. Command format is: Kermit-11>SET DEBUG NONE 4 OFF SET DEBUG OFF 'turns off' all debugging. This is the same as the SET DEBUG NONE command. Command format is: Kermit-11>SET DEBUG OFF 4 ON SET DEBUG ON will'turn on' logging for CONSOLE,CONNECT,FILE,PACKET and STATE to the disk file specified by SET LOGFILE. This commamd is the same as SET DEBUG ALL. The command format is: Kermit-11>SET DEBUG ON 4 PACKET SET DEBUG PACKET will 'turn on' logging of all receive and transmit packets to the disk file specified by SET LOGFILE. The command for- mat is: Kermit-11>SET DEBUG PACKET 4 STATE SET DEBUG STATE will turn on logging of all internal Kermit-11 state transitions 3 DELAY The DELAY parameter is the number of seconds to wait before sending data after a SEND command is given. This is used when Kermit-11 is running in remote mode to allow the user time to escape back to the other Kermit and give a RECEIVE command. Kermit-11>SET DELAY number-of-seconds Where number of seconds is the (decimal) number of second to wait be- fore sending data. 3 DEFAULT The DEFAULT parameter allows you to specify a device and UIC (or PPN) for all subsequent file opens (for SENDING) and file creates (for RE- CEIVING). It is disabled by typing SET HOME. Kermit-11>SET DEFAULT device Kermit-11>SET DEFAULT DB2:[200,201] This is quite useful for Kermit-11 running on a DECNET link, as you can set the default for file operations to include node names and passwords as in: Kermit-11>set def orion::sys$system:[fubar] 3 DUPLEX The DUPLEX parameter controls whether an outgoing link (set via the SET LINE command) is a full duplex link (the default) or a half du- plex link. All it does for half duplex is to cause all characters typed after the CONNECT command to be echoed locally. Kermit-11>SET DUPLEX HALF Kermit-11>SET DUPLEX FULL 3 ENDOFLINE The END-OF-LINE parameter sets the ascii character which will be used as a line terminator for all packets SENT to the other KERMIT. This is normally not needed for most versions of KERMIT. Kermit-11>SET END-OF-LINE octal value of character 3 ESCAPE This command will set the escape character for the CONNECT process- ing. The command will take the octal value of the character to use as the escape character. This is the character which is used to "es- cape" back to Kermit-11 after using the CONNECT command. It defaults to control (octal 34). It is usually a good idea to set this char- acter to something which is not used (or at least not used very much) on the system being to which Kermit-11 is CONNECTing. Kermit-11>SET ESCAPE octal-character-value Where octal-character-value is the ASCII value of the character to use as the escape character (in octal). 3 FILETYPE This command will set the file type that Kermit is receiving. A file type of ASCII should be used to receive text files which are to be used as text files on the PDP11 system. The file type BINARY should be used for binary files, such as CP/M .COM files, which need to be kept in a format that allows the file to be returned without any changes. Kermit-11>SET FILETYPE type Kermit-11>SET FIL BIN Further information is available about the following file types: ASCII AUTO BINARY FIXED NOAUTO PROTECT SUPERCEDE TEXT TYPE 4 ASCII File type ASCII is for text files. 4 AUTO Kermit-11 will normally try to decide if a file must be sent in bina- ry mode based on the file attributes and filetype. If, for instance, the directory entry for FUBAR.TXT showed it to be RMS (or FCS) fixed length records, Kermit-11 will switch to binary mode and send it ver- batim. If the receiving Kermit is Kermit-11, then the sending Kermit will send attribute data over also. The following file types also will normally be sent as binary files unless you use the SET FILE NO- AUTO command. *.TSK ; rsx, ias, and rsts tasks *.SAV ; rt11 and rsts save images *.OBJ ; compiler and mac output *.STB ; tkband link symbol tables *.CRF ; tkb and link cross reference files *.TSD ; 'time shared dibol' for rt11 *.BAC ; rsts basic+ 'compiled' files *.OLB ; rsx, ias, and rsts object libraries *.MLB ; rsx, ias, and rsts macro libraries *.RTS ; rsts/e run time systems *.EXE ; vms executable 4 BINARY File type BINARY is for non-text files. Note that binary files which are generated on a PDP11 system cannot be transferred to another (non PDP-11) system without losing file attributes. This means that (for example), an RSM11 indexed file cannot be transmitted with Kermit-11 at this time. You can not have parity set to anything but NONE to use binary file transfer (see HELP SET PARITY) unless the other Ker- mit can process eight bit quoting. Two Kermit-11's connected to each other will use binary transmission automatically via the Kermit at- tribute packets, preserving file attributes where it makes sense (ie, RSTS/E and RSX only). 4 FIXED SET FIL FIXED is the same as SET FIL BIN 4 NOAUTO SET FILE NOAUTO disables Kermit-11 from trying to base binary transmission mode on file attributes or filetype. 4 PROTECT See HELP SET FILE SUPERCEDE for information. 4 SUPERCEDE SET FILE [NO]SUPERCEDE allows Kermit-11 to accept or reject files re- ceived (from either the RECEIVE or GET commands) on a per file basis. The default is SUPERCEDE. By doing SET FILE NOSUPERCEDE Kermit-11 will always check to see if the file to be created is already there (independent of version number) and reject it to the sending server if it exists. This presumes that the Kermit sending the file under- stands the protocol to reject one file of a (possibly) wildcarded group of files. The main use of this is to resume getting a group of files, as in GET KER:K11*.* or GET KER:MS????.* having lost the connection after transfering some of the files. If this is set, then any files alrea- dy transfered will not be transfered again. Kermit-11>SET FILE SUPERCEDE Kermit-11>SET FILE NOSUPERCEDE 4 TEXT SET FIL TEXT is the same as SET FIL ASCII 4 TYPE The SET FILE TYPE xxx command is the same as the SET FILE xxx com- mand. The keyword TYPE is ignored for compatibility with other im- plementations of Kermit. 3 HANGUP SET HANGUP is the same as the DISCONNECT command. It forces a con- nected line (specified via the SET LINE command) to be dropped. This is currently only supported for RSTS version 8. Kermit-11>SET HANGUP 3 HOME SET HOME resets the default device and UIC (or PPN) to nothing, ie, all file opens and creates use your default disk (SY:) and your UIC (or PPN). Kermit-11>SET HOME 3 IBMMODE The SET IBM ON (or OFF) will instruct Kermit-11 to wait for an XON following each packet sent to an IBM host. Since the default for IBM mode may not always be appropiate for your IBM compatible system, you can always use the SET HANDSHAKE XON and SET DUPLEX HALF to avoid the parity setting implied by using IBM mode. .lit Kermit-11>SET IBM ON Kermit-11>SET IBM OFF 3 LINE The SET LINE command sets the terminal name up for use with the con- nect command. To use this you must have access to that device. On many systems terminal lines other than your own are protected from access, and may require special procedures to access them. The form of the device name is TTnnn:, where 'nnn' is a decimal number for RSTS and an octal number for RSX11M/M+. For RT11, the device name is simply the MT unit number shown by the SHO TER com- mand, as in '5' for DZ11 unit 0 line 4. If you are running K11POS.TSK for P/OS on the PRO/350, Kermit-11 will set the line to XK0: and the speed to 9600 baud when Kermit starts. To override the line or speed, set HELP SET LINE and HELP SET SPEED. Kermit-11>SET LINE TT55: (for RSTS and RSX) Kermit-11>SET LINE 5 (for RT11) Kermit-11>SET LINE XK0: (for P/OS) See HELP CONNECT, HELP SET DUPLEX and HELP SET SPEED for more infor- mation. 3 LOGFILE The SET LOGFILE command creates a debug dump file for you. It must be used BEFORE any SET DEBUG commands can be used. See HELP DEBUG for further information about debugging modes. Kermit-11>SET LOGFILE MYLOG.TXT Created debug file MYLOG.TXT Kermit-11> 3 PACKETLENGTH You can alter the default transmitted packet length with the SET PACKET-LENGTH command. This should not normally be needed unless the line is very noisy, at which time you should probably give up anyway. Kermit-11>SET PACKET 60 3 PARITY This is used with the SET LINE and CONNECT commands to specify the type of parity for the remote link. It defaults to NONE and can be either ODD, EVEN, MARK or SPACE as in: Kermit-11>SET PARITY NONE Kermit-11>SET PARITY ODD Kermit-11>SET PARITY EVEN Kermit-11>SET PARITY MARK Kermit-11>SET PARITY SPACE All parity generation is done via software, no special hardware is used. The use of software parity generation is restricted to 8 bit links only. The character format, if parity is set to anything but NONE, will be 7 bits of data followed with high bit set or cleared to indicate the parity. If you set parity to anything but NONE (the de- fault) you can NOT, at this time, send binary files. Attempting to set parity if the FILETYPE is BINARY will result in an error (SET FILETYPE qualifier). 3 PAUSE PAUSE tells Kermit to wait the specified number of seconds between each packet being sent to the other Kermit. This may be useful under situations of heavy system load. This may be automatically computer by Kermit-11 in a future release as a function of line speed. Kermit-11>SET PAUSE 1 3 PROMPT The SET PROMPT command is useful if you are using two Kermit-11's to talk to each other. By using the SET PROMPT command, you can change the prompt from 'Kermit-11>' on either (or both) Kermit to something that would indicate which system you are currently connected to. Kermit-11>SET PROMPT KERMIT-11/1170> Kermit-11>SET PROMPT FUBAR> Kermit-11>SET PROMPT PROKERMIIT-11> 3 RANDOM This command allows Kermit-11 to randomly generate checksum errors for testing error recovery of an attatched Kermit. You would normal- ly never use this command. Another command that goes with it is called SET SEED value which starts the psuedo random number generator at a different point. Kermit-11>SET RANDOM ON Kermit-11>SET RANDOM OFF 3 RECORDFORMAT Kermit will, by default, create RMS11 variable length implied car- riage control records for text files. You can override this and change it to create stream ascii records with the SET RECORD-FORMAT STREAM command. This is useful for RSTS/E systems if you need file compatibility with BASIC Plus. Kermit-11>SET RECORD-FORMAT STREAM Kermit-11>SET RECORD-FORMAT VARIABLE This command would be most useful in a KERMIT.INI file, which is exe- cuted by KERMIT when Kermit starts. 3 RETRY SET RETRY value tells Kermit to try that many times on a NAK'ed pack- et before giving up. This should only be needed if the line is ex- tremely noisy or the PDP11 host is running very slowly due to the system load. Kermit-11>SET RETRY 10 3 SPEED SET SPEED value sets the line speed for the device specified via the SET LINE command, and used for the CONNECT command. Changing the speed of a terminal line requires privilege for RSTS and RSX11M/M+. The SET SPEED command will only function with a DH11, DHV11, DZ11 or DZV11 multiline interface. Kermit-11>SET SPEED 1200 1200 Baud would be a normal speed to use with a VA212LS or a DF03. Please note that Kermit-11 CAN NOT change the speed of a DL11 type interface, nor can it change the speed of a PDT-150 modem port. For a PDT-150 modem port, use a command of /M/S:nnnn. to change the speed to nnnn for the SPEED.SAV program. 3 TIMEOUT The timeout value tells Kermit how long to wait to get a packet from the other Kermit. If system loads are high, it may be desirable to increase this beyond the default of 10 seconds. 3 TERMINAL The SET TERMINAL command simply controls the way which Kermit-11 prints packet counts while send or receiving a file (or group of files). The simplest way is the default, SET TER TTY. Using SET TER VT100 will cause Kermit to display headers for the numbers printed, at a possible cost in packet speed due to screen control overhead. Kermit-11>SET TER TTY Kermit-11>SET TER VT100 3 UPDATE The SET UPDATE command controls the frequency at which the packet count display is updated. The default is 1, displaying each packet. A SET UPD 0 will disable all packet count logs, whereas a SET UPD N will update the display every N packets. The SET NOUPDATE command is the same as SET UPDATE 0. 2 SHOW The SHOW command will display the settings made by the SET command and allow you to look at session statistics. Kermit-11>SHOW parameter The following show commands are supported: ALL BLOCKCHECK DEBUG DEFAULT ESCAPE FILETYPE LINE PACKET PARAM RECORDFORMAT TIME VERSION 3 ALL Displays everything: BLOCKCHECK DEBUG DEFAULT ESCAPE FILETYPE LINE PACKET PARAM RECORDFORMAT TIME VERSION 3 BLOCKCHECK Displays the current type of checksum set. 3 DEBUG Shows the status of debugging. 3 DEFAULT Shows the device and UIC (or PPN) used for file operations. 3 ESCAPE Shows the escape character used to return to a local Kermit-11 3 FILETYPE Shows the current filetype (BINARY or ASCII) 3 LINE Displays parameters associated with the current connect line. 3 PACKET Prints out packets statistics from the last transaction and total so far. 3 PARAMETERS Prints out various send parameters 3 RECORDFORMAT Shows what kind of file will be created by Kermit. 3 TIME The time of day 3 VERSION My current version and edit. 2 STARTUP You can place a file called KERMIT.INI in your account and have Ker- mit-11 automatically read commands from it before getting commands from your terminal. 2 SYSTEM The SYSTEM command takes a CCL/MCR/DCL command line and spawns a task to execute it. This is done via the SPWN$S directive. Kermit-11>SYS PIP DB1:=FUBAR.DAT Kermit-11>SYS Command: SUB MYJOB Kermit-11> 2 TAKE The Take command is just like the @ command. It opens a disk file for reading commands from, as in TAKE filename. Kermit-11>TAKE MYKERM.CMD 2 TYPE The TYPE command prints a file to your terminal, as in: Kermit-11>TYPE KERMIT.INI 2 USAGE Kermit-11 is normally run on the PDP-11 host system as a server. This means that a remote Kermit can send it commands without the user having to be switching between the local Kermit (usually a micro) and the remote Kermit (the one on the PDP-11). While Kermit-11 supports most of the server commands shown in version Four revision 1 of the protocol manual (see HELP REMOTE), not all micro based Kermits are able to send these commands to Kermit-11. Most Kermits do support the GET, SEND, BYE and FINISH server commands, which are sufficient for most file transfers. See HELP SEND, HELP GET and HELP BYE for additional information.