Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group