Обсуждение: request for pager for \ commands in psql
I find it annoyance that when I try to use \? to get a list of commands, the output isn't paged. I may have missed something, but as far as I can tell there isn't a way to set a pager for \ commands like there is for query output. I think it would be nice if there was some way to do this.
It pages here in current CVS. --------------------------------------------------------------------------- Bruno Wolff III wrote: > I find it annoyance that when I try to use \? to get a list of commands, > the output isn't paged. I may have missed something, but as far as I can > tell there isn't a way to set a pager for \ commands like there is > for query output. I think it would be nice if there was some way to > do this. > > ---------------------------(end of broadcast)--------------------------- > TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
On Sun, Jul 14, 2002 at 13:13:16 -0400, Bruce Momjian <pgman@candle.pha.pa.us> wrote: > > It pages here in current CVS. Thanks. I thought I tried setting the PAGER environment variable, but appearantly I did something wrong when I tried it. Based on your response I retested this and it worked. Should I have been able to figure out to use the PAGER environment variable from the documentation (rather than general Unix knowledge)?
Bruno Wolff III wrote: > On Sun, Jul 14, 2002 at 13:13:16 -0400, > Bruce Momjian <pgman@candle.pha.pa.us> wrote: > > > > It pages here in current CVS. > > Thanks. I thought I tried setting the PAGER environment variable, but > appearantly I did something wrong when I tried it. Based on your > response I retested this and it worked. > > Should I have been able to figure out to use the PAGER environment variable > from the documentation (rather than general Unix knowledge)? I see mention in the psql manual page. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026