delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/02/13:02:05

From: bukinm AT inp DOT nsk DOT su (Michael Bukin)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Trying to view man-oriented docs.
Date: Thu, 31 Jul 1997 02:21:34 GMT
Organization: BINP SD RAS
Lines: 36
Message-ID: <33dff558.1970172@news-win.inp.nsk.su>
References: <Pine DOT D-G DOT 3 DOT 91 DOT 970730134809 DOT 8180A-100000 AT dg1>
Reply-To: bukinm AT inp DOT nsk DOT su
NNTP-Posting-Host: csd-bsdi.inp.nsk.su
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

On Wed, 30 Jul 1997 17:50:25 GMT, "Art S. Kagel"
<kagel AT ns1 DOT bloomberg DOT com> wrote:

> On Wed, 30 Jul 1997, Daniel TAUPIN wrote:
> 
> > My question about viewing the man-oriented files (such as foo.1, foo.3,
> > etc.) is actually treated in DJGPPFAQ.
> > But NONE of the solutions given work:
> > 
> > 1. the groff.exe is available, but a command like "groff mydoc.1" fails:
> >   cannot find DESC file (although I copied one from the distrib in the
> > current directory)
> >   fatal error: invalid device 'ps' (or invalid devide 'ascii' if a sgive
> > the option -Tascii).
> 
> make that:
> 	groff -man mydoc.1
> 
> -mMACNAME passes description file tmac.MACNAME there is a sneakily named
> macro file named tmac.an which translates the man page macros.
> 

  I recall, that I have to put a lot in djgpp.env to make groff work.
This is written in some readme in groff package.
(Maybe you don't need this if djgpp is installed in c:\djgpp)

-*- part of djgpp.env -*-
[groff]
+GROFF_TMAC_PATH=.;%DJDIR%/share/groff/tmac
+GROFF_FONT_PATH=.;%DJDIR%/share/groff/font
+GROFF_TYPESETTER=ascii
-*- end of djgpp.env -*-

There is a lot more settings of this sort, but read readme
(readme.dos?).

- Raw text -


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