This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: man? - solved


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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]