summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas G. Lockhart <lockhart@fourpalms.org>1998-04-08 06:42:17 +0000
committerThomas G. Lockhart <lockhart@fourpalms.org>1998-04-08 06:42:17 +0000
commitb91d94ec68bdcd28c16bf58c2c1ecc4a95c0011d (patch)
treec3f4b963bafcf149beba53d9f402ab7e9c1f2e80
parent43cfa1a0ce0f85890cda6001638f00325caeecbf (diff)
Still mostly empty but add info on PAGER env variable and general paging
behavior from Brett McCormick.
-rw-r--r--doc/src/sgml/psql.sgml37
1 files changed, 36 insertions, 1 deletions
diff --git a/doc/src/sgml/psql.sgml b/doc/src/sgml/psql.sgml
index 3019396de7a..28ff1cd9a24 100644
--- a/doc/src/sgml/psql.sgml
+++ b/doc/src/sgml/psql.sgml
@@ -2,7 +2,42 @@
<Title><Command>psql</Command></Title>
<Para>
-This section needs to be written. Volunteers?
+This section needs to be converted from the original psql man page. Volunteers?
</Para>
+<Tip>
+<Para>
+To change the paging behavior of your results, set/unset your PAGER environment variable.
+</Para>
+</Tip>
+
+<Sect1>
+<Title>Paging To Screen</Title>
+
+<Note>
+<Title>Author</Title>
+<Para>
+From Brett McCormick on the mailing list 1998-04-04.
+</Para>
+</Note>
+
+<Para>
+To affect the paging behavior of your <Command>psql</Command> output,
+set or unset your PAGER environment variable. I always have to set mine
+before it will pause. And of course you have to do this before
+starting the program.
+
+<Para>
+In csh/tcsh or other C shells:
+
+<ProgramListing>
+ unsetenv PAGER
+</ProgramListing>
+
+while in sh/bash or other Bourne shells:
+
+<ProgramListing>
+ unset PAGER
+</ProgramListing>
+
</Chapter>