Skip site navigation (1) Skip section navigation (2)

Re: Arrow keys do not work while using psql

From: Michael Glaesemann <grzm(at)seespotcode(dot)net>
To: "Angelica Garcia" <doitviolet(at)hotmail(dot)com>
Cc: PostgreSQL Novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Arrow keys do not work while using psql
Date: 2007-08-07 14:39:27
Message-ID: 71E8BF64-1659-427A-A5B6-C88727E80EA1@seespotcode.net (view raw or flat)
Thread:
Lists: pgsql-novice
[Please start new threads with a new message. It appears you replied  
to a previous post and just changed the subject. This causes message  
threading issues in threaded mail clients and the mailing list  
archives.]

On Aug 7, 2007, at 8:25 , Angelica Garcia wrote:

> I have a small problem: While using psql the arrow keys neither  
> give command history nor move the cursor. They instead show  
> characters like: ^[[A.

It sounds like Postgres was built without readline (or libedit)  
support. You can use pg_config --libs to see if it was included. If  
not, I believe you need to rebuild Postgres including readline.

Michael Glaesemann
grzm seespotcode net



In response to

pgsql-novice by date

Next:From: Mary AndersonDate: 2007-08-07 18:50:13
Subject: casts for user defined types
Previous:From: Oliver ElphickDate: 2007-08-07 14:25:02
Subject: Re: Arrow keys do not work while using psql

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group