diff options
author | Colin Watson <cjwatson@debian.org> | 2022-08-11 10:28:31 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2022-08-11 10:28:31 +0100 |
commit | bae28d9ee888be7cfc8336c8933a044795b1eda5 (patch) | |
tree | 170ae961d38ccedf316d6a92ca46655a88a1de0a /NEWS.md | |
parent | cbcc6382f042b5f501142dca6c8efe4106d24b73 (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 'NEWS.md')
-rw-r--r-- | NEWS.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -6,6 +6,8 @@ Fixes: * `mandb` now correctly records filters in the database if it uses cached whatis information. * Upgrade Gnulib, fixing syntax error on glibc systems with GCC 11. + * The `CATWIDTH` configuration file directive now overrides `MINCATWIDTH` + and `MAXCATWIDTH`. Improvements: |