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 16:34:03 +0100	[thread overview]
Message-ID: <b4d77b97-5cc2-6a46-8c8b-1ee609291b60@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>

Thanks. Patch applied.

Cheers,

Michael

> ---
>  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
>  40	set black background
>  41	set red background
>  42	set green background
> @@ -281,9 +281,20 @@ T}
>  45	set magenta background
>  46	set cyan background
>  47	set white background
> +48	256/24-bit background color follows, shoehorned into 8 basic colors
>  49	set default background color
>  .TE
>  .PP
> +Commands 38 and 48 require further arguments:
> +.TS
> +l l.
> +;5;x	T{
> +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
> +.TE
> +.PP
>  .B ECMA-48 Mode Switches
>  .TP
>  ESC [ 3 h
> 


-- 
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 15:34 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   ` Michael Kerrisk (man-pages) [this message]
2020-02-07 16:26   ` [PATCH 2/3] console_codes.4: \e[38m and \e[48m Michael Kerrisk (man-pages)
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=b4d77b97-5cc2-6a46-8c8b-1ee609291b60@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).