COHERENT manpages
This page displays the COHERENT manpage for vidputs() [Write video attributes into a function].
List of available manpages
Index
vidputs() -- terminfo Function Write video attributes into a function #include <curses.h> vidputs(newmode,outc) int newmode; int (*outc)(); COHERENT comes with a set of functions that let you use terminfo descriptions to manipulate a terminal. vidputs() resets the video attributes of the terminal that had been 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. outc points to a function that takes a single character as an argument, e.g., putchar(). The related function vidattr() resets video attributes without requiring a pointer to a function. See Also curses.h, setupterm(), terminfo, vidattr()