Manual Page Result
0
Command: standout | Section: 3 | Source: Digital UNIX | File: standout.3.gz
curs_attr(3) Library Functions Manual curs_attr(3)
NAME
curs_attr, attroff, wattroff, attron, wattron, attrset, wattrset,
standend, wstandend, standout, wstandout - Curses character and window
attribute control routines
LIBRARY
Curses Library (libcurses.a, libcurses.so)
SYNOPSIS
#include <curses.h>
int attroff(int attrs); int wattroff(WINDOW *win, int attrs); int at-
tron(int attrs); int wattron(WINDOW *win, int attrs); int attrset(int
attrs); int wattrset(WINDOW *win, int attrs); int standend(void); int
wstandend(WINDOW *win); int standout(void); int wstandout(WINDOW *win);
STANDARDS
Interfaces documented on this reference page conform to industry stan-
dards as follows:
attroff, wattroff, attron, wattron, attrset, wattrset, standend,
wstandend, standout, wstandout: XPG4, XPG4-UNIX
Refer to the standards(5) reference page for more information about in-
dustry standards and associated tags.
DESCRIPTION
These routines manipulate the current attributes of the current or
specified window. The current attributes of a window are applied to
all characters that are written into the window with waddch, waddstr
and wprintw. Attributes are a property of the character and move with
the character through any scrolling and insert/delete line/character
operations. To the extent possible on the particular terminal, attrib-
utes are displayed as the graphic rendition of characters put on the
screen.
The routine attrset sets the current attributes of the window to attrs.
The routine attroff turns off the named attributes without turning any
other attributes on or off. The routine attron turns on the named at-
tributes without affecting any others. The routine standout is equiva-
lent to attron(A_STANDOUT). The routine standend is equivalent to at-
trset(0); that is, standend turns off all attributes.
Attributes
The following video attributes, which are defined in curses.h, can be
passed to the routines attron, attroff, and attrset. The attributes
also can be combined (by using an inclusive OR operation) with charac-
ters passed to addch. Alternate character set Blinking Extra bright or
bold Half bright Invisible Protected Reverse video Best highlighting
mode of the terminal. Underlining
NOTES
The header file curses.h automatically includes the header file
stdio.h.
Note that attroff, attron, attrset, standend, and standout may be
macros.
RETURN VALUES
These routines always return OK.
RELATED INFORMATION
Functions: curses(3), curs_addch(3), curs_addstr(3), curs_attr_get(3),
curs_printw(3)
Others: standards(5) delim off
curs_attr(3)