Serves incoming remote procedure calls (RPCs) to display images in a X window that are sent from the Scry client. This graphics window is created separately from the text window in which the server is invoked. The image data can be written to a disk file for later use by the Xanima movie preview program if the client chose that option (see scry_libclient).
After Xserv is invoked, two windows will appear on the screen, one a control panel, and the other the window in which images will appear. Pushing the "quit" button causes the windows to be destroyed and Xserv to exit. Entering a number in the "gamma" field will adjust the gamma value of the next image received. The default gamma value is 1, and the legal range is from 0.1 to 4. The default gamma value can be changed by resetting S_DEF_GAMMA_VALUE in scry/include/scry_limits.h before making Scry.
Xserv should run on the local workstation which will display the image. It can run on a different client, but that would defeat the whole purpose of Xserv, since in that case the XPutImage call will ship the whole uncompressed image over the network.
The RPC server calls graphics_dispatch (located in Xserv.c) based on information in the header of the incoming RPC call. Cases in graphics_dispatch correspond to supported client procedures. Routines starting with xdr_ decode incoming network information into the server format. The type of compression is set by the client, and communicated to the server as part of an RPC.
See Xanima(n) for information on using color with an 8-bit workstation, what window manager to use, and defaults.