.TH vidattr() "" "" "terminfo Function"
.PC "Set the terminal's video attributes"
.B "#include <curses.h>"
\fBvidattr(\fInewmode\fB)\fR
\fBint \fInewmode\fB;\fR
.PP
\*(CO comes with a set of
functions that let you use \fBterminfo\fR descriptions
to manipulate a terminal.
.B vidattr()
sends one or more video attributes to the terminal opened by a call to
.BR setupterm() .
.I newmode
is any combination of the macros
.BR A_STANDOUT ,
.BR A_UNDERLINE ,
.BR A_REVERSE ,
.BR A_BLINK ,
.BR A_DIM ,
.BR A_BOLD ,
.BR A_INVIS ,
.BR A_PROTECT ,
and
.BR A_ALTCHARSET ,
OR'd together.
Their names are self-explanatory; all are defined in the header file
.BR curses.h .
.SH "See Also"
.Xr "curses.h," curses.h
.Xr "setupterm()," setupterm
.Xr "terminfo," terminfo
.Xr "vidputs()" vidputs
