[Top][All Lists]

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

Re: [Lynx-dev] styling of colour pairs

From: Thomas Dickey
Subject: Re: [Lynx-dev] styling of colour pairs
Date: Thu, 12 Nov 2020 19:26:04 -0500
User-agent: NeoMutt/20170113 (1.7.2)

On Wed, Nov 11, 2020 at 02:45:14AM +0000, Thorsten Glaser wrote:
> Hi,
> I would like to style some colour pairs in xterm a bit
> differently from others.
> I have these resources (among others):
> XTerm*VT100*color0:             rgb:00/00/00
> XTerm*VT100*color4:             rgb:00/00/AA
> XTerm*VT100*color7:             rgb:AA/AA/AA
> XTerm*VT100*color8:             rgb:55/55/55
> XTerm*VT100*color12:            rgb:55/55/FF
> XTerm*VT100*color15:            rgb:FF/FF/FF
> The combination of blue on black, whether bright blue
> or not, is not very legible:
> printf '\033[0;34;40m foo \033[1m bar \033[0m\n'
> The “bar” is bright enough, but the “foo” is illegible
> to the extent I changed lynx’ and jupp’s styles for
> lss and syntax highlighting to avoid blue-on-black. On
> the other hand, this blue is perfectly fine as background
> colour, such as:
> printf '\033[0;1;33;44m baz \033[0m\n'
> In fact, it *must not* be any brighter there.
> Can you please add the ability to style colour pairs
> to xterm, so that I can add suitable Xresources entries
> to style (4,0) and (12,0) differently from the normal
> colour4 and colour12?

I don't understand what you are asking, since the existing set of
applications running in a terminal are able (or could be altered)
to choose their own color palettes.

Incidentally, since patch #357, xterm has the ability to switch
rapidly between palettes (but of course, it'll be "a while" before
others copy the feature).

Thomas E. Dickey <>

Attachment: signature.asc
Description: PGP signature

reply via email to

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