ABC-800 KERMIT This version of KERMIT is an implementation of KERMIT in BASIC-II for Luxor ABC800/Facit DTC which closely follows the UNIX/C version in the Implementation Manual. The comments in the C-version has been retained to a lagre extent. Most variable names and function names are the same as in the C-version. Even the calling sequences have been retained which means that in some cases the function arguments are pointers rather than values, as they are results rather than input parameters. All variables are integer unless they are strings. The connect routine uses a system dependent routine for fetching data from line and sending data as well as the receive packet routine. Most of the remaining code is strait forward. This version is a true remote version. It uses a menu for promting the user. All commands are displayed, and the computer requests a command. When the program is started the following menu is obtained: K E R M I T - A B C - 8 0 0 Version 2.1 c Connect to host computer r Receive files from host s Send files from host b Specify Baud Rate d Turn on debug mode e Exit Kermit Specify function: c - Connect to host computer. The computer will display: "Kermit: connected - terminal mode with host" The operator is now connected directly to the host system, and is able to start login and do other operations before starting KERMIT. When KERMIT is started on the host, the operator hits PF1 in order to exit the connect mode. KERMIT will respond with: "Kermit: disconnected" After the RETURN key or any other key is hit, the menu will appear again. r - Receive files from host. This command assumes that a KERMIT is started on the host compter to transmit files. The computer will ask for optional file names. If names are given, names are taken from the list until exhausted, whereafter names will be taken from the File Packets. The file name must be valid in the ABC-800. The file names in the file name list are separated by comma. Example: FILE1.AAA,FILE2.AAA,FILE3.AAA etc. No file name check is performed until the corresponding file is received. If the names in the packets violate ABC-800 file name rules, the program will stop. s - Send files to host. This command assumes that the host has been given a receive command, with or without local file names. The computer requests a file name or a list of file names separated by comma. Example: FILE1.AAA,FILE2.AAA,FILE3.AAA etc. This list is limited to 2 lines on the screen, 158 chars. The files will be sent to the host. All files are opened before any files are sent. If any file name is invalid, KERMIT vill write: Illegal file name FILNAME.XXX b - Specify Baud Rate. The program will request baud rate for the communication channel. The standard speeds 110, 300, 600, 1200, 2400, 4800, 9600, and 19200 baud are accepted. d - Turn on/off debug mode. Each time a 'd' command is given, the debug flag is turned on or off. The new debug state is displayed for a short while. Debug info is written on a printer. e - Exit KERMIT. The computer displays: E N D o f K E R M I T s e s s i o n and stops. During transmission KERMIT-800 will display packet number and type of all received and transmitted packets, as well as transmitted and received files. The program was written by Torbj|rn Alm, ABC-klubben <116>