pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: color by default
Date: Wed, 1 Apr 2020 15:52:17 +0200
Message-ID: <71c8e1e4-9c3d-ef48-36fe-aae34b179639@2ndquadrant.com> (raw)
In-Reply-To: <20200330080816.GG43995@paquier.xyz>
References: <CAC+AXB04-NC6vF=c63EDp1G+c8n4uciZjeKMHY29LkBmZTebHA@mail.gmail.com>
	<20200303053101.GH32059@paquier.xyz>
	<20200320021557.GC1850@momjian.us>
	<20200321025522.GD10066@momjian.us>
	<6707.1584760507@sss.pgh.pa.us>
	<20200321032207.GE10066@momjian.us>
	<20200323050410.GE2900@paquier.xyz>
	<afc175cd-902b-3ee9-9cee-f709cadb9c23@2ndquadrant.com>
	<20200326063625.GG1471@paquier.xyz>
	<2fa9de54-68cd-b29f-1ed1-b6fea806039a@2ndquadrant.com>
	<20200330080816.GG43995@paquier.xyz>

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





view thread (34+ messages)  latest in thread

Message-ID: <71c8e1e4-9c3d-ef48-36fe-aae34b179639@2ndquadrant.com>
Permalink:  ../71c8e1e4-9c3d-ef48-36fe-aae34b179639@2ndquadrant.com/
Also on:    postgresql.org/message-id/71c8e1e4-9c3d-ef48-36fe-aae34b179639@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, michael@paquier.xyz, juanjo.santamaria@gmail.com
  Subject: Re: color by default
  In-Reply-To: <71c8e1e4-9c3d-ef48-36fe-aae34b179639@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox