terminal psql: wrong console keystrokes

From: Nico <nicod(at)tiscalinet(dot)it>
To: pgsql-general(at)postgresql(dot)org
Subject: terminal psql: wrong console keystrokes
Date: 2001-02-17 14:25:09
Message-ID: 01021715250900.02205@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-interfaces

Through Konsole, the Up, Down, Left, Right keys work properly, but through
psql the keystrokes seem to be wrong:
instead of up (for scrolling in the internel buffer) it appears ^[[A
Down ^[[B
Right ^[[C
Left ^[[D
Back_del (ok)
Forward_del ^[[3~

It happened when I upgraded Mandrake from 7.1 to 7.2 (Linux 2.2.17-21mdksmp
i686), postgresql 7.0.2 from Mandrake RPM.
Where should I look at? I tried the following keyboard settings:
Linux console, xterm, vt100, vt420pc
but no-one works properly.

thanks!

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2001-02-17 14:30:30 Re: Annotatable on-line documentation
Previous Message Bruce Momjian 2001-02-17 14:20:42 Last day for O'Reilly proposals

Browse pgsql-interfaces by date

  From Date Subject
Next Message Katsuyuki Tanaka 2001-02-18 04:27:47 IPC Shared Memory
Previous Message Timothy J Hitchens 2001-02-16 22:56:10 Timestamp Update with PHP