This directory contains the support for running CRISP under
X11. This has been tested under XView 2.0 (SunOS 4.1.1). Also
under Interactive Unix X11r3.

This implementation relies on the Xt and Xlib libraries only at present.

It is very usable on a Sun, but lacks integrated mouse support although
the mouse can be used by running the demo macro in this directory first.

If users have any suggestions etc, then let me know. I need
to avoid relying on high level toolkits which aren't available
on all machines, so its a bloody mess.

What we are doing is creating a single binary which can be run in
Xwindows mode or normal character mode. We need to ignore BTERM in
this case because user may invoke both from same terminal emulator window.

Ok, so we have:

	xlib.c   Code which knows about crisp and interfaces to X.
	crwin.c	 The Crwin widget which is sort of a color terminal 
		 emulator. At present it knows a little too much about 
		 CRISP. I would like to make this widget totally clean so
		 that in theory the next step is to knock up a color Xterm
		 in a few lines of code.

	makefile If you are not using SunOS or ISC then you may need to
		 tweak this makefile.
		 
Oh yes, this has so far been tested under XView (OpenLOOK). It is
designed to rely on the X11r3 and X11r4 Xt widget library only. I havent
gone to a higher layer yet.

One known bug: under SunOS, about 1 time in 15 on startup the screen doesnt
get drawn properly. Just press <F10>redraw<Enter> to redraw screen.

For a mono screen, you'll probably need to hack the color definitions
in crwin.c. I dont have access to color and so I cannot test it. I tried
testing it with shades of gray to emulate color and that was bad. It may
be that on a mono screen which supports gray shading in hardware that
no change will be necessary. If you need to make any changes to support
mono, please let me know so I can incorporate them in the next release.

Paul Fox			14th June 1991
