[prev in list] [next in list] [prev in thread] [next in thread]
List: mysql
Subject: Re: Stop Scrolling
From: Chris <listschris () leftbrained ! org>
Date: 2004-05-31 21:52:10
Message-ID: 40BBA90A.90908 () leftbrained ! org
[Download RAW message or body]
Rhino wrote:
>----- Original Message -----
>From: <kc68@cornell.edu>
>To: <mysql@lists.mysql.com>
>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/mysql?unsub=mysql@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic