
		Installation Instructions For Xmtscm

1. Get and build scm4e2.  Make sure it works OK before proceeding,
   and install scm in a directory on your path;  the build procedure
   for xmtscm uses scm.  You also need to install slib2a3 before you
   build xmtscm.

2. Get and build Xmt library.  It can be ftp from ORA at

	ftp://ftp.ora.com/published/oreilly/xbook/Xmt/xmt212.tar.gz

   Install the library before you proceed.   

3. Modify Makefile for your platform.  Pay special attention to the
   SCMOBJS variable.  Make sure you have made all objects in this
   variable in the SCM source directory.  

4. Type 'make'.  You can make xmscm and xscm by typing 'make xmscm'
   and 'make xscm' respectively.

5. Add the following lines to the *catalog* function in "require.scm"
   in your Scheme library:

     (ol			.	"ol")
     (olsubs			.	"olsubs")
     (x11			.	"x11")
     (xevent			.	"xevent")
     (xm			.	"xm")
     (xmsubs			.	"xmsubs")
     (xt			.	"xt")
     (xw			.	"xw")
     (xmt                       .       "xmt")
     (xmtdebug                  .       "xmtdebug")

   If you have also compiled CDE and/or HTML widget support, add these:

     ; For CDE
     (dtconst			.	"dtconst")

     ; For HTML widget
     (wbconst			.	"wbconst")

6. Try the demos:

   a. Bingo	(A very simple demo)

      For sh/ksh/bash,
	$ XENVIRONMENT=Bingo xmtscm bingo.scm

      For csh,
	% setenv XENVIRONMENT Bingo; xmtscm bingo.scm

   b. Combo	(A more or less complete testing demo)

      For sh/ksh/bash,
	$ XENVIRONMENT=Combo xmtscm combo.scm

      For csh,
	% setenv XENVIRONMENT Combo; xmtscm combo.scm

   Other demos includes: alarm.scm, clock.scm, icon.scm, multitop.scm,
   newcombo.scm, rheostat.scm, spin.scm, and plist.scm.

6. Have Fun!

--
Thomas Kwong
tomkwong@wilshire.com
