fbgetty and color HOWTO:

This document try to explain how use color in issue file.

Code written here were only tested on linux.

Attributes:
  00=none 
  01=bold
  04=underscore
  05=blink
  07=reverse
  08=concealed

Foreground Colors:
  30=black 
  31=red 
  32=green 
  33=yellow 
  34=blue 
  35=magenta 
  36=cyan 
  37=white

Background Colors:
  40=black
  41=red
  42=green
  43=yellow
  44=blue
  45=magenta
  46=cyan
  47=white

Those codes must be used with an escape sequence:
\e[ <comma separated codes>  m


Examples:
 to switch to default mode (generally white on black)
 \e[00m

 to switch to bold blue
 \e[01;34m

 to switch to blink yellow on red
 \e[05;41;33m

 to write a string in red:
 \e[00;31m A STRING \e[00m

 
There can be any combination of the codes: mixing attributes, background, foreground is allowed.

The escape sequences must be putted as-is in issue.

NOTE: in the future fbgetty will include a native color support, fully independant of linux terminal.


Copyright (C) 2001 Yann Droneaud
