xcmap(1)                    General Commands Manual                   xcmap(1)



[1mNAME[0m
       xcmap - displays the default colormap on X11 displays

[1mSYNTAX[0m
       [1mxcmap [22m[ [-d] [4mdisplay[24m] [ [-g] [4mgeometry[24m]

[1mDESCRIPTION[0m
       [1mxcmap  [22mis  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 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 con-
       tinue to do this as long as you hold the button down.

[1mBUGS[0m
       This  program  only  works  on   colormapped   displays   (PseudoColor,
       GreyScale,  StaticColor, and StaticGrey visuals).  Running it on a dis-
       play 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.

[1mAUTHOR[0m
       John Bradley  -  bradley@dccs.upenn.edu



                                                                      xcmap(1)
