This file is indexed.

/usr/share/doc/mathomatic/html/mathomatic.1.html is in mathomatic 16.0.4-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
<!-- manual page source format generated by PolyglotMan v3.2, -->
<!-- available at http://polyglotman.sourceforge.net/ -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
  <meta name="generator" content=
  "HTML Tidy for Linux (vers 25 March 2009), see www.w3.org">

  <title>MATHOMATIC(1) manual page</title>
</head>

<body bgcolor='white'>
  <a href='#toc'>Table of Contents</a>

  <h2><a name='sect0' href='#toc0' id=
  "sect0">Name</a></h2>mathomatic - a computer algebra system

  <h2><a name='sect1' href='#toc1' id=
  "sect1">Synopsis</a></h2><b>mathomatic</b> [
  <b>-abcdehqrtuvwx</b> ] [ <b>-s</b> level ] [ <b>-m</b> number ]
  [ input_files or input ]

  <h2><a name='sect2' href='#toc2' id=
  "sect2">Description</a></h2>Mathomatic is a general-purpose
  computer algebra system (CAS) that can symbolically solve,
  simplify, combine, and compare algebraic equations, perform
  standard, complex number, modular, and polynomial arithmetic,
  etc. It does some calculus and handles all elementary algebra,
  except logarithms. Trigonometry and function expansion are
  supported in a separate program called <a href=
  'rmath.1.html'><b>rmath</b>(1)</a> . Plotting expressions with
  <b>gnuplot</b> is also supported.

  <p><b>mathomatic</b> is the main Mathomatic application that does
  interactive symbolic-numeric mathematics through a simple
  command-line interface. Readline support is usually compiled into
  this application, making it easy to edit input and recall
  previous input with the cursor keys. The numeric arithmetic is
  double precision floating point with about 14 decimal digits
  accuracy. Many results will be exact, because symbolic math is an
  exact math, and because multiple floating point numbers can be
  combined for a single mathematical value; for example:
  <b>2^(1/3),</b> which is the cube root of 2 exactly.</p>

  <h2><a name='sect3' href='#toc3' id="sect3">Options</a></h2>

  <dl>
    <dt><b>-a</b></dt>

    <dd>Enable alternative colors. Ansi color mode will be enabled
    in MS-Windows, if this option is specified and color mode is
    on.</dd>

    <dt><b>-b</b></dt>

    <dd>Enable bold colors. Color mode will be turned on and colors
    will be brighter if this option is specified. Same as the "set
    bold color" command.</dd>

    <dt><b>-c</b></dt>

    <dd>Toggle color mode. This mode outputs ANSI terminal escape
    sequences to make each level of parentheses a different color,
    for easier reading. Requires a terminal emulator that supports
    ANSI color escape sequences. If the colors are too hard to see,
    use the <b>-b</b> option to increase the color brightness.</dd>

    <dt><b>-d</b></dt>

    <dd>Set demo mode. Currently this mode only bypasses loading
    the startup (rc) file, and ignores the pause command. It also
    allows using the calculate command without prompting for the
    values of any of the variables.</dd>

    <dt><b>-e</b></dt>

    <dd>Process mathematical expressions and Mathomatic commands
    instead of input files on the shell command line, and then
    quit. Unquoted space characters are the line separators on the
    Mathomatic input that follows this option. Works similar to
    entering it into the Mathomatic main prompt, except the
    autoselect option is turned off. Useful for quick command-line
    calculations. The startup messages are not displayed with this
    option. Follow this option with "--" so that expressions can
    start with a minus sign (-).</dd>

    <dt><b>-h</b></dt>

    <dd>Display a brief help message listing all of these options
    and then exit.</dd>

    <dt><b>-m number</b></dt>

    <dd>Change the memory size of equation spaces. It is followed
    by a decimal, floating point number which is a multiplier of
    the default equation space size. This allows larger equation
    spaces so that manipulating extremely large expressions will
    succeed without getting the "Expression too large" error.
    Specifying a number higher than 100 may make Mathomatic
    unresponsive.</dd>

    <dt><b>-q</b></dt>

    <dd>Set quiet mode. The startup messages and prompts are not
    displayed. This is useful when piping or redirecting input into
    Mathomatic, because the input won&rsquo;t be displayed, so
    prompt output should be turned off. This option does the same
    thing as the "set no prompt" command.</dd>

    <dt><b>-r</b></dt>

    <dd>Disable readline input processing. Readline allows line
    input editing using the cursor keys, and outputs terminal
    control codes, all of which can be turned off with this
    option.</dd>

    <dt><b>-s level</b></dt>

    <dd>Set the enforced security level for the Mathomatic session.
    Level 0 is the default with no security. Level 1 disallows
    shelling out (forking). Level 2 disallows shelling out and
    writing files. Level 3 disallows shelling out and
    reading/writing files. Level 4 is the highest security level
    and is the same as compiling with the -DSECURE option. This
    run-time option was created for use on open public
    servers.</dd>

    <dt><b>-t</b></dt>

    <dd>Set test mode. Used when testing and comparing output.
    Bypasses loading startup (rc) file, turns off color mode and
    readline, sets wide output mode, ignores the pause command,
    etc. It also allows using the calculate command without
    prompting for the values of any of the variables.</dd>

    <dt><b>-u</b></dt>

    <dd>Guarantee that standard output and standard error output
    are unbuffered. Also echoes all line input if not in quiet mode
    ( <b>-q</b> option ). Useful when piping.</dd>

    <dt><b>-v</b></dt>

    <dd>Display program name and version number, then exit
    successfully.</dd>

    <dt><b>-w</b></dt>

    <dd>Set wide output mode for an unlimited width output device
    like the "set wide" command does. Sets infinite screen columns
    and rows so that 2D (two-dimensional) expression output will
    always succeed and not be downgraded to 1D output when it
    doesn&rsquo;t fit in the display area. Use when redirecting
    output or with a terminal emulator that doesn&rsquo;t wrap
    lines. This mode only affects 2D output.</dd>

    <dt><b>-x</b></dt>

    <dd>Enable HTML output mode (which is also valid XHTML). This
    makes Mathomatic output suitable for inclusion in a web page.
    Color and bold mode affect this mode, allowing HTML color
    output. Wide output mode is also set by this option, meaning
    expressions will always be displayed in 2D.</dd>
  </dl>

  <h2><a name='sect4' href='#toc4' id="sect4">General</a></h2>After
  any options, text files may be specified on the shell command
  line that will be automatically read in with the read command,
  unless the <b>-e</b> option is specified.

  <p>Mathomatic is best run from within a terminal emulator. It
  uses console line input and output for the user interface. First
  you type in your mathematical equations in standard algebraic
  notation, then you can solve them by typing in the variable name
  at the prompt, or perform operations on them with simple English
  commands. Type "help" or "?" for the help command, "help
  examples" to get started. If the command name is longer than 4
  letters, you only need to type in the first 4 letters. Most
  commands operate on the current equation by default.</p>

  <p>A command preceded by an exclamation point (such as "!ls") is
  taken to be a shell command and is passed unchanged to the shell
  (/bin/sh). "!" by itself invokes the default shell, which is
  specified in the SHELL environment variable. "!" is also the
  factorial operator.</p>

  <p>Complete documentation is available in HTML and PDF formats;
  see the local documentation directory or online at "<a href=
  'http://mathomatic.org/math/doc/'>http://mathomatic.org/math/doc/</a>
  " for the latest Mathomatic documentation.</p>

  <h2><a name='sect5' href='#toc5' id="sect5">Environment</a></h2>

  <dl>
    <dt><b>EDITOR</b></dt>

    <dd>The EDITOR environment variable specifies which text editor
    to use for the edit command.</dd>
  </dl>

  <h2><a name='sect6' href='#toc6' id="sect6">Files</a></h2>

  <dl>
    <dt><b>~/.mathomaticrc</b></dt>

    <dd>Optional startup file containing Mathomatic set command
    options. It should be a text file with one or more set options
    per line. For example, the line "no color" will make Mathomatic
    default to non-color mode, which is useful if you aren&rsquo;t
    using a supported color device.</dd>
  </dl>

  <h2><a name='sect7' href='#toc7' id=
  "sect7">Author</a></h2>Mathomatic has been written by George
  Gesslein II (gesslein@mathomatic.org), with help from the
  Internet community.

  <h2><a name='sect8' href='#toc8' id="sect8">Reporting
  Bugs</a></h2>The command to take the limit of an expression is
  partially functional and experimental. All else should work
  perfectly; if not, please report it as a bug to the author or on
  the Launchpad website: "<a href=
  'https://launchpad.net/mathomatic'>https://launchpad.net/mathomatic</a>
  ".

  <h2><a name='sect9' href='#toc9' id="sect9">See
  Also</a></h2><a href='rmath.1.html'><b>rmath</b>(1)</a> ,
  <a href='matho-primes.1.html'><b>matho-primes</b>(1)</a> ,
  <a href='primorial.1.html'><b>primorial</b>(1)</a> , <a href=
  'matho-mult.1.html'><b>matho-mult</b>(1)</a> , <a href=
  'matho-sum.1.html'><b>matho-sum</b>(1)</a> , <a href=
  'matho-pascal.1.html'><b>matho-pascal</b>(1)</a> , <a href=
  'matho-sumsq.1.html'><b>matho-sumsq</b>(1)</a>
  <hr>

  <p><a name='toc' id="toc"><b>Table of Contents</b></a></p>

  <ul>
    <li><a name='toc0' href='#sect0' id="toc0">Name</a></li>

    <li><a name='toc1' href='#sect1' id="toc1">Synopsis</a></li>

    <li><a name='toc2' href='#sect2' id="toc2">Description</a></li>

    <li><a name='toc3' href='#sect3' id="toc3">Options</a></li>

    <li><a name='toc4' href='#sect4' id="toc4">General</a></li>

    <li><a name='toc5' href='#sect5' id="toc5">Environment</a></li>

    <li><a name='toc6' href='#sect6' id="toc6">Files</a></li>

    <li><a name='toc7' href='#sect7' id="toc7">Author</a></li>

    <li><a name='toc8' href='#sect8' id="toc8">Reporting
    Bugs</a></li>

    <li><a name='toc9' href='#sect9' id="toc9">See Also</a></li>
  </ul>
</body>
</html>