console_codes.4: Minor tweaks to Adam Borowski's patches

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-02-07 17:26:21 +01:00
parent 40fe605beb
commit cb83181db3
1 changed files with 8 additions and 3 deletions

View File

@ -259,7 +259,8 @@ causes the high bit of a byte to be toggled
before the mapping table translation is done.
T}
21 T{
set underline (<4.17 and many other terminals set normal intensity)
set underline; before Linux 4.17, this value
set normal intensity (as is done in many other terminals)
T}
22 set normal intensity
24 underline off
@ -275,8 +276,12 @@ T}
37 set white foreground
38 T{
256/24-bit foreground color follows, shoehorned into 16 basic colors
(before Linux 3.16: set underscore on, set default foreground color)
T}
39 T{
set default foreground color
(before Linux 3.16: set underscore off, set default foreground color)
T}
39 set default foreground color
40 set black background
41 set red background
42 set green background
@ -300,7 +305,7 @@ l l.
256 color: values 0..15 are IBGR (black, red, green, ... white),
16..231 a 6x6x6 color cube, 232..255 a grayscale ramp
T}
;2;r;g;b 24-bit color, components go 0..255
;2;r;g;b 24-bit color, r/g/b components are in the range 0..255
.TE
.PP
.B ECMA-48 Mode Switches