man? - solved

Who cares... oyehia@oracle.dsuper.net
Fri Feb 7 00:17:00 GMT 1997


On Thu, 6 Feb 1997, Jason Tishler wrote:

> > 
> >  troff -man -Tascii bash.1 | grotty | less
> > 
> 
> --- 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
> 
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 
d:\cygnus\H-i386-cygwin32\usr /usr 
c:\temp /tmp 
d:\cygnus\H-i386-cygwin32 /gnu-extras
d:\cygnus\etc /etc 
\\.\tape1:  /dev/st1
\\.\tape0:  /dev/st0 
\\.\b:  /dev/fd1 
\\.\a:  /dev/fd0 
d:\cygnus /cygnus 
d:\cygnus\H-i386-cygwin32\bin /bin 
c:               /                   

bash$ man bash 
troff: can't find `DESC' file
troff: fatal error: sorry, I can't continue

any help appreciated
-
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