Re: psql scroll horizontal

From: Nabil Sayegh <postgresql(at)e-trolley(dot)de>
To: Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx>
Cc: pgsql-novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: psql scroll horizontal
Date: 2004-02-10 21:32:13
Message-ID: 40294DDD.80308@e-trolley.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Manuel Sugawara wrote:
> Nabil Sayegh <postgresql(at)e-trolley(dot)de> writes:
>
>
>>Hi,
>>
>>does anybody know how I can have psql scroll wide tables instead of
>>wrapping them?
>>
>>At the moment it uses the pager if there are too many rows. But
>>although I can scroll horizontal then, it still wraps some rows
>>around.
>
>
> The problem is with your pager. Using less (set the PAGER environment
> variable to less) and setting the LESS environment variable to -S (see
> the less man page for details) will do the work.

Thanks
-S was exactly what I wanted.

bye
--
e-Trolley Sayegh & John, Nabil Sayegh
Tel.: 0700 etrolley /// 0700 38765539
Fax.: +49 69 8299381-8
PGP : http://www.e-trolley.de

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Victor Sudakov 2004-02-11 04:55:40 getting postgresql-7.4.1 statistics
Previous Message Francisco 2004-02-10 17:50:37 Re: Can a user change their own password?