BUG #15748: arrow keys doesn't work

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

BUG #15748: arrow keys doesn't work

PG Bug reporting form
The following bug has been logged on the website:

Bug reference:      15748
Logged by:          Biruk Takele
Email address:      [hidden email]
PostgreSQL version: 10.3
Operating system:   linux
Description:        

the arrow keys write like this ^[[A, ^[[B, ^[[C, ^[[D The commands history
"is not working": meaning I cannot retrieve these
last commands I entered by hitting the top arrow key.
Instead, I have to type them again.
it happens on Linux PostgreSQL shell.
can you solve me this problem?

Reply | Threaded
Open this post in threaded view
|

Re: BUG #15748: arrow keys doesn't work

Christoph Berg-2
Re: PG Bug reporting form 2019-04-11 <[hidden email]>
> Operating system:   linux

Which Linux exactly? How did you install PostgreSQL?

> the arrow keys write like this ^[[A, ^[[B, ^[[C, ^[[D The commands history
> "is not working": meaning I cannot retrieve these
> last commands I entered by hitting the top arrow key.
> Instead, I have to type them again.
> it happens on Linux PostgreSQL shell.
> can you solve me this problem?

Usually this just means that the $TERM variable in your shell doesn't
match the terminal you are really using.

Christoph