-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hello, Yes, the PgUp and PgDn keys are working properly however my client and MariaDB are version 5.5.33-2.2. Best Regards, I. Petrov On 03/28/2015 01:15 PM, Per Jessen wrote:
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
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVFpHDAAoJEH8sJoKRFRU5v+AQAIURFxEK8uE7LKmuG1qof/D6 YEt/+Gs6DIN7Snk1nipIQqUaNp6F1J8EGxrkqEhkBX4P0uXurhkCgB7Xb7M0Koq2 BgaTVZzXXjFklDvSaB1NYXU058CtRcKh7U75ODX1vGCEMyxZz53jET9ouqOFP6s9 2lLknIr+bZOH9yWPX7TIULtJwCmjH5G1A+dgmHewKpj+i6fhkAFdordaCwOXpXjV ztkz30XbbsyzS096r6yGIBnl9T6enp0ZV3ILvUvxtgcBTvndXVUikETEPpqA9bGx dSxyUOclDsQtOIRqnGko/Eoa+YhdBlzYgcPTh+HE9nAoJTBqkQlZXO8hsaAMcmW9 pZl5U9uSavy9zbklFEHElW2OnOOc740ElWmLjlBx5UzHV1J/VFONVKcBMUaoDeEN h9Ipz4xM+sZ3kPMCEBKvfLpIB60O/II5xIWHkrJdwBJ/2a/FOPZyFj8QMIDxMbw4 69wd0FSs3vs2s0cejtqXHnFpl8ltZBXuQRCRmSOdVfpDsEXbRxWQhS8cLTVlY5h4 EG7auJA14cOX/ycl2Jgv0sA8YVK6FuxUaIMhrGDkt+Rsk0MlCQ5oZrzPyfVhA1xm PyZpNqnxhY7dOOEEbLNFfAy7O80rcmWxWcyhaSKw0Veeqo7SReVOQeAF/nfu/XkH onoyo/kJE2LV4kzNHCjI =j+5C -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org