Notes on the WIN100 Sources William S. Hall 3665 Benton Street, #66

advertisement

Notes on the WIN100 Sources

William S. Hall

3665 Benton Street, #66

Santa Clara, CA 95051

WIN100 sources consist of two parts: sources for the terminal emulator and the Kermit sources. On the Columbia

University Kermit distribution, terminal source files have names beginning with WKTXXX.XXX. The Kermit sources are named

WKKXXX.XXX.

It is expected that you will be using the Microsoft 6.0 compiler and the Windows 3.0 Software Development Kit to make the files. You must also have Mortice Kern (MKS) Lex [2] to build the VT52 and VT100 protocol files. Unfortunately, the .C files generated by Lex cannot be distributed. Perhaps in the future, the emulator protocols can be written with a public domain version of Lex. We welcome your support in this area.

Some files are in .BOO format, namely the icon and dialog template files. Before trying to make the source, be sure to run the .BOO files through MSBPCT.

You should first make the Kermit library. Use the command line

NMAKE (or NMK) /f wkkerm.mak

Then you can make the emulator with the command line

NMAKE (or NMK) /f wkt100.mak

Do not expect to be able to create an executable which agrees exactly at the binary level. Files which are created with the

Kermit BOO program often are a bit longer when restored. Also, library .obj files will differ depending on the directory where they were made.

The Kermit sources are extensively commented. Although these files are not built as a Windows DLL, they are sufficiently isolated so that you can integrate them into another Windows terminal emulator without major disturbance. For more information on their construction and how they can be integrated into your own code, see [1].

The terminal sources are more difficult to understand. It may help you to know that the program creates a child terminal window which moves around in the main window to keep the line with the text cursor always visible. The terminal window is accessed only through the message system.

Please note that these files are COPYRIGHTED. You may, of course, modify them for your own use. Improvements and bug fixes are definitely welcome. However, you cannot any the sources for commercial purposes without permission of the author.

[1] William S. Hall, Adapting Extended Processes to the

Cooperative Multitasking of Microsoft Windows, Microsoft Systems

Journal, Vol 6, No. 1 (1991).

[2] Mortice Kern Systems Inc., 35 King Street North, Waterloo,

Ontario N2J 2W9, CANADA, (519) 884-2251.

Download