Bug #27195 Problem with keystroke handling from GNOME Terminal
Submitted: 16 Mar 2007 2:07 Modified: 18 Oct 2007 6:51
Reporter: Stephen Gornick Email Updates:
Status: Closed Impact on me:
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:5.0.37 OS:Linux (Linux)
Assigned to: CPU Architecture:Any
Tags: arrow, client, control, ctrl, Edit, editor, env, environment, gnome, key, keys, Keystroke, left, right, SQL, term, terminal, xterm

[16 Mar 2007 2:07] Stephen Gornick
With MySQL Client for 5.0.37, I no longer can use Ctrl-Right, Ctrl-Left in MySQL Client to move to next word / previous word.  This behavior appears to have been changed since 5.0.22.

I am using the binary distribution of 5.0.37 
Linux (non RPM, Intel C/C++ compiled, glibc-2.3)

on Ubuntu 6.06 LTS i386,  (GNOME Terminal 2.14.2).

How to repeat:
From Ubuntu launch terminal:

$ echo $TERM

$ mysql
mysql> select blah[Ctrl-Left][Ctrl-Left][Ctrl-Left]

will display
mysql> select blahDDD

Ctrl-Left displays "D"
Ctrl-Right displays "C"
Ctrl-Up displays "A"
Ctrl-Down displays "B"
[16 Mar 2007 10:46] Sveta Smirnova
Thank you for the report.

Verified as described.
[18 Oct 2007 6:51] Stephen Gornick
Problem no longer persists in 5.0.38.