Re: terminal with horizontal scrollbar

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Hugo Coolens <hugo(dot)coolens(at)skynet(dot)be>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: terminal with horizontal scrollbar
Date: 2002-02-26 22:47:52
Message-ID: 20020227094752.B24231@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Feb 25, 2002 at 10:05:38AM +0100, Hugo Coolens wrote:
> When using select in psql for tables with a lot of columns, I often get
> rows which wrap at the right side of the screen to the next row, this
> makes the columns into a mess. It would be nice to have a terminal
> (something like rxvt or xterm) which allows horizontal scrolling. Does
> anyone know of such a terminal program?

I use PAGER=less

When psql has piped the output to less, by default the text wraps. However, if
you type -S, less will unwrap the lines for you.
--
Martijn van Oosterhout <kleptog(at)svana(dot)org>
http://svana.org/kleptog/
> If the company that invents a cure for AIDS is expected to make their
> money back in 17 years, why can't we ask the same of the company that
> markets big-titted lip-syncing chicks and goddamn cartoon mice?

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Doug McNaught 2002-02-26 22:49:23 Re: pg_dumpall storing multiple copies of DB's?
Previous Message Bill McGonigle 2002-02-26 22:45:46 Re: pg_dumpall storing multiple copies of DB's?