bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with wattr_set()


From: Timothy Allen
Subject: Re: Trouble with wattr_set()
Date: Sat, 26 Jan 2019 14:54:12 +1100
User-agent: Evolution 3.30.4-1

On Fri, 2019-01-25 at 15:08 -0600, Bryan Christ wrote:
> I discovered that on Bionic, NCURSES_EXT_COLORS is not defined, but
> on Fedora 29 it is.  Would that matter?  I wouldn't see why it should
> since pair 766 (in my example) fits well within a short.  Or is
> NCURSES_EXT_COLORS is somehow relevant for anything greater than 8
> bits?

I'm not sure, myself.

The only mention of NCURSES_EXT_COLORS I can find in documentation is
in the NEWS file, where it just says that it means "extended colors"
are available:

https://github.com/ThomasDickey/ncurses-snapshots/blob/a9b714f69879e6e8313c116eeee474998e0583fe/NEWS#L5225

Searching for "extended colors" finds a paragraph in the INSTALL file,
which says that "extended colors" means supporting 88-colour or 256-
colour terminals, and is part of ABI 6:

https://github.com/ThomasDickey/ncurses-snapshots/blob/master/INSTALL#L1709

This confuses me, because I've definitely been using the xterm-256color 
terminfo entry for a lot longer than Debian has used ABI 6.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]