Issues

Select view

Select search mode

 
47 of 47

mysql binary doesn't find debian/ubuntu terminfo files

Description

The ./bin/mysql binary provided with Percona (see https://downloads.percona.com/downloads/Percona-Server-LATEST/Percona-Server-8.0.34-26/binary/tarball/Percona-Server-8.0.34-26-Linux.x86_64.glibc2.17-minimal.tar.gz) is linked against an included libncurses library.

 

That library only searches 2 paths when looking for terminfo files - /etc/terminfo and /usr/share/terminfo/

 

However, on debian/ubuntu, most or all terminfo files wind up in /lib/terminfo - which the system ncurses libraries will look in:

The major affect of this is that the mysql binary horizontally scrolls long input lines and long queries pulled from history, rather than veriticaly wrapping them, which is incredibly frustrating.

For more info / discussion, see

 

Thanks.

Environment

None

Details

Security Level Help

None

Assignee

Reporter

Regression Issue

Yes

Needs QA

Yes

Components

Affects versions

Priority

Smart Checklist

Created November 22, 2024 at 2:58 PM
Updated December 23, 2024 at 11:36 AM

Activity

Aaditya DubeyDecember 23, 2024 at 10:15 AM

Hi

Thank you for the report and feedback.