SVSERV

Section: LAWRENCE BERKELEY LABORATORY (n)
Updated: 1992
Index Return to Main Contents
 

NAME

svserv - Sunview-based remote procedure call server  

SYNOPSIS

svserv -p prog_num [ -w winx winy ]  

DESCRIPTION

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.  

OPTIONS

-p
set the program number to be used. The use of different program numbers allows several servers to be active on a particular workstation simultaneously. Each corresponding client must be invoked with the identical program number (see scry_libclient(n)).
-w
set the coordinates of the upper left corner of the window on the screen.
 

DEFAULTS

The defaults to the command line arguments are as follows:

1) The program number is 4000.

2) The upper left corner is at (0,0).

 

FILES

The Scry Sunview server is located in scry/svserv
Makefile
makes the executable of the server
svwin.h
header file for Sunview dependent variables
svserv.c
RPC server
svdisplay.c
sets up image information and displays the images in the Sunview window as they come in
 

SEE ALSO

scry_client(n), scry_libclient(n), svanima(n)  

AUTHORS

David Robertson, Teck-Joo Chua, Max Rible, and Antony Courtney


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
DEFAULTS
FILES
SEE ALSO
AUTHORS

This document was created by man2html, using the manual pages.
Time: 01:44:42 GMT, December 05, 2024