← Back to team overview

maria-developers team mailing list archive

FYI: usage of F1-F12 keys in mysql client


By adding something like this in your .inputrc:

"\033OP": "use information_schema; show tables;\n"
"\033OQ": "use test;\n"
"\033OR": "select * from "
"\033OS": "show columns from "

you may have F1-F12 keys utilized. Different terminals have different
codes (.inputrc doesn't support capability names unfortunately), so
you'll have to find out your own codes via tack utiity. With strong
will and enough patience it is possible to add Ctrl+, Alt+, Shift+ and
their combinations as well.

This works only with MDEV-17609 patch.

All the best,

Aleksey Midenkov