Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!sgi!shinobu!odin!warp.esd.sgi.com!kipp From: kipp@warp.esd.sgi.com (Kipp Hickman) Newsgroups: comp.sys.sgi Subject: Re: wsh color escape sequences Message-ID: <1991Mar27.165257.20327@odin.corp.sgi.com> Date: 27 Mar 91 16:52:57 GMT References: <9103270107.AA19795@karron.med.nyu.edu> Sender: news@odin.corp.sgi.com (Net News) Reply-To: kipp@warp.esd.sgi.com (Kipp Hickman) Organization: Silicon Graphics, Entry Systems Division Lines: 42 Here is the stuff from the latest man page (you don't have it so don't feel bad): CSI Pv m Set graphics rendition. Each parameter is examined in turn and applied to the current graphics rendition. The following table defines what each of the legal values for the parameters are. 0 Reset to default. 1 Enable bold. Disable half intensity. 2 Enable half intensity. Disable bold. 3 Enable italics. 4 Enable underlining. 7 Enable reverse video. 21 Disable bold (VT100). 22 Disable half intensity (VT100). 23 Disable italics (VT100). 24 Disable underlining (VT100). 27 Disable reverse video (VT100). 30-37 Set the text color to black, red, green, yellow, blue, magenta, cyan or white, respectively (ISO 6429). 40-47 Set the page color to black, red, green, yellow, blue, magenta, cyan or white, respectively (ISO 6429). The -C command defines what some of these colors map to... Oh yeah - CSI means \033[ and the parameters are ; separated numbers. For instance, the following sets the text color to red with a black background: \033[31;40m kipp