Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mm(1) — AIX PS/2 1.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

col

env, printenv

eqn, neqn, checkeq

mmt, mant, mvt

nroff, troff

tbl

profile

eqnchar

mm

term

discussion of the mm



MM, CHECKMM(1,C)            AIX Commands Reference             MM, CHECKMM(1,C)



-------------------------------------------------------------------------------
mm, checkmm



PURPOSE

Displays documents formatted with the memorandum macros.

SYNTAX


      +-------------------+   +---- - -----+
mm ---| +---------------+ |---|            |---|
      +-| -12           |-+   +--- file ---+
       ^| -c            ||      ^        |
       || -e            ||      +--------+
       || -E            ||
       || -t            ||
       || -Tworkstation ||
       |+---------------+|
       +-----------------+

           +--------+
checkmm ---|        |---|
         ^ +- file -+ |
         |            |
         +------------+


Note:  This command does not have MBCS support.

DESCRIPTION

Using the nroff command and the memorandum macros text-formatting package, the
mm command writes files to standard output.  If you specify a - (minus) in
place of the file parameter, the command reads standard input.  Do not specify
both file names and standard input.

The mm command has flags to specify preprocessing by the tbl and/or eqn
commands and post-processing by various work station-oriented output filters.
The mm command generates the proper pipelines and required parameters for the
nroff command, depending on the flags selected.

The checkmm command checks the contents of the specified files for errors in
the use of the memorandum macros and some eqn and neqn command constructions.
The checkmm command skips all directories.  If you do not specify a file
parameter, the checkmm command reads standard input.







Processed November 8, 1990     MM, CHECKMM(1,C)                               1





MM, CHECKMM(1,C)            AIX Commands Reference             MM, CHECKMM(1,C)



Notes:

  1. Use the -olist argument of the nroff command to specify ranges of pages
    for output.  However, invoking mm with one or more of the -e, -t, and -
    minus flags together with the nroff -olist parameter may cause a harmless
    "broken pipe" diagnostic if the last page of the document is not specified
    in the list variable.

  2. The mm command calls nroff with the -h flag.  The nroff command assumes
    the work station has tabs set every eight character positions.

  3. If you use the -s flag of the nroff command to stop between pages of
    output, use a line feed rather than Enter or a new-line character to
    restart the output.  The -s flag of nroff is not compatible with the -c
    flag of the mm command; nor is it compatible with the mm command if mm
    automatically calls the col command.

  4. Providing inaccurate information to mm about the kind of work station its
    output is to be printed on yields unsatisfactory results.  If you are
    redirecting output to a file, use the -T37 flag and then use the
    appropriate work station filter when you actually print the file.

FLAGS

Any flags on the command line not listed below are passed to the nroff command
or to memorandum macros.  The flags can occur in any order but they must come
before the file parameter.

-c                 Invokes the col command, which is invoked automatically by
                   the mm command unless the workstation variable is one of the
                   following:

                     o 300
                     o 300s
                     o 450
                     o 37
                     o 4000a
                     o 382
                     o 4014
                     o tek
                     o 1620
                     o X

-e                 Invokes the neqn command.

-E                 Invokes the -e flag of the nroff command.

-t                 Invokes the tbl command.

-Tworkstation      Specifies the work station.  To display a list of recognized
                   values for the workstation variable, enter:




Processed November 8, 1990     MM, CHECKMM(1,C)                               2





MM, CHECKMM(1,C)            AIX Commands Reference             MM, CHECKMM(1,C)



                     help term1

                   By default, the mm command uses the value of the shell
                   variable $TERM from the environment as the value of
                   workstation.  If $TERM is not set, the mm command uses the
                   lp command.  If several work station types are specified,
                   the last one listed takes effect.

-12                Specifies 12-pitch font, which can be used when $TERM is set
                   to 300, 300s, 450, or 1620.  The pitch switch on the DASI
                   300 and 300s work stations must be manually set to 12 if
                   this flag is used.

RELATED INFORMATION

See the following commands:  "col,"  "env, printenv,"  "eqn, neqn, checkeq,"
"mmt, mant, mvt,"  "nroff, troff," and  "tbl."

See the profile file and the eqnchar, mm, and term miscellaneous facilities in
AIX Operating System Technical Reference.

See the discussion of the mm command in Text Formatting Guide.

































Processed November 8, 1990     MM, CHECKMM(1,C)                               3



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