Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 1997 13:48:32 +0400 (MSD)
From:      =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.ru>
To:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: modify termcap to support both A[FB] and S[fb]...
Message-ID:  <Pine.BSF.3.96.970405134306.288A-100000@nagual.ru>
In-Reply-To: <19970404235636.44208@hydrogen.nike.efn.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 4 Apr 1997, John-Mark Gurney wrote:

> > Sb (setb) stays as "set background color"
> > AB (setab) stays as "set ANSI background color"
> > 
> > similar things for Sf/AF
> 
> could you point me to the document which says this??  I like to make sure
> this is the case...  all terminfo_examples.doc says is:
> set_a_foreground                "setaf" str     "AF"
> or
> set_foreground                  "setf"  str     "Sf"

man terminfo in SVr4 and ncurses include/Caps (not FreeBSD version)

> > The difference is that S* entries could put any color (like user-defined)
> > while A* entries restricts to ANSI colors only.
> 
> hmm... but what about the terminals were you define the colors to be ansi
> colors (like I've almost done with my tek)...  also..  do you propose to
> make ALL applications understand the difference between the two??

I mean termcap way of redefining colors only (this capability usually
taking 3 parameters like RGB or HSL) 

> you CAN change the console's colors...  maybe not through anything that
> FreeBSD provides... but you can do this...

So, it will be your responsibility...

> also.. are you going to update ansi's entry too??

All incorrect Sf/Sb just changed to AF/AB, I don't add new ones.

-- 
Andrey A. Chernov
<ache@null.net>
http://www.nagual.ru/~ache/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970405134306.288A-100000>