When I run jdb in bash the arrow keys produce weird garbage:
up: ^[[A
down: ^[[B
left: ^[[D
right: ^[[C
So I can’t use the command history, or correct a spelling mistake, because I can’t navigate the text at all, which is very annoying. Is there a solution to this?
Java version info:
"1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.5) (fedora-68.1.11.5.fc16-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
Bash version info:
GNU bash, version 4.2.28(1)-release (x86_64-redhat-linux-gnu)
Have you tried running JLine with JDB ?
JLine gives you cursor interaction and command line history.