Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rgb(1) — Kubota Pacific 4.1 System Software

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dbm(3X)

X(1)

rgb(1)  —  X

NAME

rgb − Create an rgb database

SYNOPSIS

rgb <sourcefile [ pathname-prefix ]

DESCRIPTION

rgb is an X Window System database creation tool.  It creates the database file the X server uses to translate ASCII color names into rgb color values.  The standard ASCII source file for rgb is in /usr/lib/X11/rgb/rgb.txt.  rgb reads a .txt file from stdin and creates a dbm(3X) database, consisting of the files rgb.dir and rgb.pag.  The X server will need to be restarted to be able to see any effects after a change to the database.  You will need your system administrator to install the database files in /usr/lib/X11/rgb/. 

The ASCII color names are case insensitive. 

OPTIONS

pathname-prefix
By default the .dir and .pag files are placed in /usr/lib/X11/rgb.  This optional argument allows you to override the default destination file prefix. 

EXAMPLES

rgb </usr/lib/X11/rgb/rgb.txt (to replace shipped rgb files)
rgb <myrgb.txt myrgb (private rgb)

FILES

/usr/lib/X11/rgb/rgb.txt
/usr/lib/X11/rgb/rgb.pag
/usr/lib/X11/rgb/rgb.dir

SEE ALSO

dbm(3X), X(1)

March 13, 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026