tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Proposal to remove catman(8)



On Wed, Nov 11, 2020 at 18:00:02 +0300, Valery Ushakov wrote:

> - change a line in man.conf to obey MANWIDTH/COLUMNS:
> 
>   _build  .[1-9ln]  /usr/bin/mandoc ${COLUMNS+-Owidth=${MANWIDTH:-$COLUMNS}} %s
> 

And just for the record, the nroff equivalent for setting the width
with either old man or mandoc is by setting number registers LL
(length of line, like .ll directive) and LT (length of title, like
.lt) in 'n' units, e.g. to format a man page to the width of 120
characters:
 
  nroff -rLL=120n -rLT='\n(LL' -Tmandoc ...

-uwe


Home | Main Index | Thread Index | Old Index