Skip site navigation (1) Skip section navigation (2)

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 (view raw, whole thread or download thread mbox)
Lists: pgsql-generalpgsql-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.



pgsql-interfaces by date

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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group