Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mm(1) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

checkmm(1)

col(1)

env(1)

eqn(1)

mmt(1)

neqn(1)

nroff(1)

tbl(1)

profile(4)

environ(5)

mm(5)

term(5)



     mm(1)                      DG/UX 4.30                       mm(1)



     NAME
          mm - print documents formatted with the MM macros

     SYNOPSIS
          mm [ options ] [ files ]

     DESCRIPTION
          Mm can be used to type out documents using nroff and the MM
          text-formatting macro package.  It has options to specify
          preprocessing by tbl(1) and/or neqn (see eqn(1)) and
          postprocessing by various terminal-oriented output filters.
          The proper pipelines and the required arguments and flags
          for nroff and MM are generated, depending on the options
          selected.

          Options for mm are given below.  Any other arguments or
          flags (e.g., -rC3) are passed to nroff or to MM, as
          appropriate.  Such options can occur in any order, but they
          must appear before the files arguments.  If no arguments are
          given, mm prints a list of its options.

          -Tterm   Specifies the type of output terminal; for a list
                   of recognized values for term, type help term2.  If
                   this option is not used, mm will use the value of
                   the shell variable TERM from the environment (see
                   profile(4) and environ(5)) as the value of term, if
                   TERM is set; otherwise, mm will assume you're using
                   a dumb terminal.  If several terminal types are
                   specified, the last one takes precedence.
          -12      Indicates that the document is to be produced in
                   12-pitch.
          -c       Causes mm to invoke col(1); note that col(1) is
                   invoked automatically by mm unless term is 605x
                   (the default).
          -e       Causes mm to invoke neqn; also causes neqn to read
                   the /usr/pub/eqnchar file (see eqnchar(5)).
          -t       Causes mm to invoke tbl(1).
          -E       Invokes the -e option of nroff.  It produces
                   equally-spaced words in adjusted lines.
          -y       Causes mm to use the non-compacted version of the
                   macros (see mm(5)).

          As an example (assuming that the shell variable TERM is set
          in the environment to 605x), the two command lines below are
          equivalent:

               mm -t -rC3 -12 ghh*
               tbl ghh* | nroff -cm -h -rC3

          Mm reads the standard input when - is specified instead of
          any filenames.  (Mentioning other files together with -
          leads to disaster.)  This option allows mm to be used as a



     Licensed material--property of copyright holder(s)         Page 1





     mm(1)                      DG/UX 4.30                       mm(1)



          filter, e.g.:

               cat dws | mm -

     NOTES
          1.   Mm invokes nroff with the -h flag.  With this flag,
               nroff assumes that the terminal has tabs set every 8
               character positions.
          2.   Use the -olist option of nroff to specify ranges of
               pages to be output.  Note, however, that mm, if invoked
               with one or more of the -e, -t, and - options, together
               with the -olist option of nroff may cause a harmless
               `broken pipe' diagnostic if the last page of the
               document is not specified in list.
          3.   If you use the -s option of nroff (to stop between
               pages of output), use line-feed (rather than return or
               new-line) to restart the output.  The -s option of
               nroff does not work with the -c option of mm, or if mm
               automatically invokes col(1) (see -c option above).
          4.   If you lie to mm about the kind of terminal its output
               will be printed on, you will get (often subtle)
               garbage.

     SEE ALSO
          checkmm(1), col(1), env(1), eqn(1), mmt(1), neqn(1),
          nroff(1), tbl(1), profile(4), environ(5), mm(5), term(5).
          Using the Documenter's Tool Kit on the DG/UX System.
          Documenter's Tool Kit Technical Summary for the DG/UX
          System.

     DIAGNOSTICS
          mm       `mm: no input file' if none of the arguments is a
                   readable file and mm is not used as a filter.






















     Licensed material--property of copyright holder(s)         Page 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026