Mail Archives: djgpp/2003/02/09/11:30:07
Jason Kircher <cdrradar AT hold DOT odiferous DOT titilating DOT mail DOT com> wrote:
> When I tried to port a curses app from Linux, it complained about not
> seeing _wcolor_set. Based on the curs_attr man page, it's a standard
> function across XSI Curses Standard v4. Am I missing something, or is
> PDcurses broke in this regard?
PDcurses doesn't implement X/Open curses - it implements SVr3 rather than SVr4.
> Which leaves the question, without wcolor_set() (and it's macro
> color_set() ), how do you do color?
probably by reading PDCurses' header file and seeing what it supports.
> The project in question is at sourceforge.net called abcp. Compiles and
> runs fine under Linux.
lots of linux code is written without consideration for portability
(the same can be said for most software).
--
Thomas E. Dickey <dickey AT radix DOT net> <dickey AT herndon4 DOT his DOT com>
http://dickey.his.com
ftp://dickey.his.com
- Raw text -