Thanks for the input everyone. I'll try to comment on each discussion point:
1) garbled output in large queries
I messed around with a few things, and have not been able to recreate any issues. Can you provide a test case for this? Also, any other interesting things about your terminal, like your $TERM setting, locale, etc. (I'm using xterm with UTF-8, and KDE's Konsole app)1) garbled output in large queries
But again, I think the more elegant approach is to alter the %M logic.
On Mon, Apr 25, 2016 at 9:39 AM, Francisco Olarte <folarte@xxxxxxxxxxxxxx> wrote:
Hi:
On Mon, Apr 25, 2016 at 4:04 PM, Achilleas Mantzios
<achill@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Hello, have done that, looked really nice, but unfortunately this resulted
> in a lot of garbled output, in case of editing functions, huge queries, up
> arrows, etc...
Did you use %[ %] to delimit non-printing sequences as Cal did? I've
tested his prompt ( substituting 'echo tarari' for his sh script ) and
it works fine ( at least in xfce4-terminal / ubuntu / 6 terminal lines
long input line ). I've seen a lot of color prompts worked by
forgetting them ( even when the doc for them specially speaks of color
changes ).
Frnacisco Olarte.
--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general