From 43ee22826bba77f669e34cb3b96994262800ca53 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 16 May 2008 16:59:05 +0000 Subject: Add detection of psql pager to trigger on wide output. Also add pager detection for wrapped lines or lines with newlines that need pager to display. --- doc/src/sgml/ref/psql-ref.sgml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index 32346e413f3..75392accf7d 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -1,5 +1,5 @@ @@ -1555,7 +1555,8 @@ lo_import 152801 columns - Controls the target width for the wrapped format. + Controls the target width for the wrapped format, + and width for determining if wide output requires the pager. Zero (the default) causes the wrapped format to affect only screen output. @@ -1717,10 +1718,9 @@ lo_import 152801 When the pager is off, the pager is not used. When the pager is on, the pager is used only when appropriate, i.e. the output is to a terminal and will not fit on the screen. - (psql does not do a perfect job of estimating - when to use the pager.) \pset pager turns the - pager on and off. Pager can also be set to always, - which causes the pager to be always used. + \pset pager turns the pager on and off. Pager can + also be set to always, which causes the pager to be + always used. @@ -2734,8 +2734,9 @@ $endif - Used for the wrapped output format if - \pset columns is zero. + If \pset columns is zero, controls the + width for the wrapped format and width for determining + if wide output requires the pager. -- cgit v1.2.3