Table of Contents

Name

gvm - small gvm display window

Synopsis

gvm <dbman_host> <label> <refname>

Description

This is an Xwindows program which gives a small window to display a single parameter. Usually this is used to display the GVM value although it may be used to display any parameter.

Arguments

dbman_host - required

The host where dbman is running.
label/refname - optional

If used, both arguments must be present and are used as the name of the AccelNET parameter to display. If not present then TPS TK-1 GvmVR is used as the name of the parameter to subscribe to.

Note that the label and/or refname field may need to be quoted if it contains whitespace to cause the shell to treat the entire name as one program argument.

Environment Variables

gvm uses CRT_COLOR_TBL if present to access the font information contained in it.

The FONTbig parameter is used to determine what font is used by gvm.

If this parameter is not present in the table or the environment variable is not set then gvm uses it’s default font.

Examples


#!/bin/sh
#
# this is an example shell script for starting gvm
# usually the code shown here is placed in the necclients script
#

#
# this sets the path to the xcrt_color.dat file
#
export XCRT_COLOR_TBL=$USER_TREE/$CONF/config/xcrt_color.dat

#
# this starts the program
#
gvm csdev1

#
# or it may be started with additional args
#
gvm csdev1 "TPS TX-1" "GvmVR"

Note that in the 2nd example that the Label is quoted to escape it in the shell. This is done to preserve the whitespace within the label and prevent the shell from treating the label as multiple arguments.

The RefName is also quoted but doesn’t need to be.

See Also

environ(5)
xcrt_color(5)

Manual Page Revision

$Id: gvm.1,v 1.5 2007/04/23 19:17:51 kitchen Exp $


Table of Contents