[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH] bright colors without bold
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] [PATCH] bright colors without bold |
Date: |
Sun, 11 Feb 2018 11:52:25 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
Op 09-02-18 om 23:02 schreef Brand Huntsman:
On Fri, 9 Feb 2018 20:13:03 +0100 Benno Schulenberg <address@hidden>
wrote:
It sets A_BOLD, yes, but on an 8-color terminal A_BOLD just brightens the
color, it doesn't change the character to use boldface. At least, as far as
I can see on my Linux console, where A_BOLD only brightens white, not the
other colors.
So because your terminal doesn't bold, no other 8-color only terminals are
capable of bold?
Do you know of any?
But even if you do, the comment isn't right: often the effect of A_BOLD
is to make the color brighter, not to show the character in boldface.
The default linux console colors defined in the kernel are easily
distinguishable, perhaps your distro has modified them in
/sys/module/vt/parameters.
cat /sys/module/vt/parameters/default_[bgr]*
$ cat /sys/module/vt/parameters/default_[bgr]*
1,43,74,6,184,113,233,204,128,0,0,0,255,255,255,255
1,56,181,199,111,38,181,204,128,0,255,255,0,0,255,255
1,222,57,255,0,118,44,204,128,255,0,255,0,255,0,255
For red and blue, I have to put my nose to the screen to see the
difference between normal and bright. For yellow, green, cyan,
and magenta the difference is obvious.
Benno