pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
psql doesn't recognize some keys
4+ messages / 4 participants
[nested] [flat]

* psql doesn't recognize some keys
@ 2001-03-23 13:35  Simone Tellini <tellini@areabusiness.it>
  0 siblings, 3 replies; 4+ messages in thread

From: Simone Tellini @ 2001-03-23 13:35 UTC (permalink / raw)
  To: pgsql-admin

Hi,

I've got a problem with psql on my home box: it doesn't recognize the
arrow keys nor the backspace and probably other keys as well.

I've compiled it from the sources, as I did on another server, where it
works correctly. The termcaps should be the same on both the machines,
so I'm a bit clueless now (the only difference is that the working one
is using Mandrake 7.0, while my home box has 7.2)

Is there anything I could check or any switch to set?

-- 
Simone Tellini <tellini@areabusiness.it>




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: psql doesn't recognize some keys
@ 2001-03-23 14:54  David Wetzel <dave@turbocat.de>
  parent: Simone Tellini <tellini@areabusiness.it>
  2 siblings, 0 replies; 4+ messages in thread

From: David Wetzel @ 2001-03-23 14:54 UTC (permalink / raw)
  To: Simone Tellini <tellini@areabusiness.it>; +Cc: pgsql-admin

Simone Tellini wrote:

> I've got a problem with psql on my home box: it doesn't recognize the
> arrow keys nor the backspace and probably other keys as well.

It was either libreadline or libhistory or both.

Dave
   _  _
 _(_)(_)_  David Wetzel, Turbocat's Development,
(_) __ (_) Buchhorster Strasse 23, D-16567 Muehlenbeck/Berlin, FRG,
  _/  \_   Fax +49 33056 82835 Mail dave@turbocat.de
 (______)  http://www.turbocat.de/
           DEVELOPMENT * CONSULTING * ADMINISTRATION




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: psql doesn't recognize some keys
@ 2001-03-23 15:48  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Simone Tellini <tellini@areabusiness.it>
  2 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2001-03-23 15:48 UTC (permalink / raw)
  To: Simone Tellini <tellini@areabusiness.it>; +Cc: pgsql-admin

Simone Tellini <tellini@areabusiness.it> writes:
> I've got a problem with psql on my home box: it doesn't recognize the
> arrow keys nor the backspace and probably other keys as well.

Install libreadline (headers too; you will need the devel RPM),
reconfigure, rebuild psql.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: psql doesn't recognize some keys
@ 2001-03-26 18:00  Björn Lundin <bjorn.lundin@swipnet.se>
  parent: Simone Tellini <tellini@areabusiness.it>
  2 siblings, 0 replies; 4+ messages in thread

From: Björn Lundin @ 2001-03-26 18:00 UTC (permalink / raw)
  To: pgsql-admin

Simone Tellini wrote:

> Hi,
> 
> I've got a problem with psql on my home box: it doesn't recognize the
> arrow keys nor the backspace and probably other keys as well.
> 
> I've compiled it from the sources, as I did on another server, where it
> works correctly. The termcaps should be the same on both the machines,
> so I'm a bit clueless now (the only difference is that the working one
> is using Mandrake 7.0, while my home box has 7.2)
> 
> Is there anything I could check or any switch to set?
> 

this is an issue I've also experienced with Mandrake 7.2, but at some page 
at postgre's website, this was listed as a known error.
Solution is to run 7.0.3, and it's easy to migrate.

Björn




^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2001-03-26 18:00 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-03-23 13:35 psql doesn't recognize some keys Simone Tellini <tellini@areabusiness.it>
2001-03-23 14:54 ` David Wetzel <dave@turbocat.de>
2001-03-23 15:48 ` Tom Lane <tgl@sss.pgh.pa.us>
2001-03-26 18:00 ` Björn Lundin <bjorn.lundin@swipnet.se>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox