This directory demonstrates how to write a SunView-based inset editor. 
The editor's name is:
	rected
short for RECTangle EDitor.

rected's creation capability is simple:
	a .25" rectangle
	solid or outlined 
	internal or external
	if external, any file name
	MIF or picture facets 
rected's editing capability is simple:
	toggle shape 
	toggle between internal and external (edit file name)
	toggle facets

rected's Paste buttons are the user interface to RPC-based IPC. 
rected's L6 and L8 keys are the user interface to the Selection Service-based IPC.
rected's File->Help menu selection demonstrates use of the Frame Document Server.

To build rected, type:
	make
Several files will be computed:
	by rpcgen(1)
		stdfm_rpc.h xdr.c server.c 
	by cc(1)
		*.o
		rected

If you have FrameMaker 2.0, be sure that rected is installed in
.makerinit/inseteditors:
	<Editor
		<Name rected>
		<CommandLine /.../rected -Wi>
		<Facet rected.mask>
		<RPCProgram 300007>
		<RPCVersion 1>
	>
Note that 300007 is not an official RPC program number.
Check for a clash by typing:
	/usr/etc/rpcinfo -p | grep 300007
If output appears, you'll need to choose a different number.
Substitute for 300007 in Makefile and re-build.

To run rected, type:
	./rected
or use the Inset... command in FrameMaker (in the Special menu) to
launch it.
