monitors(5)
NAME
monitors − maps device name to monitor physical dimensions for the X11/NeWS server
SYNOPSIS
/etc/monitors
DESCRIPTION
The monitors file contains information that maps device names to the physical dimensions of the monitor for the X11/NeWS server. If this file exists, and an entry for the device exists in this file, the physical dimensions specified in that entry are used by the X11/NeWS server to specify width-in-millimeters and height-in-millimeters for that screen at Connection Setup time. In the absence of an entry for a particular screen (device) in the monitors file, the server supplies default physical dimensions that may not necessarily match the exact physical dimensions of the monitor being used. This may have undesirable consequences for some WYSIWYG applications. Note that this data base is intended as a mechanism for the system administrator to indicate the physical dimensions of the monitor to the X11/NeWS server. This file should not be used by any application other than the X11/NeWS server.
For each device a single line should be present with the following information:
Device-namewidth-in-mmheight-in-mm
Any characters following a white space after the height-in-millimeters field, through the end of line are disregarded. The fields are separated by any number of blanks and/or TAB characters. A leading ‘#’ indicates the beginning of a comment; characters up to the end of the line are not interpreted by routines which search the file.
EXAMPLE
Here is a typical /etc/monitors file:
# Maps device names to monitor sizes for the X11/NeWS server
# These are the known monitor sizes....
# mono/greyscale (underscan)
#17"295x230 mm
#19"350x273 mm
# color (underscan)
#16"295x230 mm
#19"350x270 mm
#21"369x295 mm
#
/dev/cgsix029523016" color monitor, underscan
/dev/cgtwo029523016" color monitor, underscan
FILES
/etc/monitors
NOTES
This file was introduced in OpenWindows Version 3, and may be obsoleted in future releases of OpenWindows. This database is only intended as a mechanism for system administrators to communicate exact monitor sizes to the X11/NeWS server. No application other than the X11/NeWS server should parse this file.
SunOS 5.1 — Last change: 22 January 1993