XCO(1) UNIX System V XCO(1)
NAME
xco - display X11 color names and colors
SYNOPSIS
xco [ -display display ] [ -name name ] [ -title title ] [ -geometry
geometry ] [ -help ] [ -scroll number ] [ -show number ] [ -fg foreground
] [ -bg background ]
DESCRIPTION
xco uses the database of standard X11 named colors to display name-color
pairs. Appearance is based on the X10 xcolors program. To change the
foreground color, click the left mouse button in the color window you
want. To change the background color, click the right mouse button in
the color window you want. Clicking the middle mouse button sets the
colors back to the original foreground and background. You can switch
quickly through colors by holding down the left or right button and
sliding the cursor through the colored windows. More colors can be seen
by clicking on the arrows at the bottom of the screen
Typing a ``q'' will cause the program to exit. Typing a ``r'' will cause
the foreground and background colors to be swapped (aka reverse video).
OPTIONS
-display display
This option specifies which display to use.
-name name
This option specifies what name should be used for the program
when looking up defaults in the resource manager.
-title title
This option specifies what name should be used for the window and
icon titles.
-geometry geometry
This option allows for the specification of a geometry string.
-help This option causes a usage string to be printed.
-scroll number
This option specifies the number of colors to scroll by.
-show number
This option specifies how many colors to show at once.
-fg foreground
This option allows for the specification of a default foreground
color.
-bg background
This option allows for the specification of a default background
color.
10/89 Page 1
XCO(1) UNIX System V XCO(1)
RESOURCES
title The title used for the window and the icon.
geometry
Geometry string for the window.
scroll The number of colors to scroll by.
show The number of colors to show at once.
foreground
The default foreground color.
background
The default background color.
FILES
/usr/local/X11R4/lib/X11/rgb.txt
BUGS
It wasn't written using Xt.
It reads the clients copy of the rgb database instead of getting the
colors from the server.
AUTHORS
J. T. Korb (jtk@cs.purdue.edu)
R. Bingle (bingle@cs.purdue.edu)
Page 2 10/89