Newsgroups: comp.unix.sysv386
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!digibd!rick
From: rick@digibd.com (Rick Richardson)
Subject: Re: Screen colors & terminfo trivia
Organization: DigiBoard Incorporated, Eden Prairie, MN
Date: Tue, 04 Jun 91 23:23:48 GMT
Message-ID: <1991Jun04.232348.24473@digibd.com>
References: <7667@spdcc.SPDCC.COM> <1991May30.095028.15797@grep.co.uk>

>In article <7667@spdcc.SPDCC.COM> rbraun@spdcc.COM (Rich Braun) writes:
>>I want this thing to be portable across Unix platforms, and am
>>therefore using terminfo routine calls.

You can do colors with SVR3.2 and later ETI (was curses).  The
code is source code portable across various 386 SVR3.2's, but not
binary portable, unless you are willing to tolerate arbitrary
changes to the color scheme.

This is because SCO changed the COLOR_XXX #define values from the
*documented* set in the ETI Programmers Guide to a set that matches
some ISO color numbering scheme.  This also means that terminfo entries
for color terminals are different for SCO.

-Rick
-- 
Rick Richardson		Email: rick@digibd.com
Senior MTS		Fax: (612) 943-0803
DigiBoard, Inc.		Tel: (612) 943-5383
