DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Using the system console and non-graphical displays

Changing the foreground and background colors

You can set both background and foreground colors with a single command:

setcolor red white

This results in red characters on a white background. If only one color is specified, the foreground color is changed. To change only the background color, use the -b option, as in the following:

setcolor -b red

This changes the background color to red.


Next topic: Changing reverse video colors
Previous topic: Controlling non-graphical color displays with setcolor

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003