Installing QK KERMIT ==================== QK KERMIT is written in turbo pascal and is contained in 17 source files. Most of the files are common to both CP/M and MsDos systems. The following is a list of the source files required: 1. KERMIT PASMSCPM - MsDos and CP/M systems (MAIN) 2. UTILITY PASMSCPM - MsDos and CP/M systems 3a. SYSFUNC PASMS - MsDos systems 3b. SYSFUNC PASCPM - CP/M systems 4a. MODEMPRO PASMS - MsDos systems (IBMPC compatibles) 4b. MODEMPRO PASAPPLE - CP/M systems (APPLE II with PDA232 card) 4c. MODEMPRO PASKAYII - CP/M systems (KAYPRO II) 5. DEFWORDS PASMSCPM - MsDos and CP/M systems 6. READCHAR PASMSCPM - MsDos and CP/M systems 7. PACKET PASMSCPM - MsDos and CP/M systems 8a. SENDFILE PASMS - MsDos systems 8b. SENDFILE PASCPM - CP/M systems 9. RECVFILE PASMSCPM - MsDos and CP/M systems 10a. CONNECT PASVT52 - MsDos and CP/M systems (VT52) 10b. CONNECT PASADM3A - MsDos and CP/M systems (ADM3A) 10c. CONNECT PASVT100 - MsDos systems (VT100) 10d. CONNECT PASTEK10 - MsDos systems (VT100/TEK4010) 11. SETSHOW PASMSCPM - MsDos and CP/M systems 12. LOCAL PASMSCPM - MsDos and CP/M systems 13. REMOTE PASMSCPM - MsDos and CP/M systems 14. MISCCOMM PASMSCPM - MsDos and CP/M systems 15a. TYPEDEF PASDUMMY - Non graphics 15b. TYPEDEF PASSYS - Graphics (Turbo Graphics Toolbox) 16a. GRAPHIX PASDUMMY - Non graphics 16b. GRAPHIX PASSYS - Graphics (Turbo Graphics Toolbox) 17a. KERNEL PASDUMMY - Non graphics 17b. KERNEL PASSYS - Graphics (Turbo Graphics Toolbox) (Note: The PASSYS files are not distributed with QK Kermit; they are in the Turbo Pascal Toolbox. If you do not have them, just use the dummy equivalents.) (Another Note: The Pascal Source files are all concatenated together into 1 big file called QKKER.PAS. Each file file begins with a comment showing the actual name (look for: =FILE=).) All machine dependent code are contained the file MODEMPRO.PAS which contain the modem procedures. The system dependent procedures (MsDos or CP/M) are contained in the SYSFUNC file. Unfortunately since the CP/M version of Turbo Pascal does not allow the use of " FILE OF BYTE " which is used in the MsDos version of the SENDFILE procedure, the CP/M version had to use an UNTYPED file. The CP/M version of SENDFILE could probably be used in the MsDOS version, but it is not as elegant. Currently we have 4 different terminal simulations, a VT52,VT100, ADM3A, and a TEK4010 (Tektronics graphic terminal). Source for the terminal simulation code is contained in the 'CONNECT' file. COMPILING INSTRUCTIONS ---------------------- 1. Load the 17 files required on to a floppy disk. All files should have a file type of PAS. 2. Invoke the turbo pascal compiler. a) Set the Compiler Option to C to create a COM file. b) For MsDos version it is necessary to reduce the mAx free dynamic memory to the mIn free dynamic memory. If this is not done then RUN command will not function. The RUN command is not available in the CP/M version. 3. Specify KERMIT as the main procedure and Compile it. Notes: a. For some computers such as an APPLEIIe, one disk is too small to contain all the source files and the KERMIT.COM file. In this case place the KERMIT.PAS in the B disk and the rest of the include files on the A disk. Point the main program to B:KERMIT.PAS but set the default drive to A. The source file will be picked off the default drive but the KERMIT.COM file will be created on the B drive. b. The MsDos version of KERMIT will compile in about 2 minutes using version 3.0 of Turbo pascal. It will take about 3 minutes using version 2.0 of Turbo pascal. The CP/M version on a KAYPRO will take about 5 minutes to compile. c. The VT100 version requires a file called KEYTABLE.DAT, which defines the sequence of characters to be sent for special keys. d. The VT100/TEK4010 graphics simulation requires the following three files from the Turbo Graphics Toolbox: TYPEDEF.SYS, GRAPHIX.SYS and KERNEL.SYS. The following changes should be made to these routines to allow it to run more efficiently, however it should still work without these changes. i. set "RamScreenGlb := False" in the TYPEDEF.SYS file. If you don't make this change you will need a larger stack/heap space before you can run. ii. comment out the code in procedure INITGRAPH which initializes the Error messages in the KERNEL.SYS file. iii. Initialize the font array only once by setting CharFile:=''; after it has read the 4x6.FON file.