1FUNCTION::ANSI_SET_C(3staUpt)ility functions for usingFaUnNCTION::ANSI_SET_C(3stap)
2
3
4
6 function::ansi_set_color3 - Set the ansi Select Graphic Rendition mode.
7
9 ansi_set_color3(fg:long,bg:long,attr:long)
10
12 fg
13 Foreground color to set.
14
15 bg
16 Background color to set.
17
18 attr
19 Color attribute to set.
20
22 Sends ansi code for Select Graphic Rendition mode for the given
23 forground color, Black (30), Blue (34), Green (32), Cyan (36), Red
24 (31), Purple (35), Brown (33), Light Gray (37), the given background
25 color, Black (40), Red (41), Green (42), Yellow (43), Blue (44),
26 Magenta (45), Cyan (46), White (47) and the color attribute All
27 attributes off (0), Intensity Bold (1), Underline Single (4), Blink
28 Slow (5), Blink Rapid (6), Image Negative (7).
29
30
31
32SystemTap Tapset Reference August 2011 FUNCTION::ANSI_SET_C(3stap)