Re: FW: lack in psql console - Mailing list pgsql-general

From Juan Camilo Marín
Subject Re: FW: lack in psql console
Date
Msg-id 4f8cb78a0907010857h6ea21d59w67eddfb625c5d1fa@mail.gmail.com
Whole thread Raw
In response to FW: lack in psql console  ("Edmundo Robles L." <erobles@sensacd.com.mx>)
List pgsql-general
Hello .

The problem was fix it , it was a PROMPT1 issue, I was using color in the prompt ..

#\set PROMPT1 '%[%033[1;33;40m%]%n@%/%R%[%033[0m%#%] '

and I changed by

#\set PROMPT1 '%n@%/%R%[%033[0m%#%]'

and the problem was fixed :D

Thx to all! 

On Wed, May 13, 2009 at 8:27 PM, Edmundo Robles L. <erobles@sensacd.com.mx> wrote:
in the psql prompt try this:
\! stty sane



Ing. Edmundo Robles Lopez.
Analista Programador.

--




-----Original Message-----
From: pgsql-general-owner@postgresql.org on behalf of Juan Camilo Marín
Sent: Wed 5/13/2009 12:58 PM
To: Craig Ringer
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] lack in psql console

Hello Craig.

Thanks for your answer. I did what you say (use the default size of the
terminal) but the problem persist, the psql still start to write the new
senteces above the old one, it is to weird.

Best regards,

2009/5/10 Craig Ringer <craig@postnewspapers.com.au>

> Juan Camilo Marín wrote:
>
> > => select * from \d summary_table;
> >
> > The sentense start  after "=> select * from" I don't know why this is
> > happen.
>
> Probably a terminal emulation issue. Readline will be sending the wrong
> escape sequences to control your terminal or your terminal will be
> misbehaving somehow.
>
> A common cause of readline issues is resizing your terminal window. Try
> testing in a terminal window that's the default size. If that works OK,
> try resizing it while it's still running the shell, THEN start psql.
>
> --
> Craig Ringer
>



--
Life may only be understood backwards.... but it must be lived forwards


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



--
Life may only be understood backwards.... but it must be lived forwards

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Big Delete Consistently Causes a Crash
Next
From: johnf
Date:
Subject: Re: Python client + select = locked resources???