9.6;scrch (show_screen_characteristics), revision 1.0, 87/02/05
SCRCH (SHOW_SCREEN_CHARACTERISTICS) -- Show screen characteristics.
usage: scrch [fieldname...] [options]
FORMAT
SCRCH [fieldname...] [options]
SCRCH lists values of screen characteristics on standard output.
ARGUMENTS
fieldname
(optional) Specify fieldname(s) of the graphic attribute to be
described. If omitted, the default is to show values of
all currently supported attributes.
The possible fieldnames are xvisiblesize (visible x
dimension screen area in pixels), yvisiblesize (visible y
dimension screen area in pixels), nplanes (number of
planes available), and nprimaries (number of primaries for
graphics, either 1 for monochrome or 3 for RGB color).
OPTIONS
Default options are indicated by "(D)."
-V Verbose description of field values.
-X (D) Specifically give value of x visible screen size.
-Y (D) Specifically give value of y visible screen size.
-P (D) Specifically give value of the number of planes.
-PR (D) Specifically give the number of primaries. The possible
values are 1 for monochrome and 3 for RGB color.
EXAMPLES
1. $ scrch
1024 800 4 3
$
2. $ scrch -v
x_visible_size - 1024
y_visible_size - 800
n_planes - 4
n_primaries - 3
$
3. $ scrch -x -y
1024 800
$
4. $ scrch -y -x
800 1024
$
5. $ scrch -p -x -v
n_planes - 4
x_visible_size - 1024
$
6. $ scrch x_visible_size
1024
$