Strange. I tried with that binary also, and still can’t reproduce. I’m testing on Rocky linux 8.9.
I suggest you to try with strace, and compare a run using Percona Server one and another using the upstream one.
For example, use the binary you downloaded from Percona:
strace -f -s8192 -yy -ttt -o/tmp/run1_percona_server.out ./bin/mysql
CTRL-D or exit the client, and then try another run with upstream:
strace -f -s8192 -yy -ttt -o/tmp/run2_upstream.out mysql
I would grep by the configuration name I sent above. If you get nothing from it, then I would inspect which files are being read to see if any of them have leads on this.
Quick test from my side:
[root@node0 /]# echo "set horizontal-scroll-mode off" > ~/.inputrc
[root@node0 /]# strace -f -s8192 -yy -ttt -o/tmp/run1_percona_server.out mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 22
Server version: 8.0.34-26 Percona Server (GPL), Release 26, Revision 0fe62c85
...output trimmed...
mysql> exit
[root@node0 /]# cat /tmp/run1_percona_server.out | grep horizontal
5870 1732243884.467454 read(4</root/.inputrc>, "set horizontal-scroll-mode off\n", 31) = 31
[root@node0 /]# echo "set horizontal-scroll-mode on" > ~/.inputrc
[root@node0 /]# strace -f -s8192 -yy -ttt -o/tmp/run2_percona_server.out mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 23
Server version: 8.0.34-26 Percona Server (GPL), Release 26, Revision 0fe62c85
Copyright (c) 2009-2023 Percona LLC and/or its affiliates
Copyright (c) 2000, 2023, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
<1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1);^C
^C
mysql> exit
Bye
[root@node0 /]# cat /tmp/run2_percona_server.out | grep horizontal
5877 1732243972.545869 read(4</root/.inputrc>, "set horizontal-scroll-mode on\n", 30) = 30
Hope this helps.