diff -Nurd -x'*~' math.orig/am.1 math/am.1 --- math.orig/am.1 2000-12-30 04:22:18.000000000 -0500 +++ math/am.1 2003-11-13 18:48:48.000000000 -0500 @@ -1,24 +1,30 @@ -.TH am 1 +.TH mathomatic 1 .SH NAME -am \- Algebraic Manipulator +mathomatic \- Algebraic Manipulator .SH SYNOPSIS -.B am +.B mathomatic [ .B -c ] [ +.B -h +] [ .I input_files ] .SH DESCRIPTION -.B "am" +.B "mathomatic" executes the automatic algebraic manipulator "Mathomatic" in color mode. The .B "-c" option toggles color mode. Color mode outputs ANSI escape sequences to make each level of parentheses a different color, for easier reading. +The +.B "-h" +option toggles HTML mode. +HTML mode formats output in HTML, suitable for inclusion in a web page. First you type in your equation(s), then you can solve them or perform operations on them with the Mathomatic commands. diff -Nurd -x'*~' math.orig/am.h math/am.h --- math.orig/am.h 2003-09-09 19:44:32.000000000 -0400 +++ math/am.h 2003-11-13 18:49:39.000000000 -0500 @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #if MSC diff -Nurd -x'*~' math.orig/cmds.c math/cmds.c --- math.orig/cmds.c 2003-10-26 22:09:06.000000000 -0500 +++ math/cmds.c 2003-11-13 18:52:13.000000000 -0500 @@ -9,6 +9,9 @@ #if MSC #include #endif +#if UNIX && !SECURE +#include +#endif int opt_en[N_EQUATIONS]; int last_temp_var = 0; diff -Nurd -x'*~' math.orig/main.c math/main.c --- math.orig/main.c 2003-11-05 04:25:30.000000000 -0500 +++ math/main.c 2003-11-13 19:01:44.000000000 -0500 @@ -30,6 +30,7 @@ #include #if READLINE #include +#include #endif #if LINUX #include @@ -37,6 +38,9 @@ #if UNIX #include #endif +#if (IBM_PC || UNIX) && !SECURE +#include +#endif #define VERSION "10.8b" diff -Nurd -x'*~' math.orig/manual.htm math/manual.htm --- math.orig/manual.htm 2003-10-23 22:22:32.000000000 -0400 +++ math/manual.htm 2003-11-13 19:04:11.000000000 -0500 @@ -51,12 +51,10 @@
SYNTAX
-am [-c] [-h] [input_files] +mathomatic [-c] [-h] [input_files]

-The Mathomatic program is named "am". -ANSI color mode is enabled by default. -ANSI color mode can be toggled by the "-c" option. +ANSI color mode can be disabled by the "-c" option. ANSI color mode outputs ANSI escape sequences to make each level of parentheses a different color, to improve readability. @@ -247,7 +243,7 @@ Please consult the Mathomatic Command Reference, for detailed information on commands. It is available in the file -"am.htm". +"mathomatic.htm". It can be viewed with a web browser or an HTML file viewing/printing program.