Using mysql directly from the command line (running on Ubuntu 9.10, standard bash terminal), I am unable to use certain keyboard buttons like:
Delete, Control-(arrow right), Control-(arrow left)
Which gets returned to me as:
~;5C;5D
respectively. I’m assuming there must be a flag in mysql that fixes this but I have been unable to find one. Is there a .mysqlconfig file to edit to make this happen on startup?
According to this thread and
mysql --version, mysql is compiled with editline instead of readline. From that thread:Although that didn’t work for me.
Another suggestion from that thread did work:
Then add an alias in
~/.bashrcThis problem may be specific to Ubuntu 9.10