Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g1GHehE85299 for ; Sat, 16 Feb 2002 12:40:43 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g1GHemf20319; Sat, 16 Feb 2002 12:40:48 -0500 (EST) To: "Josh Berkus" cc: pgsql-novice@postgresql.org Subject: Re: Psql & Readline In-reply-to: References: Comments: In-reply-to "Josh Berkus" message dated "Sat, 16 Feb 2002 08:38:05 -0800" Date: Sat, 16 Feb 2002 12:40:48 -0500 Message-ID: <20316.1013881248@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200202/148 X-Sequence-Number: 2998 "Josh Berkus" writes: > On one of my machines, psql will not allow me to use tab-completion > and > the "up" key to repeat commands. On other machines, this was because > I didn't have the "readline" library installed. However, this machine > does have it. What else am I missing? Did you build PG from source on that machine? If so, I'll bet that configure didn't find libreadline. You could check this by seeing if the psql executable references libreadline (try "ldd", or local equivalent, eg "chatr" on HPUX). The most common cause of this situation is that you installed the libreadline RPM but not the libreadline-devel RPM. You need both to build a readline-using app from source. regards, tom lane