Re: back space key and arrows keys

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Elielson Fontanezi <ElielsonF(at)prodam(dot)sp(dot)gov(dot)br>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: back space key and arrows keys
Date: 2002-07-29 14:18:51
Message-ID: 20020729071457.D92453-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 29 Jul 2002, Elielson Fontanezi wrote:

> Hello!
>
> How can I configure the back space key and arrows keys to
> work well inside psql, avoiding thinks like that:
>
> zakal$ psql
> Welcome to psql, the PostgreSQL interactive terminal.
>
> Type: \copyright for distribution terms
> \h for help with SQL commands
> \? for help on internal slash commands
> \g or terminate with semicolon to execute query
> \q to quit
>
> zakal=# select 1 + 3; ^H^[[D^[[A^[[C
>
> See the funny thimbols?
> Is there any postgres file to configure that?

You need to have readline and probably the readline development
headers (if you're planning to recompile), re-run configure
and see what it says about readline (if it doesn't find it, you
will probably need to explicitly give it the include and library
paths) and then rebuild.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Elielson Fontanezi 2002-07-29 14:18:58 message issued by INSERT commands
Previous Message Elielson Fontanezi 2002-07-29 14:08:25 back space key and arrows keys