Mail Archives: djgpp/2001/07/05/12:30:22
Eli Zaretskii wrote:
>
> > From: Jason Hood <adoxa AT postmark DOT net>
> >
> > After having installed GLOBAL, I was wondering if 'man' should use
> > 'mandoc' as default instead of 'man'?
>
> I don't think so. Why would we need that? You can always run Groff
> with whatever switches you want, can't you?
It's a lot easier to do "man global" than
"groff -mandoc d:/djgpp/man/man1/global.1"
I suppose I should just keep the formatted version, anyway.
> In any case, GLOBAL should come with formatted man pages, so you
> shouldn't worry about mandoc.
Not the sources.
> > If so, I'd be willing to make the change and upload the new version.
>
> I'm still maintaining `man', so if you want to suggest changes, please
> send the diffs to me, or post them here.
Okay. Not that it really matters, now, I suppose :) but here it is:
--- man.c~ Sat Feb 19 12:57:44 2000
+++ man.c Fri Jul 6 02:23:10 2001
@@ -91,7 +91,7 @@
/* The .exe suffix in program names is so we get better diagnostics
from `system' library function when the shell is COMMAND.COM. */
static char *pager = "less.exe -c";
-static char *groff = "groff.exe -man -Tascii";
+static char *groff = "groff.exe -mandoc -Tascii";
# ifdef __DJGPP__
static char *manpath = "c:/djgpp/man;c:/djgpp/info;/usr/man";
# else
The comment about manpath was fair enough.
Jason.
- Raw text -