Bug#517629: bogus "can't break line" warnings when run in narrow terminal
Joey Hess <joeyh@debian.org> writes:
> joey@gnu:~/src/debhelper>echo $COLUMNS
> 65
> joey@gnu:~/src/debhelper>lintian ../debhelper_7.0.52_all.deb
> W: debhelper: manpage-has-errors-from-man usr/share/man/man1/dh.1.gz 200: warning [p 2, 3.2i, div `an-div', 0.0i]: can't break line
> joey@gnu:~/src/debhelper>echo $COLUMNS
> 80
> joey@gnu:~/src/debhelper>lintian ../debhelper_7.0.52_all.deb
> # nothing
>
> It somehow seems wrong for lintian warnings to only appear if it's ran
> in a narrow enough terminal.
For some strange reason, I can't duplicate this, but I think I have it
fixed for the next release anyway. According to man(1), setting MANWIDTH
should override the terminal size, so Lintian now always sets that to 80.
Thanks!
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: