Re: color by default

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-04-02T07:22:55Z
Lists: pgsql-hackers

Attachments

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

Commits

  1. Document color support