Write functions for calling viewer programs in a special way and feed
them into the
[t_long I]*]-viewer]
options.
Note that the name of such a function must coincide with some existing
program in the system path
in order to be recognized by groffer.
As an example, consider the following configuration file.
#! /bin/sh
# ~/.groff/groffer.conf
if test "$DISPLAY" = ""; then
DISPLAY='localhost:0.0';
fi;
GROFF_OPT="--resolution=100 $GROFF_OPT";
gxditview()
{
/usr/local/bin/gxditview --fg DarkBlue "$@";
}
This has the following effects: