Re: color by default - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: color by default
Date
Msg-id 71c8e1e4-9c3d-ef48-36fe-aae34b179639@2ndquadrant.com
Whole thread Raw
In response to Re: color by default  (Michael Paquier <michael@paquier.xyz>)
Responses Re: color by default  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On 2020-03-30 10:08, Michael Paquier wrote:
> 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.

Do you have a specific phrasing or look in mind?

>> 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.

Yeah, we could perhaps do this.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: color by default
Next
From: Robert Haas
Date:
Subject: Re: snapshot too old issues, first around wraparound and then more.