[llvm] r187874 - Add support for linking against a curses library when available and

Richard legalize at xmission.com
Wed Aug 7 13:54:59 PDT 2013


In article <CAHnXoamHr48T=q4Zs-pMuvNG4MUnuMzkDRiUSNzJAAHanHRq4w at mail.gmail.com>,
    Sean Silva <silvas at purdue.edu> writes:

> On Wed, Aug 7, 2013 at 12:19 PM, Richard <legalize at xmission.com> wrote:
> 
> > (Background: I'm the creator of the terminals wiki, linked in my
> > signature, and I probably know way too much about terminals, escape
> > codes, curses, termcap, etc., than any sane person should know :-).
> > Amazingly enough, I have quite a bit of company in that box of insane
> > persons.)
> 
> Do you have any idea if it would be too much code to detect the presence of
> color terminals ourselves? (e.g. just hardcoding the small(?) amount of
> specific functionality we need to detect color support and nothing else)

Unfortunately there isn't any widespread standard for this, which is
the raison d'etre of terminfo in the first place.  Querying terminfo
for it is the best way to go IMO.
-- 
"The Direct3D Graphics Pipeline" free book <http://tinyurl.com/d3d-pipeline>
     The Computer Graphics Museum <http://computergraphicsmuseum.org>
         The Terminals Wiki <http://terminals.classiccmp.org>
  Legalize Adulthood! (my blog) <http://legalizeadulthood.wordpress.com>



More information about the llvm-commits mailing list