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: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Manuel Sugawara wrote:
> Nabil Sayegh <postgresql(at)e-trolley(dot)de> writes:
>>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
> 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.

-S was exactly what I wanted.

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

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-2017 The PostgreSQL Global Development Group