| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Baron Schwartz | Date: | May 3 2007 12:41pm |
| Subject: | Re: Less | More | ||
| View as plain text | |||
John Kebbel wrote: > Is there a mysql command line equivalent to | less or | more to make it > easier to scan rows one screen at a time? > > Type ? from within the command-line client to see help. One of the lines shows this: pager (\P) Set PAGER [to_pager]. Print the query results via PAGER. On Linux, when I just type \P, it does this: mysql> \P PAGER set to '/usr/bin/less' mysql> Every query thereafter runs through less. Baron
| Thread | ||
|---|---|---|
| • Less | More | John Kebbel | 3 May |
| • Re: Less | More | Baron Schwartz | 3 May |
| • RE: Less | More | Jerry Schwartz | 3 May |
| • RE: Less | More | John Trammell | 3 May |
| • Re: Less | More | John Kebbel | 3 May |
