I'd like to pass the -a swich to man. Is this possible?
I made this simple change to man.c (thanks for the pointer, Eli) so that
-a is used if there is no explicit section. As far as I know -a is
universal.
I expect it'll be a while before the next Texinfo release, but you can
apply this and recompile in the meantime.
(Although I guess in theory it would be good to allow the args to man to
be configured at runtime via envvars or something, I didn't have time to
figure that out.)
HTH,
karl
*** man.c.~1.5.~ Sat May 14 17:00:07 2005
--- man.c Fri Jun 3 16:47:54 2005
***************
*** 291,296 ****
get_page_and_section (pagename);
! if (manpage_section != (char *)NULL)
formatter_args[arg_index++] = manpage_section;
formatter_args[arg_index++] = manpage_pagename;
--- 291,298 ----
get_page_and_section (pagename);
! if (manpage_section)
formatter_args[arg_index++] = manpage_section;
+ else
+ formatter_args[arg_index++] = "-a";
formatter_args[arg_index++] = manpage_pagename;
_______________________________________________
Texinfo home page: http://www.gnu.org/software/texinfo
[email protected]
http://lists.gnu.org/mailman/listinfo/help-texinfo