On 26 Jul 99 at 2:38, [EMAIL PROTECTED] wrote:
> Another, perhaps less intrusive/time consuming alternative is to
> change the TROFF and NROFF lines in /etc/man.conf with:
>
> TROFF /usr/bin/groff -S -Tps -mandoc
> NROFF /usr/bin/groff -S -Tascii -mandoc
>
> (that is, add the -S switch)
>
> -S Safer mode. Pass the -S option to pic and use the
> -msafer macros with troff.
>
> see also "man 7 msafer"
Unfortunately, this wouldn't affect xman, which doesn't know about
man.conf and always use hardcoded commandline:
viper:~% strings `which xman` | grep -i roff
| geqn | gtbl | groff -Tascii -mandoc
This is defined as `FORMAT' macro in xman/vendor.h (and slightly
modified with x11r6-contrib-3.1.2-mandoc.patch in RedHat rpm), and can't be
customized with environment/resources.
There are many other help/manpage browsers (helptool, gnome-help-browser
come to mind), so the right thing is to modify groff.
___________________________________________________________________
Dmitry Yu. Bolkhovityanov | Novosibirsk, RUSSIA
phone (383-2)-39-49-56 | The Budker Institute of Nuclear Physics
| Lab. 5-13