SGI Freeware: groff 1.17.2

groff-1.17.2: description + notes

Groff
Document formatting system.


Groff (GNU Troff) is a document processor which reads plain text mixed with formatting commands and produces formatted output.

To view unformatted source manual (man) entries, set the MANFMTCMD environment variable like so:

    setenv MANFMTCMD 'groff -Tascii -man' # csh and derivatives
    MANFMTCMD='groff -Tascii -man'; export MANFMTCMD # sh and derivatives

To typeset unformatted source manual entries:

  • Set the TROFF environment variable:

      setenv TROFF 'groff -Tps -man' # csh and derivatives
      TROFF='groff -Tps -man'; export TROFF # sh and derivatives

  • If the file /usr/pub/eqnchar does not exist on your system then create it:

      touch /usr/pub/eqnchar

  • If the file /usr/lib/tmac/tmac.an does not exist on your system then create a symbolic link to the version distributed with groff:

      cd /usr/lib/tmac
      ln -s ../../freeware/share/groff/1.17.2/tmac/an.tmac tmac.an

NOTE: This product installs its X application default files in /usr/freeware/lib/X11/app-defaults, which is not in the default X search path. There are several ways to extend your X search path. The XUSERFILESEARCHPATH, XAPPLRESDIR, XFILESEARCHPATH, and XENVIRONMENT environment variables all affect resource file loading. The easiest methods are to either create a symbolic link in /usr/lib/X11/app-defaults, or to add code similar to this to your startup scripts:

    % export XUSERFILESEARCHPATH=
       ${XUSERFILESEARCHPATH:+${XUSERFILESEARCHPATH}:}
       /usr/freeware/lib/X11/%T/%N%C%S:
       /usr/freeware/lib/X11/%T/%N%S:
       /usr/freeware/lib/X11/app-defaults/%N%C%S:
       /usr/freeware/lib/X11/app-defaults/%N%S
    
    

The line wrapping above is for clarity; you can remove it and any extra whitespace. If XUSERFILESEARCHPATH is already set, we append the new directories separated by a colon, otherwise we simply set it to the new colon-separated list. Note that the example code assumes the use of sh, ksh or bash.


Vince Levey configured and built this package.


To auto-install this package, go back and click on the respective install icon.


made by Digital Vintage with nginx-s3-gateway and some magic
digitalvintage.ru
t.me/digitalvintage_ru
instagram.com/digitalvintage.ru