Re: Arrow keys do not work while using psql

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: pgsql-novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Arrow keys do not work while using psql
Date: 2007-08-07 14:25:02
Message-ID: 1186496702.11237.71.camel@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Tue, 2007-08-07 at 06:25 -0700, Angelica Garcia wrote:
> Hello *.
>
> 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.
>
> I am working in a SuSe Linux 9.1 PC and the arrow keys work just fine in
> Linux.
>
> Any hint will be appreciated.

Your particular version of PostgreSQL has apparently not been built with
readline support. This is a compile-time option.

--
Oliver Elphick olly(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA 92C8 39E7 280E 3631 3F0E 1EC0 5664 7A2F A543 10EA
========================================
Do you want to know God? http://www.lfix.co.uk/knowing_god.html

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Michael Glaesemann 2007-08-07 14:39:27 Re: Arrow keys do not work while using psql
Previous Message Tom Lane 2007-08-07 14:24:07 Re: Arrow keys do not work while using psql