summaryrefslogtreecommitdiff
path: root/man/man5
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2022-08-11 10:28:31 +0100
committerColin Watson <cjwatson@debian.org>2022-08-11 10:28:31 +0100
commitbae28d9ee888be7cfc8336c8933a044795b1eda5 (patch)
tree170ae961d38ccedf316d6a92ca46655a88a1de0a /man/man5
parentcbcc6382f042b5f501142dca6c8efe4106d24b73 (diff)
Make CATWIDTH override MINCATWIDTH/MAXCATWIDTH
Otherwise setting `CATWIDTH` to something larger than 80 confusingly doesn't work unless you also set `MAXCATWIDTH`. Fixes https://gitlab.com/cjwatson/man-db/-/issues/9. * src/man.c (add_roff_line_length): Skip terminal width range check if `cat_width` is set. * man/man5/manpath.man5 (FORMAT): Remove note that `CATWIDTH` should be within the range set by `MINCATWIDTH` and `MAXCATWIDTH`, and instead say that it overrides them. * NEWS.md: Document this.
Diffstat (limited to 'man/man5')
-rw-r--r--man/man5/manpath.man52
1 files changed, 1 insertions, 1 deletions
diff --git a/man/man5/manpath.man5 b/man/man5/manpath.man5
index a5c761a0..0ea293f9 100644
--- a/man/man5/manpath.man5
+++ b/man/man5/manpath.man5
@@ -228,7 +228,7 @@ If
.I width
is non-zero, cat pages will always be formatted for a terminal of the given
width, regardless of the width of the terminal actually being used.
-This should generally be within the range set by
+This overrides
.B MINCATWIDTH
and
.BR MAXCATWIDTH .