"Kees Zeelenberg" <[EMAIL PROTECTED]> wrote in
news:00d301c28069$bd448160$246afb3e@;alpha:
> What might go wrong here is that Groff is not an Msys application but
> a native Windows one. So it does not understand the GROFF_...._PATH's
> when they are in the Msys form such as /g/.... Perhaps an MS-Windows
> bat file which sets these environment variables and then calls groff,
> will work.
Yes, you were right. OK, so I have this working well enough now --
congratulations on having added Groff to all your other ports. I dub you
The Prodigious Porter! -- but I am wondering if you can help me finish the
work so that some noisy complaints are quieted:
On completion, after hitting 'q' to terminate 'less' paging, I get
grotty:<standard input>:41362:fatal error: output error
And also before the 'less' paging begins (it gets wiped out) I get these
lines:
grotty:<standard input>:19: X command without `tty:' tag ignored
grotty:<standard input>:24: X command without `tty:' tag ignored
So 'grotty' isn't happy, do you happen to know what flags to pass through
to 'grotty' to make it shut up?
Thanks!
Soren A
P.S. An implementation of `man' for MinGW-MSYS, as an sh function:
------------8<------------
function man
{
PATH="/g/apps/w32-usr/bin:$PATH"
GRAP_DEFINES='G:/apps/w32-usr/share/grap'
GROFF_FONT_PATH='G:/apps/w32-usr/share/groff/1.18/font'
GROFF_TMAC_PATH='G:/apps/w32-usr/share/groff/1.18/tmac;G:/apps/w32-
usr/share/groff/site-tmac'
export GROFF_FONT_PATH GROFF_TMAC_PATH GRAP_DEFINES
local ManFiles ManSect
if [ x"$2" != x ]; then
ManSect="$1"; shift
else ManSect='[0-9]'
fi
if [ ! -f "$*" ]
then if [ -d /mingw ]; then
# How do we tell 'find' that we want only one result?
ManFiles=`find /mingw/ -iregex ".*/man${ManSect}/${1}\.${ManSect}"`
fi
if [ x"$ManFiles" = x ]; then
ManFiles=`find . / -iregex ".*/man${ManSect}/${1}\.${ManSect}"`
fi
fi
if [ x"$ManFiles" != x ]; then
groff -mandoc -Tascii $ManFiles | less -JQCMR
else echo "No man files with stem "$1" found. Quitting."
fi
}
------------8<------------
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future
of Java(TM) technology. Join the Java Community
Process(SM) (JCP(SM)) program now.
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
GnuWin32-Users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users