X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_attr.3x.html;h=f09a28de97c5ecd7f1bf129f9212d1701affe922;hp=fb18129c63fe9c12ca2a3f36535919d543de86a8;hb=2e5d72d6396bb38a8d1d1b3534f62e28aebaa600;hpb=cc387b11f421650091d84640e05825ea5161ac66;ds=sidebyside diff --git a/doc/html/man/curs_attr.3x.html b/doc/html/man/curs_attr.3x.html index fb18129c..f09a28de 100644 --- a/doc/html/man/curs_attr.3x.html +++ b/doc/html/man/curs_attr.3x.html @@ -2,7 +2,7 @@ @@ -148,18 +148,36 @@ be passed to the routines attron, attroff, and attrset, or OR'd with the characters passed to addch. - A_NORMAL Normal display (no highlight) - 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_PROTECT Protected mode - A_INVIS Invisible or blank mode - A_ALTCHARSET Alternate character set - A_CHARTEXT Bit-mask to extract a character - COLOR_PAIR(n) Color-pair number n + Name Description + ------------------------------------------------------------ + A_NORMAL Normal display (no highlight) + 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_PROTECT Protected mode + A_INVIS Invisible or blank mode + A_ALTCHARSET Alternate character set + A_ITALIC Italics (non-X/Open extension) + A_CHARTEXT Bit-mask to extract a character + COLOR_PAIR(n) Color-pair number n + + These video attributes are supported by attr_on and relat- + ed functions (which also support the attributes recognized + by attron, etc.): + + Name Description + ----------------------------------------- + WA_HORIZONTAL Horizontal highlight + WA_LEFT Left highlight + WA_LOW Low highlight + WA_RIGHT Right highlight + WA_TOP Top highlight + WA_VERTICAL Vertical highlight + + For consistency The following macro is the reverse of COLOR_PAIR(n): @@ -201,32 +219,44 @@ correctly manipulate all other highlights (specifically, A_ALTCHARSET, A_PROTECT, and A_INVIS). + This implementation provides the A_ITALIC attribute for + terminals which have the enter_italics_mode (sitm) and ex- + it_italics_mode (ritm) capabilities. Italics are not men- + tioned in X/Open Curses. Unlike the other video at- + tributes, I_ITALIC is unrelated to the set_attributes ca- + pabilities. This implementation makes the assumption that + exit_attribute_mode may also reset italics. + XSI Curses added the new entry points, attr_get, attr_on, attr_off, attr_set, wattr_on, wattr_off, wattr_get, wat- tr_set. These are intended to work with a new series of - highlight macros prefixed with WA_. - - Older versions of this library did not force an update of - the screen when changing the attributes. Use touchwin to + highlight macros prefixed with WA_. The older macros have + direct counterparts in the newer set of names: + + Name Description + ------------------------------------------------------------ + WA_NORMAL Normal display (no highlight) + WA_STANDOUT Best highlighting mode of the terminal. + WA_UNDERLINE Underlining + WA_REVERSE Reverse video + WA_BLINK Blinking + WA_DIM Half bright + WA_BOLD Extra bright or bold + WA_ALTCHARSET Alternate character set + + Older versions of this library did not force an update of + the screen when changing the attributes. Use touchwin to force the screen to match the updated attributes. - WA_NORMAL Normal display (no highlight) - WA_STANDOUT Best highlighting mode of the terminal. - WA_UNDERLINE Underlining - WA_REVERSE Reverse video - WA_BLINK Blinking - WA_DIM Half bright - WA_BOLD Extra bright or bold - WA_ALTCHARSET Alternate character set - The XSI curses standard specifies that each pair of corre- - sponding A_ and WA_-using functions operates on the same + sponding A_ and WA_-using functions operates on the same current-highlight information. The XSI standard extended conformance level adds new high- lights A_HORIZONTAL, A_LEFT, A_LOW, A_RIGHT, A_TOP, A_VER- - TICAL (and corresponding WA_ macros for each) which this - implementation does not yet support. + TICAL (and corresponding WA_ macros for each). As of Au- + gust 2013, no known terminal provides these highlights + (i.e., via the sgr1 capability).