SILICON GRPAHICS R3 X SERVER

Here are the files needed to add a Silicon Graphics X server to the R3
distribution.  There are two directory trees which mirror the distribution
tree.  The tree "diffs" contains context diffs of each file that has to
be changed.  The tree "newfiles" contains the server/ddx/sgi directory.

The shell script "apply" might be an automatic way to merge all these into
your x source tree.  If it fails you'll have to pick up the pieces yourself.
For complete safetey you can look at the apply script and then do it by hand.

RUNNING X CLIENTS WITH THE SILICON GRAPHICS SERVER

Depending on which release IRIX you have, you might have to edit the file
"/usr/etc/inetd.conf" in order to use the X server.  Look for a line
beginning with "x-server" and COMMENT OUT (with "#") that line.

The X server is set up to run in conjunction with the 4sight windowing system.
To run an X client, like "xcitement" (an imaginary name), follow these steps:
	1) Log in and let the 4sight window system start up.
	    IRIX login: guest
	2) Start the X server
	    % /usr/sbin/Xsgi &
	3) Start the client
	    % setenv DISPLAY localhost:0
	    % xcitement
This will start the program "xcitement" and the window will appear on the screen
to be placed, just like any other 4sight window.  You can manipulate the window
(push, pop, stow, move) with 4sight and it will behave normally.

KNOWN PROBLEMS

Running an X window manager produces a screen where only X windows
can live and opens up a whole spectrum of problems and is not recommended.
The adventurous may wish to do it once, just to see what it is like.

When running under 4sight, resizing an X window doesn't work right.
Also any ConfigureWindow requests which interact with the window
manager (push,pop,resize, etc.) are broken.

xterm has not yet been ported to IRIX, so it doesn't compile.

Some operations are very slow.  For example "xmille" in animated mode
is too slow to use (edit mille.h and #undef ANIMATE).

Not all the clients and contributed software have been compiled so some of
these may not work.


