Hi,
After having spend some time reading man (1) code, the following
proposal
comes :
Create a keyword for man.conf (5) - _ibuild for example - for lines
like : ``_ibuild     - a letter -     - associated command -''
The letter
would appear on the first line of the manpage file and
would be separated from
the leading ``{.,'}\"'' by white spaces and single.
man (1) would accept both
(in fact, it would go to the first blank character
and start from there). This
would be triggered only in case of a
.[1-9n]{,[a-z]}{,.{gz,Z}} extension. man
(1) would insert the command
given by the ``_ibuild'' line right before the ``
{,|} /usr/bin/nroff -man'',
removing the trailing ``%s'' as needed.
Triggering
the in-file inquiry would be more easily implemented as
a config file setting
- a ``_iext (extension list)'' line -
As an additionnal possibility, why not
allow skipping in-file inquiry
for some directories - those in ``base'' mostly
- using an ``_iskip''
keyword in man.conf (5).
Suggestions ?
Personnaly I find
it a bit intrusive for man.conf (5).
Cheers.

Reply via email to