From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | Merlin Moncure <mmoncure(at)gmail(dot)com> |
Cc: | PgSQL-General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: psql/readline clears screen |
Date: | 2006-08-09 13:12:55 |
Message-ID: | 20060809131255.GK22329@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, Aug 09, 2006 at 09:02:55AM -0400, Merlin Moncure wrote:
> is there a way to configure psql/readline so that it doesn't clear the
> screen after browsing a query with 'q'?
You don't say the OS, but you may be seeing the effects of less working
on a terminal with a seperate interactive screen (for example xterm).
What's happening is that when less exits, it switches back to the main
screen, thus hiding what you were just looking at.
From reading the manpage, setting the pager to "less -X" should solve
this problem.
Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Laudeman | 2006-08-09 13:19:31 | Tuning to speed select |
Previous Message | Merlin Moncure | 2006-08-09 13:02:55 | psql/readline clears screen |