moninfo(4dsp)
moninfo --
monitor information file
Description
The X server uses
moninfo files to determine the physical dimensions
of your screen so that fonts are displayed in the correct size.
When you create a new moninfo file, you should
be aware of the following:
-
Filenaming conventions for moninfo files require
that the filename end with a .mon extension.
In addition, you must name the file based on the
model of the monitor, which is specified by the MON_MODEL.
For example, the moninfo file
for the Sony CPD-1304 monitor
contains the MODEL entry:
MON_MODEL = "1304" and is named
1304.mon.
-
The file must reside in a subdirectory, named for the monitor's vendor,
in the /usr/lib/grafinfo/moninfo directory.
For example, /usr/lib/grafinfo/moninfo/sony
contains moninfo files for Sony monitors.
-
If you create a moninfo file
for a monitor whose vendor is not already represented
with a subdirectory in /usr/lib/grafinfo/moninfo,
you must create a directory for the vendor before you
create the moninfo file.
DESCRIPTION = "identification";
MON_VENDOR = "vendor name";
MON_MODEL = "model name";
WIDTH = monitor width in millimeters;
HEIGHT = monitor height in millimeters;
TYPE = "color | mono";
moninfo files are ASCII files
that contain information about
specific monitors that are supported by the
Xsco(X1M)
server.
The fields are:
- DESCRIPTION
-
text that appears in the
configuration manager monitor list
- MON_VENDOR
-
monitor vendor name.
This string must match the name of the directory
in which the moninfo file resides.
- MON_MODEL
-
monitor model.
This string must mach the name of the moninfo file
without the .mon suffix.
- WIDTH
-
width of the monitor screen, in millimeters
- HEIGHT
-
height of the monitor screen, in millimeters
- TYPE
-
monitor type, either ``color'' or ``mono''.
The files are located under the
/usr/lib/grafinfo/moninfo directory,
with a subdirectory for each vendor.
The subdirectory name must match the value of
the MON_VENDOR field in the file.
The individual moninfo files
are within the vendor's subdirectory
and are named using lower case
with the value of the MON_MODEL field,
suffixed with .mon.
Porting notes
Future Xsco implementations may use
additional parameter definitions.
Xsco graphics adapter drivers ignore parameter definitions
that they do not require,
so all Xsco drivers can use
the same set of moninfo files.
Examples
This is the moninfo file for the
IBM 8514 monitor.
For more examples, see the files under the
/usr/lib/grafinfo/moninfo directory.
DESCRIPTION = "IBM 8514";
MON_VENDOR = "ibm";
MON_MODEL = "8514";
WIDTH = 300;
HEIGHT = 220;
TYPE = "color";
References
grafinfo(4dsp)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.