Query: wattron
OS: opensolaris
Section: 3curses
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
curs_attr(3CURSES) Curses Library Functions curs_attr(3CURSES)NAMEcurs_attr, attroff, wattroff, attron, wattron, attrset, wattrset, standend, wstandend, standout, wstandout - curses character and window attribute control routinesSYNOPSIScc [ flag ... ] file ... -lcurses [ library ... ] #include <curses.h> int attroff(int attrs); int wattroff(WINDOW *win, int attrs); int attron(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);DESCRIPTIONAll of these routines manipulate the current attributes of the named window. The current attributes of a window are applied to all charac- ters 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, they are displayed as the graphic rendition of characters put on the screen. The routine attrset() sets the current attributes of the given window to attrs. The routine attroff() turns off the named attributes with- out turning any other attributes on or off. The routine attron() turns on the named attributes without affecting any others. The routine standout() is the same as attron(A_STANDOUT). The routine standend() is the same as attrset(), that is, it turns off all attributes. Attributes The following video attributes, defined in <curses.h>, can be passed to the routines attron(), attroff(), and attrset(), or OR-ed with the characters passed to addch(). A_STANDOUT Best highlighting mode of the terminal A_UNDERLINE Underlining A_REVERSE Reverse video A_BLINK Blinking A_DIM Half bright A_BOLD Extra bright or bold A_ALTCHARSET Alternate character set A_CHARTEXT Bit-mask to extract a character COLOR_PAIR(n) Color-pair number n The following macro is the reverse of COLOR_PAIR(n): PAIR_NUMBER(attrs) Returns the pair number associated with the COLOR_PAIR(n) attributeRETURN VALUESThese routines always return 1.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+SEE ALSOcurs_addch(3CURSES), curs_addstr(3CURSES), curs_printw(3CURSES), curses(3CURSES), attributes(5)NOTESThe header <curses.h> automatically includes the headers <stdio.h> and <unctrl.h>. Note that attroff(), wattroff(), attron(), wattron(), wattrset(), standend(), and standout() may be macros. SunOS 5.11 31 Dec 1996 curs_attr(3CURSES)
Related Man Pages |
---|
attron(3curses) - opensolaris |
attrset(3curses) - opensolaris |
standend(3curses) - opensolaris |
standout(3curses) - opensolaris |
wstandout(3curses) - opensolaris |
Similar Topics in the Unix Linux Community |
---|
solaris zones vs container.. |
PHP Man Pages Now Available (Over 10,000) |
Study UNIX Kernel |
Solaris 10 - password complexity not working |
Shopt -s histappend |