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.
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.