nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] index/RGB colors and italic/reverse/underline a


From: David Ramsey
Subject: Re: [Nano-devel] [PATCH] index/RGB colors and italic/reverse/underline attributes
Date: Wed, 28 Feb 2018 13:12:24 -0600

Brand Huntsman:
> This is all ansi color, no curses. :)
>
> https://en.wikipedia.org/wiki/ANSI_escape_code
>
> I knew nothing beyond the basic 3x/4x and bold/reverse/underline/reset
> codes until I read that page. Like most things in programming, writing
> the patches forced me to learn.

Good to know, then :)

> The attached script will display the entire color palette.

Thank you.

> The last block of colors should always be grayscale. You have a broken
> TERM value if it is all blue/green colors.

Verified; there's only a tiny band of reddish-purple in the broken
palette from 52-57 inclusive.

> If you run it in a real 256 term and a 256 term pretending to be an 88
> term, you will see that every color in the 88 term is in the first two
> blocks on the 256 term.

Okay.  I've rebuilt rxvt-unicode without 256-color support, and yes, the
colors in my scheme do come out a bit brighter, but they're still
recognizable, so that's fine.  Your (very much grey) scheme works as
well, although you've probably tested that yourself already :)



reply via email to

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