*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> colorview (1)              
Title
Content
Arch
Section
 

Contents


COLORVIEW(1)							  COLORVIEW(1)


NAME    [Toc]    [Back]

     colorview - display list of X11 colors and	show selected color

SYNOPSIS    [Toc]    [Back]

     colorview [ -browse ] [ -display dpy ] [ -geometry	geom ]
	       [ -name name ] [	-text ]	[ file | - ]

DESCRIPTION    [Toc]    [Back]

     Colorview is an X11 program that displays a color ``patch'' and a list of
     color names from an X11 rgb database. The color for a name	is displayed
     by	clicking the left mouse	button over the	color name.

     Command-line arguments are:

     -browse   only lists the colors; the Accept and Apply buttons are not
	       displayed.

     -display dpy
	       specifies the X server to contact; see X(1).

     -geometry geom
	       specifies the preferred size and	position of the	window;	see
	       X(1).

     -name name
	       specifies the application name under which resources are	to be
	       obtained, rather	than the default executable file name.

     -text     indicates the specified file is a text file containing color
	       names and/or X #rgb color specifications, with 1	name per line.

     file      specifies the name the rgb database. The	database must be in
	       ndbm(3B)	format unless -text is specified.  With	-text, the
	       database	is read	from standard input if file is ``-''.

     Colorview has three buttons when not invoked with -browse:

     Accept    Print the selected color	name on	the standard output and	exit.

     Apply     Print the selected color	name on	the standard output.

     Cancel    Exits the program.

EXAMPLES    [Toc]    [Back]

     To	display	only unique colors from	the default rgb	database:

	  showrgb | sort -u +0 -3 | awk	'{print	$4,$5,$6,$7}' \
	      |	sort | colorview -text -







									Page 1






COLORVIEW(1)							  COLORVIEW(1)



     To	display	a list of colors from a	file:

	  colorview -text mycolors.txt


     To	display	a list of colors using the X #rgb color	specification:

	  colorview -text - << _END_
	  #f0f
	  #7171c6
	  #8E3855
	  _END_

FILES    [Toc]    [Back]

     /usr/lib/X11/rgb	      default rgb ndbm(3B) database

SEE ALSO    [Toc]    [Back]

      
      
     rgb(1), showrgb(1), X(1)


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
makemap IRIX store colors into the gl color map
bitmap IRIX Images that display two colors
SgColorChooserSetCurrentColor IRIX A ColorChooser function that sets the selected color of the ColorChooser without changing the stored color
DXmSvnHideSelections Tru64 Specifies that the SVN widget show selected entries in the default format, without drawing selection...
underlay IRIX allocates bitplanes for display of underlay colors
XmListGetSelectedPos HP-UX A List function that returns the position of every selected item in the list
XmListPosSelected HP-UX A List function that determines if the list item at a specified position is selected
XmListPosSelected Tru64 A List function that determines if the list item at a specified position is selected
XmListPosSelected IRIX A List function that determines if the list item at a specified position is selected
XmListGetSelectedPos Tru64 A List function that returns the position of every selected item in the list
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service