resizing terminal - display issue
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
|||
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Medium
|
Tomislav Plavcic | ||
5.1 |
Won't Fix
|
Undecided
|
Unassigned | ||
5.5 |
Fix Released
|
Medium
|
Tomislav Plavcic | ||
5.6 |
Fix Released
|
Medium
|
Tomislav Plavcic |
Bug Description
I am running Percona Server 5.6.17-66.0 on CentOS 6.5. I connect to this machine using putty on Windows.
I noticed that after I start a mysql console, if I resize my putty window, the display doesn't always display correctly.
For example:
1) Run: mysql -u root -p
2) Resize putty window.
3) Press up to see the last run query.
When I do the above, the display appears as:
root@localhost/
rather than:
root@localhost/
I'm also seeing similar issues if I type a long query that wordwraps, then resize my putty window, and then press tab to use auto-complete for a field name in my query.
Is it possible that these issues could be fixed?
Thanks for your help.
Ryan
I can reproduce this with the same version and OS as yours, using putty from Windows. When I change width (to Nx24 instead of 80*24) of putty window, I get prompt copied when I press arrow up:
mysql> mysql> show plugins;
Query just works when Enter is pressed. I am also not sure is it a problem caused/related to putty or TERM setting:
[root@centos openxs]# echo $TERM
xterm
[root@centos openxs]# mysql --version
mysql Ver 14.14 Distrib 5.6.17-66.0, for Linux (x86_64) using EditLine wrapper
[root@centos openxs]# cat /etc/issue
CentOS release 6.5 (Final)
Kernel \r on an \m
[root@centos openxs]#
or mysql client itself.