Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 879 -
(5) Character attribute
Escape
sequence Function
---------------+-------------------------------------------------------
ESC [0m Restore default attribute. (White, no blinking, no
reverse video)
ESC [5m Turn on blinking.
ESC [7m Turn on reverse video mode.
ESC [25m Turn off blinking.
ESC [27m Turn off reverse video mode.
ESC [30m Black.
ESC [31m Red.
ESC [32m Green.
ESC [33m Yellow.
ESC [34m Blue.
ESC [35m Magenta.
ESC [36m Cyan.
ESC [37m White.
For monochrome display device, brightness of each character changes
according to color specification as follows.
Color Black Red Green Yellow Blue Magenta Cyan White
-----------+------------------------------------------------
Brightness Low <-----------------------------------> High
For VGA display device, additional escape sequences are available
as follows.
Escape
sequence Function
---------------+-------------------------------------------------------
ESC [1m Turn on low intensity color.
ESC [3m Turn on low intensity color for background.
ESC [22m Turn off low intensity color.
ESC [23m Turn off low intensity color for background.
ESC [40m Background black.
ESC [41m Background red.
ESC [42m Background green.
ESC [43m Background yellow.
ESC [44m Background blue.
ESC [45m Background magenta.
ESC [46m Background cyan.
ESC [47m Background white.
On VGA display device, actual displayed colors for each escape
sequence are defined by setting of color palettes for character
display. The color palettes for character display are changeable
by crt_setpalette function.