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@xxxxxxxxx> http://svana.org/kleptog/ > From each according to his ability. To each according to his ability to litigate.
Attachment:
signature.asc
Description: Digital signature