Re: Adding terminal title support for psqlrc

2018-08-02 Thread ik
Thank you, it works :) https://github.com/ik5/dotfiles/blob/master/psqlrc On Wed, Aug 1, 2018 at 9:15 PM, Adrian Klaver wrote: > On 08/01/2018 10:55 AM, ik wrote: > >> hi, >> >> Thank you, it does not effect the terminal title. >> >> As Adrian answered me, it is not supported :/ >> > > I was wr

Re: Adding terminal title support for psqlrc

2018-08-01 Thread Adrian Klaver
On 08/01/2018 10:55 AM, ik wrote: hi, Thank you, it does not effect the terminal title. As Adrian answered me, it is not supported :/ I was wrong: https://petereisentraut.blogspot.com/2009/09/how-to-set-xterm-titles-in-psql.html To get this to work in Konsole I had to edit the profile to h

Re: Adding terminal title support for psqlrc

2018-08-01 Thread ik
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 wrote: > ik writes: > > Is there a way to add terminal title information for psqlrc that cn > display > > what schema I am, operation that is execute

Re: Adding terminal title support for psqlrc

2018-08-01 Thread Tom Lane
ik 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 tit

Re: Adding terminal title support for psqlrc

2018-08-01 Thread Adrian Klaver
On 08/01/2018 01:52 AM, ik wrote: Hello, 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? Are you referring to the title bar for something like an Konsole? If so then no. If not then what title are y

Adding terminal title support for psqlrc

2018-08-01 Thread ik
Hello, 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? Thank you