COHERENT manpages

This page displays the COHERENT manpage for vidattr() [Set the terminal's video attributes].

List of available manpages
Index


vidattr() -- terminfo Function

Set the terminal's video attributes
#include <curses.h>
vidattr(newmode)
int newmode;

COHERENT  comes  with  a  set  of  functions  that  let  you  use  terminfo
descriptions to  manipulate a terminal.  vidattr() sends  one or more video
attributes to the terminal opened by  a call to setupterm(). newmode is any
combination  of  the macros  A_STANDOUT,  A_UNDERLINE, A_REVERSE,  A_BLINK,
A_DIM, A_BOLD, A_INVIS,  A_PROTECT, and A_ALTCHARSET, OR'd together.  Their
names are self-explanatory; all are defined in the header file curses.h.

See Also

curses.h,
setupterm(),
terminfo,
vidputs()