man? - solved

Jason Tishler jt@boxhill.com
Fri Feb 7 09:01:00 GMT 1997


Who cares... wrote:
> tried that and it didn't work, here is my script...
> 
> export GROFF_FONT_PATH=/gnu-extras/share/groff/font 
> export GROFF_TMAC_PATH=/gnu-extras/share/groff/tmac 
> ROOTDIR=/cygnus
> MANDIR=/cygnus/man/man1 
> cd $ROOTDIR
> troff -man -Tascii $MANDIR/$1.1 | grotty 2>nul:
> 
> and here is my mount info:
> 
> Device Directory Type Flags
> ... some lines deleted ...
> d:\cygnus\H-i386-cygwin32 /gnu-extras
> d:\cygnus /cygnus 

Recall that this version of troff is not gnu-win32 and will not understand
gnu-win32 style mounts.  From the above mount output, I conclude that your
share/groff directory is under d:\cygnus\H-i386-cygwin32.  If I'm correct,
then change the definition of GROFF_FONT_PATH and GROFF_TMAC_PATH in man
to:

    export GROFF_FONT_PATH=/cygnus/H-i386-cygwin32/share/groff/font 
    export GROFF_TMAC_PATH=/cygnus/H-i386-cygwin32/share/groff/tmac 

If I'm not, then change the above as appropriate but use Windows style
directories (with forward slashes) and not gnu-win32 style mount directories.

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@boxhill.com
New York, NY 10013 USA               WWW:   http://www.boxhill.com
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list