Re: psql and Gnu readline

From: "J(dot)R(dot) Belding" <jrbelding(at)yahoo(dot)com>
To: Erich <hh(at)cyberpass(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: psql and Gnu readline
Date: 2000-07-12 18:13:20
Message-ID: 396CB540.12A76E9E@yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I had this same problem. Thanks to a suggestion from Bruce Momjian, I
noticed that the configure script was not finding the readline
libraries. I checked, and found that though I did have the readline
package installed, I did not have the readline-devel package installed.
Once I installed that package, the configure script found readline and
after recompiling everything works fine.

Erich wrote:
>
> I've just installed PostgreSQL 7.02 on my OpenBSD box. Everything is
> working fine. I made sure to link in gnu readline in psql. It seems
> to be working, because I can edit a line. For instance, Ctl-A takes
> me to the beginning of a line, Ctl-K kills it, etc. However, Ctl-P
> doesn't go up a line, so I can't access previous lines, and lines are
> not saved in the .psql_history file which is mentioned on the man
> page.
>
> Any idea what to do? Line editing is so handy to have in something
> like this.
>
> Thanks,
>
> e

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Harvey Chapman 2000-07-12 18:26:36 psql \i
Previous Message Tom Lane 2000-07-12 18:09:07 Re: listen/notify