Re: Adding terminal title support for psqlrc

From: ik <idokan(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Adding terminal title support for psqlrc
Date: 2018-08-01 17:55:46
Message-ID: CAOccsKCnSCQBKm9Ypw_pcxgemdtbAy59chTcMrnd6hnsUvrYdQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

hi,

Thank you, it does not effect the terminal title.

As Adrian answered me, it is not supported :/

On Wed, Aug 1, 2018 at 4:47 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> ik <idokan(at)gmail(dot)com> writes:
> > Is there a way to add terminal title information for psqlrc that cn
> display
> > what schema I am, operation that is execute and stuff like that?
>
> Most terminal programs recognize escape sequences to set the window
> title. So you could set values for PROMPTn that cause updates in
> the title. There's an example in
>
> https://www.postgresql.org/docs/devel/static/app-psql.
> html#APP-PSQL-PROMPTING
>
> although it's just talking about a color change.
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2018-08-01 18:15:13 Re: Adding terminal title support for psqlrc
Previous Message Vik Fearing 2018-08-01 17:16:40 Re: Template0 datfrozenxid age is 160million and progressing