Thread: ^[[A

^[[A

From
"Patrick Coulombe"
Date:
hi,

using pgsql 7.1 --enable-locale in psql :

when i hit the up key or down key to repeat last query i got this :
medias=# ^[[A (for the up key)
medias=# ^[[B (for the down key)

so i have to retype all query : boring !

any idea ?
patrick



Re: ^[[A

From
"postgresql"
Date:
No you appear to be missing the readline (history) app. I had the same
problem with mac osx. I corrected it by downloading and installing
readline (i think the version was 4.2).

Ted


-----Original Message-----
From: "Patrick Coulombe" <pcoulombe@mediacces.com>
To: <pgsql-novice@postgresql.org>
Date: Wed, 30 Jan 2002 13:54:24 -0500
Subject: [NOVICE] ^[[A

> hi,
>
> using pgsql 7.1 --enable-locale in psql :
>
> when i hit the up key or down key to repeat last query i got this :
> medias=# ^[[A (for the up key)
> medias=# ^[[B (for the down key)
>
> so i have to retype all query : boring !
>
> any idea ?
> patrick
>
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly