delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/05/15:21:57

Date: Fri, 5 May 2000 14:13:49 -0400 (EDT)
Message-Id: <200005051813.OAA05698@indy.delorie.com>
From: Eli Zaretskii <eliz AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <8etq78$8mu$1@news1.tele.dk> (lab@---SPAM.FILTER---ready.dk)
Subject: Re: How do you make "man" work?
References: <8etq78$8mu$1 AT news1 DOT tele DOT dk>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Lars Blaabjerg" <lab AT ---SPAM DOT FILTER---ready DOT dk>
> Newsgroups: comp.os.msdos.djgpp
> Date: Fri, 5 May 2000 08:40:12 +0200
> 
> I'm a complete stranger to djgpp (actually I'm not sure what it is at all).
> But I need to be able to read unformatted unix man pages in a windows
> environment and the only thing I've found is djgpp's man. But I can't get it
> to work! I know it may seem like a silly question in this group but do I
> need to install djgpp?
> I downloaded the man13b, lss340b and gro110b from simtel, put everything in
> the path, set MANPATH to the directory holding the man pages, and all I get
> is the following error message:
> ----
> Reformatting page.  Wait...d:/man/groff.exe: can't find `DESC' file
> d:/man/groff.exe:fatal error: invalid device `ascii'

Short answer: download v2/djdev203.zip, unzip the file djgpp.env from
there, and `man' will begin to work for you.

Long answer: to get Groff to work, you need to set up certain
environment variables to point to the places where it should look for
crucial files required for it operation.  One of these files is
`DESC'.  These environment variables are described in the Groff docs,
and teh file djgpp/README in the Groff distribution explains at some
length how to set them up.  I'm guessing that you either didn't read
the docs or failed to set the variables correctly.

The file djgpp.env shipped with djdev203.zip already has all those
variables set up for you, so it is an easier way to solve this
problem.  However, if you want to avoid downloading it, you can still
set those variables manually, as djgpp/README describes.

Also, you need to unzip the packages preserving the directory
structure, as someone else told you here.  This is also described in
djgpp/README.

- Raw text -


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