man1/crt

Table of Contents

Name

crt - the 1st half of Xcrt

Synopsis

crt -host <hostname> -page <page_number> -geom <Xsize>x<Ysize>+<Xorigin>+<Yorigin> -display_only

Description

This is the top half of Xcrt. Xcrt is composed of two programs, crt and ts. crt is usually invoked from a shell script that configures the environment and builds the command line arguments for ts. crt starts ts via a fork() and exec().

Arguments

-host <host_name>
The host where dbman is running.

-serv <serv_name>
The /etc/services name or a number to use for the port number to connect to dbman.

-pg_host <host_name>
The host where pgman is running.

This may be used in rare cases where it is desired to run a separate pgman. An example might be servicing a system on the other side of the world where the internet connection is slow and it is desired to run a local copy of pgman so that page components don’t have to be retrieved from the other side of the world.

-pg_serv <serv_name>
The /etc/services name or a number to use for the port number to connect to pgman.

-page <page_number>
The starting page number.

-geom <Xsize>x<Ysize>+<Xorigin>+<Yorigin>
A standard Xwindows specfication for setting the size and position of the window on startup. This may be ignored by the window manager.

-display_only
Xcrt only displays a page. No mouse or keyboard windows are displayed and ts(1) is not started.

-left_anchor
Left anchor VARDISP records. They are right anchored by default.

Older database use left anchored VARDISP records. This is a pragma so that new code may be used with older databases without taking the time to upgrade them.

-show_tbl
Print information from various tables loaded by Xcrt. This is a debugging aid.

-pn_ic_legend
Override the default page number (3) for the Icon Legend page.

-pn_instruct
Override the default page number (2) for the user instructions page.

Environment Variables

DBMAN_HOST

The host where dbman is running. Use this or use the -host option. if both are present -host option overrides DBMAN_HOST
PGMAN_HOST

The host where pgman is running. Use this or use the -pghost option. if both are present -pghost option overrides PGMAN_HOST
CRT_SIZE_FILE

The pathname to shared memory partition sizing file. If not present default sizes will be used.
ASSIGN

The hostname where assign service is running. This is actually used by ts(1) .

If this environment variable is not present the value defaults to localhost.

ASSIGN_OK

Normally ts(1) will attempt to connect to assignd(8) if running on the local display.

Placing ASSIGN_OK with any value in the environment allows ts(1) to connect to assignd(8) even if not running on the local display.

This could be used in a case where meter/knob service may actually run on another box but it is desired to use it.

KNOB

The hostname where knob service is running. This is actually used by ts(1) .

If this environment variable is not present the value defaults to localhost.

METER

The hostname where meter service is running. This is actually used by ts(1) .

If this environment variable is not present the value defaults to localhost.

TREND

The hostname where trend service is running. This is actually used by ts(1) .

If this environment variable is not present the value defaults to localhost.

NORLAND

The hostname where norland scope service is running. This is actually used by ts(1) and is pretty much obsolete.

If this environment variable is not present the value defaults to localhost.

CRT_XBUF

Xwindows transmit buffer size
CRT_LCL_DB_BUF

local DB receive buffer size
CRT_LCL_PG_BUF

local PG receive buffer size
CRT_REM_DB_BUF

dbman DB send buffer size
CRT_REM_PG_BUF

dbman PG send buffer size
CRT_COLOR_TBL

pathname to file containing the color information. See xcrt_color(5) for information about the format.
CRT_COLOR_TBL2

pathname to file containing the color information to use when the display colors are flipped by using the F11 key. See xcrt_color(5) for information about the format.
FOCUS_POLICY

This overrides the setting of ts.keyboardFocusPolicy. Possible values are explicit and pointer.

XCRT_TBL_ADDR

If present this value is used for the shared memory attachment address. If not, the value of segaddrCRT in memdef.h is used.

See Also

Xcrt(1) , ts(1) , and xcrt_color(5)

Manual Page Revision

$Id: crt.1,v 1.12 2009/02/09 20:27:27 kitchen Exp $


Table of Contents