linux-man.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>
To: Adam Borowski <kilobyte@angband.pl>, linux-man@vger.kernel.org
Cc: mtk.manpages@gmail.com
Subject: Re: [PATCH 2/3] console_codes.4: \e[38m and \e[48m
Date: Fri, 7 Feb 2020 17:26:09 +0100	[thread overview]
Message-ID: <89fad223-3e6c-2b65-17ce-a4e19e45ff32@gmail.com> (raw)
In-Reply-To: <20190308194059.9560-2-kilobyte@angband.pl>

Hello Adam,

On 3/8/19 8:40 PM, Adam Borowski wrote:
> Supported since cec5b2a9 (3.16).
> 
> Signed-off-by: Adam Borowski <kilobyte@angband.pl>
> ---
>  man4/console_codes.4 | 15 +++++++++++++--
>  1 file changed, 13 insertions(+), 2 deletions(-)
> 
> diff --git a/man4/console_codes.4 b/man4/console_codes.4
> index d605b058d..4283efe45 100644
> --- a/man4/console_codes.4
> +++ b/man4/console_codes.4
> @@ -271,8 +271,8 @@ T}
>  35	set magenta foreground
>  36	set cyan foreground
>  37	set white foreground
> -38	set underscore on, set default foreground color
> -39	set underscore off, set default foreground color
> +38	256/24-bit foreground color follows, shoehorned into 16 basic colors
> +39	set default foreground color

So here, I think it's important to retain the historical info, so
I made this text:

       38        256/24-bit foreground color follows, shoehorned  into  16
                 basic  colors  (before Linux 3.16: set underscore on, set
                 default foreground color)
       39        set default foreground  color  (before  Linux  3.16:  set
                 underscore off, set default foreground color)

Okay?

Thanks,

Michael


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

  parent reply	other threads:[~2020-02-07 16:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20190308194059.9560-1-kilobyte@angband.pl>
2020-02-07 15:30 ` [PATCH 1/3] console_codes.4: \e[21m is now underline Michael Kerrisk (man-pages)
     [not found] ` <20190308194059.9560-3-kilobyte@angband.pl>
2020-02-07 15:35   ` [PATCH 3/3] console_codes.4: \e[90m to 97, 100 to 107 Michael Kerrisk (man-pages)
     [not found] ` <20190308194059.9560-2-kilobyte@angband.pl>
2020-02-07 15:34   ` [PATCH 2/3] console_codes.4: \e[38m and \e[48m Michael Kerrisk (man-pages)
2020-02-07 16:26   ` Michael Kerrisk (man-pages) [this message]
2020-02-07 20:07     ` Adam Borowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=89fad223-3e6c-2b65-17ce-a4e19e45ff32@gmail.com \
    --to=mtk.manpages@gmail.com \
    --cc=kilobyte@angband.pl \
    --cc=linux-man@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).