				COMMANDS

Note: the program only recognizes the command abbreviations.  The
  longer names are given here just so you'll know what the short
  command names stand for.

  The program accepts one command per line.


COMMAND			FUNCTION			RETURN VALUE
[abbreviation]

model { k | p | h }	Change display model to		Success code
[m { k | p | h }]	klein disk (k), poincare
			disk (p), or upper
			half-plane (h).

coords sys		Set display coordinate		Success code
[co sys]		system to specification
			determined by 'sys'.
			Format of 'sys' to be
			decided on later.

point x y		Draw point (x,y)		Graphics object
[p x y]							number of new
							point

segment x1 y1 x2 y2	Draw line segment from		Graphics object
[s x1 y1 s2 y2]		(x1,y1) to (x2,y2)		number of new
							segment

erase s			Erase object			Erase object
[e s]							number s.

clear			Clear canvas			Clear the canvas;
[c]							same as erasing
							all objects.

bbatch			Begin batch.  All graphics	Success code
[bb]			operations are saved (no
			refreshing done) until
			next ebatch command.

ebatch			End batch.  Causes		Success code
[eb]			picture to be redrawn,
			revealing any modifi-
			cations since last
			'bbatch' command.

getpoint		Gets a point from the		x y n
[gp string]		user				where (x,y) are
			string = string to display	the affine Klein
			  in message window while	model coordinates
			  getting point			of the gotten
							point and n is a
							success code.

getobject		Gets an object from the		s n
[go string type]	user				where s is the
			type = one of "p","s", or	graphics object
			   "ps".			number of the
			string = string to display 	gotten object, and
			  in message window while	n is a success
			  getting object.		code.

postscript file		Generate a postscript		success code
[ps file]		file of the current
			window contents

