Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ mm(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

col

env

eqn, neqn, checkeq

greek

mmt, checkmm

nroff, troff

tbl

profile

eqnchar

mm

term miscella-

neous facilities in AIX Operating System Technical Refer-

mm, checkmm

PURPOSE

     Displays  or checks  documents formatted  with Memorandum
     Macros.

SYNOPSIS
     mm [ options ] [ files ]

     checkmm [ files ]


DESCRIPTION

     Using the  nroff command  and the Memorandum  Macro text-
     formatting package  (MM), the mm command  writes files to
     standard output.  If  you specify a -  (minus) instead of
     any files, mm reads standard  input.  Do not specify both
     file names and standard input on the command line.

     The mm command has flags  to specify preprocessing by the
     tbl  and/or eqn  commands and  postprocessing by  various
     work station  oriented output  filter.  It  generates the
     proper pipelines and the required arguments for nroff and
     MM, depending on the flags selected, creates the required
     pipelines.

     The checkmm  command is a  program for checking  the con-
     tents of the named files for  errors in the use of MM and
     some eqn  and neqn constructions.  The  program skips all
     directories, and  if you do  not specify a  file, checkmm
     reads standard input.

     Notes:

     1.  Use the -olist argument of nroff to specify ranges of
         pages to be output.   Note, however, that invoking mm
         with one or more of the -e, -t, and - minus arguments
         together  with  nroff  -olist may  cause  a  harmless
         "broken pipe" diagnostic if the last page of the doc-
         ument is not specified in list.

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

     3.  If  you use  the -s  flag of  nroff (to  stop between
         pages of  output), use a linefeed  (rather than Enter
         or a new-line character)  to restart the output.  The

         -s flag of nroff does not work with the -c flag of mm
         or if mm automatically calls the col command.

     4.  If you provide inaccurate information to mm about the
         kind of work station its  output is to be printed on,
         you will get unsatisfactory  results; however, 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 nroff or  to MM, as appropriate.  The  flags can occur
     in any order, but they  must come before file.  To obtain
     a list of mm flags, enter  the command name with no argu-
     ments.

     -c             Invokes the col command.  Note that col is
                    invoked automatically  by mm  unless work-
                    station (the -T flag  parameter) 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 nroff.
     -t             Invokes the tbl command.
     -Tworkstation  Uses  work   station  specification  work-
                    station.  For a  list of recognized values
                    for workstation, enter:

                      help term1

                    By default, mm uses the value of the shell
                    variable $TERM from the environment as the
                    value of workstation.  If $TERM is not set
                    mm uses lp.  If several work station types
                    are specified,  the last one  listed takes
                    effect.
     -12            Uses 12-pitch font.  This may be used when
                    $TERM is set to one  of 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

     The  following  commands:   "col,"  "env,"   "eqn,  neqn,
     checkeq,"  "greek," "mmt, checkmm,"  "nroff, troff," and
     "tbl."

     The profile file and the  eqnchar, mm, and term miscella-
     neous facilities in AIX Operating System Technical Refer-
     ence.

     The discussion of mm in Text Formatting Guide.

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