xcmap(1)

NAME

xcmap - displays the default colormap on X11 displays

SYNTAX

xcmap [ [-d] display] [ [-g] geometry]

DESCRIPTION

xcmap is an X11 program that displays the contents of the
colormap on 4, 6, and 8-bit PseudoColor (or GreyScale)
displays. It displays a grid of squares, (4x4, 8x8, or
16x16 grid, depending on the number of planes) that corre
spond 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 corre
sponding to that square, and its red, green, and blue com
ponents (as 4-digit hex numbers). It will continue to do
this as long as you hold the button down.

BUGS

This program only works on colormapped displays (Pseudo
Color, GreyScale, StaticColor, and StaticGrey visuals).
Running it on a display that has a default visual type of
'TrueColor' or 'DirectColor' will do nothing of value, and
may or may not work at all.

Also, this program only works on 4, 6, and 8-bit displays.
Period.

AUTHOR

John Bradley - bradley@dccs.upenn.edu
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout