Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

col(1)

env(1)

eqn(1)

mmt(1)

nroff(1)

tbl(1)



MM(1)                    DOMAIN/IX SYS5                     MM(1)



NAME
     mm - print out documents formatted with the MM macros

USAGE
     mm [ options ] [ files ]

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

     The valid options are given below.  Any other arguments or
     flags (e.g., -rC3) are passed to nroff(1) or to the mm macro
     package 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.

     Mm reads the standard input when a dash (-) is specified
     instead of any filenames.  This option allows mm to be used
     as a filter, e.g.:

          cat dws | mm -

OPTIONS
     -Tterm         Specify the type of output terminal.  For a
                    list of recognized values for term, type help
                    term2.  If this option is not used, mm uses
                    the value of the shell variable $TERM from
                    the environment as the value of term if $TERM
                    is set.  Refer to profile(5) and environ(5)
                    for more information.  Otherwise, mm uses 450
                    as the value of term.  If several terminal
                    types are specified, the last one takes pre-
                    cedence.

     -12            Produce the document in 12 pitch.  This
                    option may be used when $TERM is set to one
                    of the following: 300, 300s, 450, and 1620.
                    (The pitch switch on the DASI 300 and 300s
                    terminals must be manually set to 12 if this
                    option is used.)

     -c             Invoke col(1).  This is done automatically,
                    unless term is one of the following: 300,
                    300s, 450, 37, 4000A, 382, 4014, tek, 1620,
                    and X.



Printed 12/4/86                                              MM-1







MM(1)                    DOMAIN/IX SYS5                     MM(1)



     -e             Invoke neqn(1).

     -t             Invoke tbl(1).

     -E             Invokes the -e option of nroff(1).

     -y             Use the non-compacted version of the macros.

EXAMPLES
     Assuming that the shell variable $TERM is set in the
     environment to 450, the two command lines below are
     equivalent:

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

CAUTIONS
     Mentioning other files along with the dash (-) that denotes
     standard input produces unfavorable results.

     Mm invokes nroff with the -h flag.  With this flag, nroff
     assumes that the terminal has tabs set every eight character
     positions.

     Use the -olist option of nroff to specify ranges of pages to
     be output.  Note, however, that invoking mm with one or more
     of the -e, -t, and - options, together with the -olist
     option of nroff, may cause a harmless ``broken pipe'' diag-
     nostic if the last page of the document is not specified in
     list.

     If you use the -s option of nroff to stop between pages of
     output, use line-feed rather than return or newline to res-
     tart the output.  The -s option of nroff does not operate
     properly with the -c option of mm, or if mm automatically
     invokes col.

     If you do not correctly specify the type of terminal on
     which the output of mm is to be printed, you will probably
     get a garbage message back.  However, if you are redirecting
     output into a file, use the -T37 option, and then use the
     appropriate terminal filter when you actually print that
     file.

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





MM-2                                              Printed 12/4/86







MM(1)                    DOMAIN/IX SYS5                     MM(1)



RELATED INFORMATION
     col(1), env(1), eqn(1), mmt(1), nroff(1), tbl(1).

     DOMAIN/IX Text Processing Guide.

















































Printed 12/4/86                                              MM-3





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