[comp.os.minix] kermit for MINIX - please post it

clark@ttidca.TTI.COM (Ralph Clark) (06/03/88)

I saw this in the info-kermit digest, and I'm surprised not to have heard
any mention of it in this group. Since apparently a working serial port
driver and kermit process is being distributed world wide, it would be
nice if someone would get it off of "tape B" and let us look at it. At the
very least, a review would be appreciated.

The extracted article from the kermit digest follows :

------------------------------------------------------------------------

Article 32 of comp.protocols.kermit:
Subject: Info-Kermit Digest V7 #12
Date: 18 May 88 21:21:17 GMT
Reply-To: Info-Kermit@CU20B

Info-Kermit Digest         Wed, 18 May 1988       Volume 7 : Number 12

Today's Topics:
                Announcing C-Kermit 4D(061) Adapted to MINIX

------------------------------

Date: 26 February 1988
From: Adrian Godwin, 78 Putnoe Street, Bedford, England.
Via: SYSKERMIT%vax1.central.lancaster.ac.uk@NSS.Cs.Ucl.AC.UK
Subject: Announcing C-Kermit 4D(061) Adapted to MINIX
Keywords: MINIX, C-Kermit, Tanenbaum, IBM PC MINIX

Here is a set of C-Kermit 4D(061) sources, modified for use with Andrew
Tanenbaum's UNIX V7 implementation for the IBM PC family, MINIX.  The source
is derived from the Lancaster VAX/VMS backup format distribution tapes of
20.1.88, and 6 files are modified:

	ckuusr.c	ckuus3.c	ckufio.c
	ckutio.c	ckcmai.c	ckcfns.c

Some additional files containing build information for an MS-DOS (Lattice C)
cross-compilation, fixes to the MINIX kernel and pre-built executable files
(in .BOO format) are also present.  These have names of the form cktker.???,
and are documented in the file cktker.hlp .

Modifying C-Kermit 4D-061 for use under 'MINIX' has required rather more
changes to Minix than to Kermit. The C source files are included; they all
began as the CK---.--- files for the 4D(061) distribution set. Here the names
have been changed to MX---.--- . Hints, fixes and library changes are also
attached - most of these are applicable for anyone implementing a serial i/o
driver for Minix, and many library fixes are useful for porting other
utilities.

C-Kermit cannot be built under version 1.1 Minix, as it compiles to about 85K
and the initial Minix assembler cannot separate I&D model output.  The
executable file was therefore built under MS-DOS using the Lattice 3.10 C
compiler. Some care is needed in cross-compiling : see the notes in
Tanenbaum's book about libraries, and read the enclosed Lattice makefile,
cktker.mak.

A port of this version to the latest C-Kermit version 4E(070) is now underway 
and will be released at some future time.

[Ed. - While awaiting arrival of the 4E adaptation, this set of files has
been placed in the Kermit Distribution under the prefix MX, as in KER:MX*.*,
and is on Tape B.  Thanks to the folks at Lancaster University for sending
this in.]

--------------------------------------------------------------------------

-- 
Ralph Clark (clark@ttidca.TTI.COM) {csun|philabs|psivax|trwrb}!ttidca!clark