Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ man(1-ucb) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

apropos(1)

cat(1)

col(1)

lp(1)

more(1)

refer(1)

whatis(1)

catman(1M-ucb)

eqn(1M)

neqn(1M)

nroff(1M)

tbl(1M)

troff(1M)

eqnchar(5)

man(1-ucb)              (BSD Compatibility Package)              man(1-ucb)

NAME
     man - display reference manual pages; find reference pages by keyword

SYNOPSIS
     /usr/ucb/man [-] [-t] [-M path] [-T macro-package] [[section] title ...]
                  title ...

     /usr/ucb/man [-M path] -k keyword ...

     /usr/ucb/man [-M path] -f filename ...

DESCRIPTION
     The man command displays information from the reference manuals. It
     can display complete manual pages that you select by title, or one-
     line summaries selected either by keyword (-k), or by the name of an
     associated file (-f).

     A section, when given, applies to the titles that follow it on the
     command line (up to the next section, if any). man looks in the indi-
     cated section of the manual for those titles. section is a digit
     (perhaps followed by a single letter indicating the type of manual
     page). If section is omitted, man searches all reference sections
     (giving preference to commands over functions) and prints the first
     manual page it finds. If no manual page is located, man prints an
     error message.

     The reference page sources are typically located in the
     /usr/share/man/man? directories. Since these directories are option-
     ally installed, they may not reside on your host; you may have to
     mount /usr/share/man from a host on which they do reside. If there are
     preformatted, up-to-date versions in /usr/share/man/cat? or
     /usr/share/man/fmt? directories, man simply displays or prints those
     versions. If the preformatted version of interest is out of date or
     missing, man reformats it prior to display. If directories for the
     preformatted versions are not provided, man reformats a page whenever
     it is requested; it uses a temporary file to store the formatted text
     during display.

     If the standard output is not a terminal, or if the - flag is given,
     man pipes its output through cat. Otherwise, man pipes its output
     through more to handle paging and underlining on the screen.














Page 1                       Reliant UNIX 5.44                Printed 11/98

man(1-ucb)              (BSD Compatibility Package)              man(1-ucb)

OPTIONS
     -t       man arranges for the specified manual pages to be troffed to
              a suitable raster output device [see troff(1M)]. If both the
              - and -t flags are given, man updates the troffed versions of
              each named title (if necessary), but does not display them.

     -M path  Change the search path for manual pages. path is a colon-
              separated list of directories that contain manual page direc-
              tory subtrees. When used with the -k or -f options, the -M
              option must appear first. Each directory in the path is
              assumed to contain subdirectories of the form man[1-8] (see
              also environment variable MANPATH below).

     -T macro-package
              man uses macro-package rather than the standard -man macros
              defined in /usr/lib/tmac/tmac.an for formatting manual pages.

     -k keyword ...
              man prints out one-line summaries from the whatis database
              (table of contents) that contain any of the given keywords.

     -f filename ...
              man attempts to locate manual pages related to any of the
              given filenames. It strips the leading pathname components
              from each filename, and then prints one-line summaries con-
              taining the resulting basename or names.

MANUAL PAGES
     Manual pages are troff or nroff source files prepared with the -man
     macro package.

     When formatting a manual page, man examines the first line to deter-
     mine whether it requires special processing.

   Preprocessing Manual Pages

     If the first line is a string of the form:

          '\" X

     where X is separated from the " by a single SPACE and consists of any
     combination of characters in the following list, man pipes its input
     to troff or nroff through the corresponding preprocessors.

          e    eqn, or neqn for nroff

          r    refer

          t    tbl, and col for nroff

     If eqn or neqn is invoked, it will automatically read the file
     /usr/ucblib/pub/eqnchar [see eqnchar(5)].


Page 2                       Reliant UNIX 5.44                Printed 11/98

man(1-ucb)              (BSD Compatibility Package)              man(1-ucb)

ENVIRONMENT
     MANPATH   If set, its value overrides /usr/share/man as the default
               search path. The -M flag, in turn, overrides this value.

     PAGER     A program to use for interactively delivering man's output
               to the screen. If not set, "more -s" [see more(1)] is used.

     TCAT      The name of the program to use to display troffed manual
               pages. If not set, "lp -Ttroff" [see lp(1)] is used.

     TROFF     The name of the formatter to use when the -t flag is given.
               If not set, troff is used.

NOTES
     The manual is supposed to be reproducible either on a phototypesetter
     or on an ASCII terminal. However, on a terminal some information (all
     troff requests, for instance) is necessarily lost.

     Some dumb terminals cannot process the vertical motions produced by
     the e [eqn(1M)] preprocessing flag. To prevent garbled output on these
     terminals, when you use e also use t, to invoke col(1) implicitly.
     This workaround has the disadvantage of eliminating superscripts and
     subscripts - even on those terminals that can display them. CTRL-Q
     will clear a terminal that gets confused by eqn(1M) output.

CAVEAT
     The /usr/ucb/man command will not display Reliant UNIX man pages. It
     is included for users who have BSD man pages.

FILES
     /usr/share/man
          Main directory for the on-line man page system

     /usr/share/man/man?/*
          Unformatted manual entries

     /usr/share/man/cat?/*
          nroffed manual entries

     /usr/share/man/fmt?/*
          troffed manual entries

     /usr/share/man/whatis
          Table of contents and keyword database

     /usr/ucblib/makewhatis
          Command script to make whatis(1) database

     /usr/lib/tmac/tmac.an
          Standard -man macro package




Page 3                       Reliant UNIX 5.44                Printed 11/98

man(1-ucb)              (BSD Compatibility Package)              man(1-ucb)

     /usr/ucblib/pub/eqnchar
          Special character definitions for eqn and neqn

SEE ALSO
     apropos(1), cat(1), col(1), lp(1), more(1), refer(1), whatis(1),
     catman(1M-ucb), eqn(1M), neqn(1M), nroff(1M), tbl(1M), troff(1M),
     eqnchar(5).















































Page 4                       Reliant UNIX 5.44                Printed 11/98

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