Re: FW: lack in psql console

From: Juan Camilo Marín <jmarin(at)gmail(dot)com>
To: "Edmundo Robles L(dot)" <erobles(at)sensacd(dot)com(dot)mx>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: FW: lack in psql console
Date: 2009-07-01 15:57:08
Message-ID: 4f8cb78a0907010857h6ea21d59w67eddfb625c5d1fa@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)%/%R%[%033[0m%#%] '

and I changed by

#\set PROMPT1 '%n(at)%/%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(at)sensacd(dot)com(dot)mx>wrote:

> in the psql prompt try this:
> \! stty sane
>
>
>
> Ing. Edmundo Robles Lopez.
> Analista Programador.
>
> --
>
>
>
>
> -----Original Message-----
> From: pgsql-general-owner(at)postgresql(dot)org on behalf of Juan Camilo Marín
> Sent: Wed 5/13/2009 12:58 PM
> To: Craig Ringer
> Cc: pgsql-general(at)postgresql(dot)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(at)postnewspapers(dot)com(dot)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(at)postgresql(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message johnf 2009-07-01 16:21:52 Re: Python client + select = locked resources???
Previous Message Tom Lane 2009-07-01 13:56:58 Re: Big Delete Consistently Causes a Crash