]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
console_codes.4: Minor tweaks to Adam Borowski's patches
authorMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 7 Feb 2020 16:26:21 +0000 (17:26 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 7 Feb 2020 16:26:21 +0000 (17:26 +0100)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man4/console_codes.4

index 82a71d28b8d25e0b12aa777954152b638fa02772..33eb6b53c69e829728fb6a18b3cc44ad40cef739 100644 (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