www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/05/12:30:22

Message-ID: <3B449585.1ACB3C60@postmark.net>
From: Jason Hood <adoxa AT postmark DOT net>
Organization: NiteRider
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Man program
References: <3B409CC8 DOT 198848AD AT postmark DOT net> <9743-Mon02Jul2001230323+0300-eliz AT is DOT elta DOT co DOT il>
X-Original-NNTP-Posting-Host: 202.7.180.38
X-Original-Trace: 6 Jul 2001 02:47:04 +1000, 202.7.180.38
Lines: 44
Date: Fri, 06 Jul 2001 02:27:50 +1000
NNTP-Posting-Host: 203.12.160.33
X-Complaints-To: abuse AT telstra DOT net
X-Trace: nsw.nnrp.telstra.net 994350480 203.12.160.33 (Fri, 06 Jul 2001 02:28:00 EST)
NNTP-Posting-Date: Fri, 06 Jul 2001 02:28:00 EST
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com


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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019