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: Reply-To: bukinm AT inp DOT nsk DOT su NNTP-Posting-Host: csd-bsdi.inp.nsk.su Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Wed, 30 Jul 1997 17:50:25 GMT, "Art S. Kagel" 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?).