From xemacs-m  Thu Aug 28 12:26:02 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id MAA09431
	for <xemacs-beta@xemacs.org>; Thu, 28 Aug 1997 12:25:42 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.7/8.8.7) id KAA07329;
	Thu, 28 Aug 1997 10:30:20 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: Small color patch
References: <Pine.SCO.3.96.970827155558.1822A-100000@hyperion.pdev.sco.com> <QQdeoj04981.199708281516@crystal.WonderWorks.COM>
X-Face: `'%\i;ySOu]g?NlziJSk_$&@]KP`}~PEQPjZ5;nxSaDW_o$4+4%Ab]%Ifw3ZR;7TIT3,O,'
 @2{L;]ox6kc;$_5kU'n**9vFg-]eV~GbxSVCx|(s%uR[],*:^WKmC`B}(;|k9/m]gwt?&`t;^rfCJg
 khHH>pP1W\)xM0U@!FNDD72{3fDP$PkBhx^7Z?-WxH6DbFN:QOnT`llzW}VGdYv;n9lzljQvKTIBhQ
 YuV
X-Attribution: sb
From: SL Baur <steve@xemacs.org>
In-Reply-To: Kyle Jones's message of "Thu, 28 Aug 1997 11:16:53 -0400 (EDT)"
Mime-Version: 1.0 (generated by tm-edit 7.108)
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Date: 28 Aug 1997 10:30:19 -0700
Message-ID: <m2n2m21ahg.fsf@altair.xemacs.org>
Lines: 26
X-Mailer: Gnus v5.4.65/XEmacs 20.3(beta19) - "Kiev"

Kyle Jones <kyle_jones@wonderworks.com> writes:

> J. Kean Johnston writes:
>> Below is a small patch to allow XEmacs to better detect whether or not a
>> user is sitting on a color TTY.

> Briefly describe the "Sf", "Sb", "Co" and "pa" capabilities and
> which systems that have them.

They're documented in the terminfo manpage.  I don't know which other
systems have them, but they look reasonable to me.

   set_foreground                setf      Sf              Set  foreground
                                                           color #1

   set_background                setb      Sb              Set  background
                                                           color #1

             max_colors            colors   Co        maximum  num
                                                      bers of  col
                                                      ors on screen

             max_pairs             pairs    pa        maximum  num
                                                      ber of color-
                                                      pairs on  the
                                                      screen

