3 ms·
> one has to employ the MANROFFOPT environment variable, setting it to "-P-i". This didn't work for me (Debian unstable), because man called nroff, which doesn
by jwilk 9y ago
> one has to employ the MANROFFOPT environment variable, setting it to "-P-i".
This didn't work for me (Debian unstable), because man called nroff, which doesn't understand the -P option.
So I put
DEFINE troff groff -mandoc -P-i
DEFINE nroff groff -mandoc -P-i
in /etc/manpath.config . This did the trick, but I'm not sure it didn't break something else.
- JdeBP 9y agoAha! A typing error. One should set it to -- -P-i Note the -- option. This causes nroff to just pass the -P-i option straight through to groff.