Rhino wrote:

----- Original Message ----- From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 31, 2004 2:20 PM
Subject: Stop Scrolling





Ultimately simple, but I don't find the answer:  how to stop a list from
scrolling to the bottom when the command SHOW TABLES is entered.



I was wondering that myself so I took a look in the manual and found
something promising: pager. See
http://dev.mysql.com/doc/mysql/en/mysql_Commands.html

Based on that article, it *looks* like the 'pager' command can be set to
'more' or 'less' or 'cat' or whatever you usually use. I can't quite
understand how to use it though. Maybe you can make sense of it though. If
you figure it out, maybe you could post a short explanation for the rest of
us ;-)

Rhino




I use it like this:

mysql>pager less -n -i -S

Then, every query output will be run through less (with the attributes -n -i -S, you can change these). It only works in the Unix MySQL client.

Chris

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to