Re: color by default

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: Juan José Santamaría Flecha <juanjo(dot)santamaria(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: color by default
Date: 2020-04-02 07:22:55
Message-ID: 20200402072255.GC112468@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Apr 01, 2020 at 03:52:17PM +0200, Peter Eisentraut wrote:
> On 2020-03-30 10:08, Michael Paquier wrote:
>> Cannot you add a link to the page for color support in each one of
>> them? That seems more user-friendly to me.
>
> Do you have a specific phrasing or look in mind?

I actually do. Please see the attached, which seems to bring more
consistency across all the docs for all the tools.

>> An idea is to add a reference to SGR parameters directly from
>> wikipedia:
>> https://en.wikipedia.org/wiki/ANSI_escape_code
>> However I recall that you don't like adding references to
>> Wiki-sensei. Please feel free to discard this idea if you don't like
>> it.
>
> Yeah, we could perhaps do this.

Actually, the standard ECMA-48 could just be directly used for that:
https://www.ecma-international.org/publications/standards/Ecma-048.htm

So, what do you think?
--
Michael

Attachment Content-Type Size
docs-color.patch text/x-diff 22.5 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro Horiguchi 2020-04-02 07:23:23 Re: [BUG] non archived WAL removed during production crash recovery
Previous Message Fujii Masao 2020-04-02 07:12:11 Re: Some problems of recovery conflict wait events