xcmap(1X) UNIX System V xcmap(1X)
NAME
xcmap - displays the default colormap on X11 displays
SYNTAX
xcmap [ [-d] display] [ [-g] geometry] [-iconic] [-ig icon_geometry]
DESCRIPTION
xcmap is an X11 program that displays the contents of the colormap on 4-,
6-, and 8-bit color (or greyscale) displays. It displays a grid of
squares, (4x4, 8x8, or 16x16 grid, depending on the number of planes)
that correspond to entries in the colormap. The squares are (of course)
drawn in their corresponding color.
You may click (with the left button) on any of these squares. Doing so
will display the pixel number corresponding to that square, and its red,
green, and blue components (as 4-digit hex numbers). It will continue to
do this as long as you hold the button down.
The icon is a small copy of the colormap and is fixed size (the -ig
option will not change the size of the icon).
Note: This program points out a bug in the X11R2 server for the IBM RT
Megapel display. Essentially, the problem is a discrepancy between what
the server THINKS the colormap is, and what the colormap in the hardware
ACTUALLY is.
AUTHOR
John Bradley - bradley@cis.upenn.edu Maintained by David Elliott
(dce@smsc.sony.com)
10/89 Page 1