Here are the sources to 3 X11 (R2) utility programs: yorn, gs and alert.  

All three print a message in a window, yorn then waits for the user to click a
tick or cross button and returns it as an exit status, gs requests text to
typed by the user, waits for a finished button to be click and returns the
text on stdout and alert simply waits for an ok button to be clicked by the
user. 

They all use widgets to obtain as pretty user interface if the connection to
the X-server can be established, otherwise terminal text only versions come
into play (useful if they are used in unix start up shell scripts and the
server can't be started for some reason).

The utilities have been tested on a sun 360 running BSD unix 4.2 (with the
'-DBSD' flag set in the Makefile) and our own machines running 
Unisoft unix V.2 (with the '-DUNISOFTV' flag set).

When complied (by typing make when in the correct directory and with the
correct '-D' flag set in the Makefile) a single binary called 'alert' is
produced.  This should be linked to 'yorn' and then linked again to 'gs'.  The
binary decides what utility to act like by its argv[0] argument.  This
arrangement stops parts of the X libraries (which aren't small !) from being
stored 3 times in 3 separate binaries, thus saving disk space.

Widget application writers may find the file misc.c of interest since this
adds a string to pixmap converter to the toolkit so users can specify a
background bitmap file name to be used (when converted) as a widget's
background pixmap.

A sample .Xdefaults file is included (for colour servers) that gives some
examples of what can be redefined from such a file.  The file needs to be in
your home directory as .Xdefaults or moved to the
file /usr/lib/X11/app-defaults/Xopentop for it to take effect.
It is interesting to see just how many colour servers
are broken as regards tiling and stippling alignment when using this file.

Any comments/bug fixs/money, please send them to:

    	gary@torch.co.uk

Gary Henderson @ Torch Computers Ltd., Cambridge, UK.
