[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH] bright colors without bold
From: |
Brand Huntsman |
Subject: |
Re: [Nano-devel] [PATCH] bright colors without bold |
Date: |
Fri, 9 Feb 2018 15:02:58 -0700 |
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?
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]*
echo -n "0,170,0,170,0,170,0,170,85,255,85,255,85,255,85,255" >
/sys/module/vt/parameters/default_red
echo -n "0,0,170,85,0,0,170,170,85,85,255,255,85,85,255,255" >
/sys/module/vt/parameters/default_grn
echo -n "0,0,0,0,170,170,170,170,85,85,85,85,255,255,255,255" >
/sys/module/vt/parameters/default_blu
Then `tput reset` each console. Add the three echos to a boot script to survive
a reboot.