I\'m using PuTTY to run:
mysql> SELECT * FROM sometable;
sometable has many fields and this results in many columns trying
I wrote pspg - https://github.com/okbob/pspg
This pager is designed for tabular data - and MySQL is supported too.
MariaDB [sakila]> pager pspg -s 14 -X --force-uniborder --quit-if-one-screen PAGER set to 'pspg -s 14 -X --force-uniborder --quit-if-one-screen' MariaDB [sakila]> select now(); MariaDB [sakila]> select * from nicer_but_slower_film_list limit 100;