Обсуждение: request for pager for \ commands in psql

Поиск
Список
Период
Сортировка

request for pager for \ commands in psql

От
Bruno Wolff III
Дата:
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.


Re: request for pager for \ commands in psql

От
Bruce Momjian
Дата:
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
 


Re: request for pager for \ commands in psql

От
Bruno Wolff III
Дата:
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)?


Re: request for pager for \ commands in psql

От
Bruce Momjian
Дата:
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