function::ansi_set_color(3stap) — Linux manual page

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | SEE ALSO | COLOPHON

FUNCT...SET_C(3stap) Utility functions for using an FUNCT...SET_C(3stap)

NAME         top

       function::ansi_set_color - Set the ansi Select Graphic Rendition
       mode.

SYNOPSIS         top

       1) ansi_set_color(fg:long)

       2) ansi_set_color(fg:long,bg:long)

       3) ansi_set_color(fg:long,bg:long,attr:long)

ARGUMENTS         top

       fg
           Foreground color to set.

       bg
           Background color to set.

       attr
           Color attribute to set.

DESCRIPTION         top

       1) Sends ansi code for Select Graphic Rendition mode for the
       given forground color. Black (30), Blue (34), Green (32), Cyan
       (36), Red (31), Purple (35), Brown (33), Light Gray (37).

       2) Sends ansi code for Select Graphic Rendition mode for the
       given forground color, Black (30), Blue (34), Green (32), Cyan
       (36), Red (31), Purple (35), Brown (33), Light Gray (37) and the
       given background color, Black (40), Red (41), Green (42), Yellow
       (43), Blue (44), Magenta (45), Cyan (46), White (47).

       3) Sends ansi code for Select Graphic Rendition mode for the
       given forground color, Black (30), Blue (34), Green (32), Cyan
       (36), Red (31), Purple (35), Brown (33), Light Gray (37), the
       given background color, Black (40), Red (41), Green (42), Yellow
       (43), Blue (44), Magenta (45), Cyan (46), White (47) and the
       color attribute All attributes off (0), Intensity Bold (1),
       Underline Single (4), Blink Slow (5), Blink Rapid (6), Image
       Negative (7).

SEE ALSO         top

       tapset::ansi(3stap)

COLOPHON         top

       This page is part of the systemtap (a tracing and live-system
       analysis tool) project.  Information about the project can be
       found at ⟨https://sourceware.org/systemtap/⟩.  If you have a bug
       report for this manual page, send it to systemtap@sourceware.org.
       This page was obtained from the project's upstream Git repository
       ⟨git://sourceware.org/git/systemtap.git⟩ on 2024-06-14.  (At that
       time, the date of the most recent commit that was found in the
       repository was 2024-06-13.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       man-pages@man7.org

SystemTap Tapset Reference     April 2024           FUNCT...SET_C(3stap)

Pages that refer to this page: tapset::ansi(3stap)