From: Yukihiro Matsumoto Date: 2005-02-09T08:07:17+09:00 Subject: Re: [PATCH] add color_set support to curses.c Hi, In message "Re: [PATCH] add color_set support to curses.c" on Wed, 9 Feb 2005 06:04:15 +0900, Paul Duncan writes: |> Do you know whether wcolor_set is available when USE_COLOR is defined? | |Err, USE_COLOR is defined in curses.c. If you're asking whether or not |it's available in standard curses, here's what I got from the |man page: | | PORTABILITY | All these functions are supported in the XSI Curses standard, | Issue 4. The standard defined the dedicated type for | highlights, attr_t, which is not defined in SVr4 curses. The | functions taking attr_t arguments are not supported under SVr4. | |Anyway, I think I see where you're going with this line of questions, so |I went ahead and redid the patch so Curses::Window#color_set only exists |if USE_COLOR is defined. That's exactly what I wanted to know. Thank you. |Patch is attached. I will merge the patch. matz.