I.Petrov wrote:
The mysql documentation says that the key sequences are the same as those in the standard shell and depend on the input library used to build mysql (readline in my case and probably in yours ... can be checked from the mysql shell by executing \s).
Yep, readline 5.1.
So back to the problem ... if PgUP does not work as expected this is because the escape code for the same is not binded properly or at all. For example my PgUP key produces:
[5~
Same here.
which can be seen by pressing Ctrl-x and then PgUP in the console. This escape code is binded as follows on my machine:
bind -p | grep "\[5~" "\e[5~": history-search-backward
and probably not on yours.
Looks good on mine too: bind -p | grep '\[5~' "\e[5~": history-search-backward PgDn is good too.
Hope that this will help you.
Thanks for all your input - does PgUP/PgDn work in your mysql (as supplied by mariadb-client-10.0.13)? /Per -- Per Jessen, Zürich (9.2°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org