Serves incoming remote procedure calls (RPCs) to display images sent from a Scry client in a Sunview window. 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 svanima movie preview program.
After svserv 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 svserv 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.
The RPC server calls graphics_dispatch (located in svserv.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 the first RPC.
See svanima(n) for information on using color with Sunview and on defaults for window size, etc.
1) The program number is 4000.
2) The upper left corner is at (0,0).