www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/02/09/11:30:07

From: Thomas Dickey <dickey AT saltmine DOT radix DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Color functions missing from PDcurses
Date: 9 Feb 2003 16:29:16 GMT
Organization: RadixNet Internet Services
Lines: 23
Message-ID: <b25vks$p8e$1@news1.radix.net>
References: <OJ81a.6707$kz5 DOT 654561 AT news1 DOT east DOT cox DOT net>
NNTP-Posting-Host: saltmine.radix.net
User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (SunOS/5.8 (sun4u))
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019