Re: color by default - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: color by default
Date
Msg-id 20200330080816.GG43995@paquier.xyz
Whole thread Raw
In response to Re: color by default  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: color by default  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
On Sun, Mar 29, 2020 at 11:56:15AM +0200, Peter Eisentraut wrote:
> I didn't do this because it would create additional complications in the man
> pages.  But there is now an index entry, so it's possible to find more
> information.

Cannot you add a link to the page for color support in each one of
them?  That seems more user-friendly to me.

> I'm not sure how to do that.  The full list of possible values is huge, and
> exactly what is supported depends on the terminal.

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.

> Committed with those changes.  This closes the commit fest item.

Thanks for the addition.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Julien Rouhaud
Date:
Subject: Re: Planning counters in pg_stat_statements (using pgss_store)
Next
From: Peter Eisentraut
Date:
Subject: Re: Improve handling of parameter differences in physical replication