Re: Colors Suck.

[prev] [thread] [next] [lurker] [Date index for 2005/09/09]

From: David Champion
Subject: Re: Colors Suck.
Date: 22:02 on 09 Sep 2005
* On 2005.09.09, in <20050909195846.GC16084@xxxxxxxx.xxxxxxxx.xx.xx>,
*	"David Cantrell" <david@xxxxxxxx.xxx.xx> wrote:
> 
> Lots and lots of others too.  I kinda assumed that the curses library
> should handle all that, but if I read Brother Champion correctly, it's
> at least partially up to the application.  And if that's the case, some
> curses library person needs shootin'.

Or at least it can be.  I suspect you *can* leave this wholly up to the
library, but if so, it's not required.  I'm no expert on curses, but
I've seen more than one app that just blithely prints \033[34m whenever
it wants blue, and I know that curses has a set of routines for judging
the terminal's color capabilities -- see curs_color(3,3CURSES,3x,etc),
and insert a placeholder hate for all the idiot man command variations
and the disagreement on what a "section" means.

And, yes, guiltily I have written such applications.  Why?  Because
curses is a PITA, and curses from, say, perl even moreso.  And nobody
uses my code either.

-- 
 -D.    dgc@xxxxxxxx.xxx        NSIT    University of Chicago
There's stuff above here

Generated at 17:00 on 10 Sep 2005 by mariachi 0.52