On 7 August 2013 18:01, Adrian Klaver <adrian.kla...@gmail.com> wrote:
> On 08/07/2013 08:53 AM, Condor wrote: > http://www.postgresql.org/docs/9.2/interactive/app-psql.html > > pager > Controls use of a pager program for query and psql help output. If the > environment variable PAGER is set, the output is piped to the specified > program. Otherwise a platform-dependent default (such as more) is used.-- > If you use less for pager and want this behaviour system-wide, you'll want to set another env variable: setenv LESS -X (I use tcsh) or export LESS=-X if you use bash. That makes less behave properly (not clearing the screen) after closing man-pages and such. -- If you can't see the forest for the trees, Cut the trees and you'll see there is no forest.