delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/02/06/15:38:49

From: jt AT boxhill DOT com (Jason Tishler)
Subject: Re: man? - solved
6 Feb 1997 15:38:49 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <32FA4A93.2AD8.cygnus.gnu-win32@boxhill.com>
References: <Pine DOT OSF DOT 3 DOT 91 DOT 970206041751 DOT 18732B-100000 AT oracle>
Reply-To: jt AT boxhill DOT com
Mime-Version: 1.0
X-Mailer: Mozilla 3.0Gold (WinNT; I)
Original-To: "Who cares..." <oyehia AT oracle DOT dsuper DOT net>
Original-CC: gnu-win32 <gnu-win32 AT cygnus DOT com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Who cares... wrote:
> well i did what you said i got the following error
> : troff: can't find `DESC' file
> troff: fatal error: sorry, I can't continue

If you are using the following version of troff:

David Shochat wrote:
> I figured out a command that achieves what I was looking for (how to 
> look at man pages), for example:
> 
>  troff -man -Tascii bash.1 | grotty | less
> 
> The groff package I'm using is
> http://www.itribe.net/virtunix/groff-1.10nt.zip

then I can solve your problem.  This version of troff will NOT find
the tmac and font directories unless your current drive is the same as
where it is installed.

The following shell script is a crude man that works for me:

--- begin of man ---
export GROFF_FONT_PATH=/gnu-extras/share/groff/font
export GROFF_TMAC_PATH=/gnu-extras/share/groff/tmac
ROOTDIR=/glenda
MANDIR=/gnu-win32/man/man1

cd $ROOTDIR
troff -man -Tascii $MANDIR/$1.1 | grotty 2>nul:
--- endof man ---

where:
    /glenda is a gnu-win32 style mount where I installed gnu-win32
    /gnu-win32 is the root of my gnu-win32 tree
    /gnu-extras is the root of my troff tree

Hope the above helps.

Jason

-- 
Jason Tishler                        Phone: +1 (212) 989-4455 ext. 120
Box Hill Systems Corporation         Fax:   +1 (212) 989-6817
161 Avenue of the Americas           Email: jt AT boxhill DOT com
New York, NY 10013 USA               WWW:   http://www.boxhill.com
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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