Bug #76569 mysqluc considers 'home' button as 'H' and 'end' button as 'f'
Submitted: 1 Apr 2015 21:57 Modified: 10 Jun 2015 3:58
Reporter: Shahriyar Rzayev (OCA) Email Updates:
Status: Closed Impact on me:
Category:MySQL Utilities Severity:S2 (Serious)
Version:1.5.4 OS:Linux (CentOS 7)
Assigned to: CPU Architecture:Any

[1 Apr 2015 21:57] Shahriyar Rzayev
When using mysqluc as console, press 'home' button on the keyboard to get to the beginning of the line you will see that 'H' is printed and same with 'end' button where the 'F' is printed.

mysqluc> mysqldisusageHHHHHHFFFFFFF --server

After all, if you want to delete all lines using 'backspace' it will delete even  mysqluc > (the prompt)

How to repeat:
Intsall MySQL Utilities version 1.5.4 using yum and run as in described.

Suggested fix:
Add functionality to use 'Home' and 'End' buttons, because there are very handy.
[2 Apr 2015 6:02] MySQL Verification Team
Hello Shahriyar Rzayev,

Thank you for the report.
Observed this on CentOS7 with MySQL utilities 1.5.4 rpm installation.
Didn't observe this with OL6( but with 1.6.1).

[2 Apr 2015 6:02] MySQL Verification Team
[root@ushastry Downloads]# rpm -qa|grep -i mysql-utilities
[root@ushastry Downloads]# cat /etc/*release
CentOS Linux release 7.0.1406 (Core) 
NAME="CentOS Linux"
VERSION="7 (Core)"
ID_LIKE="rhel fedora"
PRETTY_NAME="CentOS Linux 7 (Core)"

CentOS Linux release 7.0.1406 (Core) 
CentOS Linux release 7.0.1406 (Core) 
[root@ushastry Downloads]# 

[root@ushastry Downloads]# mysqluc
Launching console ...

Welcome to the MySQL Utilities Client (mysqluc) version 1.5.4
Copyright (c) 2010, 2015 Oracle and/or its affiliates. All rights reserved.
This is a release of dual licensed MySQL Utilities. For the avoidance of
doubt, this particular copy of the software is released
under the version 2 of the GNU General Public License.
MySQL Utilities is brought to you by Oracle.

Type 'help' for a list of commands or press TAB twice for list of utilities.

mysqluc> helpHHHHHHHFFFFFF
[10 Jun 2015 3:58] Philip Olson
Posted by developer:
Fixed as of the upcoming MySQL Utilities 1.6.2 release, and here's the changelog entry:

When using the mysqluc console, pressing Home would print the 'H'
character instead of moving the cursor to the beginning of the line, and
pressing End would print the 'F' character instead of moving to the end of
the line.

Thank you for the bug report.