Terminal Attribute Specifiers
If standard output for the debugger is a terminal, and terminal attributes can be obtained by the terminfo database, the following terminal escape constructs can be used:
-
%<n>
-
Enable the terminal attribute corresponding to n. Only a single attribute can be enabled with each instance of
%<>
. -
%</n>
-
Disable the terminal attribute corresponding to n. Note that in the case of reverse video, dim text, and bold text, the terminal codes to disable these attributes might be identical. Therefore, it might not be possible to disable these attributes independently of one another.
If no terminal information is available, each terminal attribute construct is ignored by mdb_printf
(). For more information about terminal attributes, see
terminfo
(5). The available terminfo attributes are: