cher.media.mit.edu:/pub/interactive-c/source/README.SRC
Maintained by: Randy Sargent
Last updated: August 21, 1994

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

SORRY, THE SOURCE ISN'T HERE RIGHT NOW; ONCE I'M DONE PORTING 2.850 TO
THE VARIOUS PLATFORMS, I'LL STICK IT HERE, PROBABLY EARLY IN
SEPTEMBER

THANKS FOR YOUR PATIENCE. -- Randy

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

This directory contains source for the free versions of IC.  

For the most part, the source files for each of the architectures (PC,
Mac, UNIX) should be the same; there may be a few differences
depending on which platforms I've built for most recently.  The main
difference in the directories are the inclusion of Symantec C
"projects" in the mac directory, and Microsoft Visual C "projects" in
the ms-dos directory, making it easier to get started (if you already
have those compilers, that is).


*********************************
Information on Makefiles for UNIX
*********************************

You'll probably notice early on that no directories have makefiles
already.  All you need to do is copy "makefile.dis" to "makefile" in
each directory, being sure to edit the MACHINENAME= line to be the
configuration name for your machine.  Currently supported
configuration names are:

ds     DECstation
sunos  SPARC running sunos   (may work for sun3 as well)
solar  SPARC running solaris (may work for sun3 as well)
next   NeXT                  (verified for 68k under OS version 3.0)
vax    VAX running BSD       (not tested recently)
linux  Linux       

If you want to port IC, probably most of your effort will go into
iob_unix.c, which contains OS-specific calls for making serial ports
raw, sleeping, etc.

The configuration files you'll want to create for your new machine
are:

libs/cfgXXXXX
and
libs/cfgXXXXX.h

cfgXXXXX is included in makefiles, while cfgXXXXX.h is included in C
programs.  Your best bet is probably to copy a set of files that are
similar to your platform (in particular, if you're porting to system
5, you might try "solar").

If you have problems like:
stty:  unknown option litout

during program startup or exit, look in iob_unix.c for calls to the
stty program;  these often have to be changed between machines (sigh).

Good luck porting!  If you get a new port working, please let me know
and I can post your config files as well as your binaries.

Randy Sargent
rsargent@media.mit.edu
August 21, 1994





