summaryrefslogtreecommitdiff
path: root/man/man1
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2012-12-21 21:29:54 +0000
committerColin Watson <cjwatson@debian.org>2012-12-21 21:29:54 +0000
commitfe8aa1c3b8d777322d45c4ecf64477e77f9183c2 (patch)
treef4384444ad6374381aee7d67d54fec923ca828ea /man/man1
parent21b0af49ccb640815f6f55b7500b5646e86dcbaa (diff)
* src/man.c (main): Use $MANLESS as the default for prompt_string if
the -r option was not used. (setenv_less): Remove code to copy $MANLESS verbatim into $LESS. * man/man1/man.man1 (Controlling formatted output, ENVIRONMENT): Describe new behaviour of $MANLESS. * man/po4a/po/man-db-manpages.pot, man/po4a/po/*.po: Update.
Diffstat (limited to 'man/man1')
-rw-r--r--man/man1/man.man125
1 files changed, 12 insertions, 13 deletions
diff --git a/man/man1/man.man1 b/man/man1/man.man1
index 951d30af..5f290539 100644
--- a/man/man1/man.man1
+++ b/man/man1/man.man1
@@ -932,11 +932,10 @@ sets the
.B \-ix8
options.
-If you want to override
-.BR %man% 's
-prompt string processing completely, use the
+The
.RB $ MANLESS
-environment variable described below.
+environment variable described below may be used to set a default prompt
+string if none is supplied on the command line.
.TP
.if !'po4a'hide' .BR \-7 ", " \-\-ascii
When viewing a pure
@@ -1223,21 +1222,21 @@ on standard input.
.if !'po4a'hide' .B MANLESS
If
.RB $ MANLESS
-is set,
-.B %man%
-will not perform any of its usual processing to set up a prompt string for
-the
+is set, its value will be used as the default prompt string for the
.B less
-pager.
-Instead, the value of
-.RB $ MANLESS
-will be copied verbatim into
-.RB $ LESS .
+pager, as if it had been passed using the
+.B \-r
+option (so any occurrences of the text
+.B $MAN_PN
+will be expanded in the same way).
For example, if you want to set the prompt string unconditionally to
\(lqmy prompt string\(rq, set
.RB $ MANLESS
to
.RB \(oq \-Psmy\ prompt\ string \(cq.
+Using the
+.B \-r
+option overrides this environment variable.
.TP
.if !'po4a'hide' .B BROWSER
If