RGB(1) — NEWS-OS Programmer’s Manual
NAME
rgb − generate hashed color database
SYNOPSIS
/usr/bin/X11/rgb [ output_path ]
DESCRIPTION
rgb read ascii color database from standard input and output the hashed one used by Xserver(1). rgb will create database files named output_path.pag and output_path.dir. If no output_path is specified, /usr/lib/X11/rgb is assumed.
For each color, a single line should be present with the following information:
intensity of red
intensity of green
intensity of blue
name of color
Items are separated by any number of blanks and/or tab characters. But such characters in name of color are part of value. Each intensity is specifyed by decimal number which ranges from 0 to 255. The case of letters is ignored.
rgb will exit with a non-zero exit code if fail to create files. Any illegal input line will ignored, and error message will printed.
FILES
/usr/lib/X11/rgb.dir- standard database filenames
/usr/lib/X11/rgb.pag
/usr/lib/X11/rgb.txt- source of standard database
SEE ALSO
NEWS-OSRelease 4.1C