+ <B>slk_attr</B>
+ returns the attribute used for the soft keys.
+
+ <B>slk_attroff</B>, <B>slk_attron</B>, <B>slk_clear</B>, <B>slk_noutrefresh</B>, <B>slk_refresh</B>,
+ <B>slk_touch</B>
+ return an error if the terminal or the softkeys were not ini-
+ tialized.
+
+ <B>slk_attrset</B>
+ returns an error if the terminal or the softkeys were not ini-
+ tialized.
+
+ <B>slk_attr_set</B>
+ returns an error if the terminal or the softkeys were not ini-
+ tialized, or the color pair is outside the range 0..COL-
+ OR_PAIRS-1.
+
+ <B>slk_color</B>
+ returns an error if the terminal or the softkeys were not ini-
+ tialized, or the color pair is outside the range 0..COL-
+ OR_PAIRS-1.
+
+ <B>slk_init</B>
+ returns an error if the format parameter is outside the range
+ 0..3.
+
+ <B>slk_label</B>
+ returns <B>NULL</B> on error.
+
+ <B>slk_set</B>
+ returns an error if the terminal or the softkeys were not ini-
+ tialized, or the <I>labnum</I> parameter is outside the range of label
+ counts, or if the format parameter is outside the range 0..2,
+ or if memory for the labels cannot be allocated.
+
+
+</PRE><H2><a name="h2-HISTORY">HISTORY</a></H2><PRE>
+ SVr3 introduced these functions:
+ slk_clear
+ slk_init
+ slk_label
+ slk_noutrefresh
+ slk_refresh
+ slk_restore
+ slk_set
+ slk_touch
+
+ SVr4 added these functions:
+ slk_attroff
+ slk_attron
+ slk_attrset
+ slk_start
+
+ X/Open Curses added these:
+ slk_attr_off
+ slk_attr_on
+ slk_attr_set
+ slk_color
+ slk_wset
+
+
+</PRE><H2><a name="h2-EXTENSIONS">EXTENSIONS</a></H2><PRE>
+ X/Open Curses documents the <I>opts</I> argument as reserved for future use,
+ saying that it must be null. This implementation uses that parameter
+ in ABI 6 for the functions which have a color-pair parameter to support
+ extended color pairs.
+
+ For functions which modify the color, e.g., <B>slk_attr_set</B>, if <I>opts</I> is
+ set it is treated as a pointer to <B>int</B>, and used to set the color
+ pair instead of the <B>short</B> pair parameter.
+
+
+</PRE><H2><a name="h2-NOTES">NOTES</a></H2><PRE>
+ Most applications would use <B>slk_noutrefresh</B> because a <B>wrefresh</B> is like-
+ ly to follow soon.
+
+
+</PRE><H2><a name="h2-PORTABILITY">PORTABILITY</a></H2><PRE>
+ The XSI Curses standard, Issue 4, described the soft-key functions,
+ with some differences from SVr4 curses:
+
+ <B>o</B> It added functions like the SVr4 attribute-manipulation functions
+ <B>slk_attron</B>, <B>slk_attroff</B>, <B>slk_attrset</B>, but which use <B>attr_t</B> parame-
+ ters (rather than <B>chtype</B>), along with a reserved <I>opts</I> parameter.
+
+ Two of these new functions (unlike the SVr4 functions) have no pro-
+ vision for color: <B>slk_attr_on</B> and <B>slk_attr_off</B>.
+
+ The third function (<B>slk_attr_set</B>) has a color-pair parameter.
+
+ <B>o</B> It added <B>const</B> qualifiers to parameters (unnecessarily), and
+
+ <B>o</B> It added <B>slk_color</B>.
+
+ The format codes <B>2</B> and <B>3</B> for <B>slk_init</B> and the function <B>slk_attr</B> are
+ specific to ncurses.
+
+ X/Open Curses does not specify a limit for the number of colors and
+ color pairs which a terminal can support. However, in its use of <B>short</B>
+ for the parameters, it carries over SVr4's implementation detail for
+ the compiled terminfo database, which uses signed 16-bit numbers. This
+ implementation provides extended versions of those functions which use
+ <B>short</B> parameters, allowing applications to use larger color- and pair-
+ numbers.
+
+
+</PRE><H2><a name="h2-SEE-ALSO">SEE ALSO</a></H2><PRE>
+ <B><A HREF="curses.3X.html">curses(3X)</A></B>, <B><A HREF="curs_attr.3X.html">curs_attr(3X)</A></B>, <B><A HREF="curs_initscr.3X.html">curs_initscr(3X)</A></B>, <B><A HREF="curs_refresh.3X.html">curs_refresh(3X)</A></B>,
+ <B><A HREF="curs_variables.3X.html">curs_variables(3X)</A></B>.