
	    The Maple V Release 4 Command Line Interface
	    ============================================



DESCRIPTION

  The command line interface of Maple V Release 4 allows you full access
  to the Maple mathematical engine, through an efficient text-based interface. 
  It is particularly suited to solving large mathematical problems on
  slower computers or computers with limited memory.

  The following is a sample Maple session.  Maple's output is shown to
  the right of the input expressions.

==============================================================================

      |\^/|     Maple V Release 4
  ._|\|   |/|_. Copyright (c) 1981-1995 by Waterloo Maple Inc. All rights
   \  MAPLE  /  reserved. Maple and Maple V are registered trademarks of
   <____ ____>  Waterloo Maple Inc.
	|       Type ? for help.
  > p := x^2-x-2;
					2
				  p := x  - x - 2

  > q := (x+1)^2;
					       2
				   q := (x + 1)

  > s := p/q;
					2
				       x  - x - 2
				  s := ----------
					       2
					(x + 1)

  > diff(s,x);  # Differentiate with respect to x.
					    2
			      2 x - 1      x  - x - 2
			      -------- - 2 ----------
				     2             3
			      (x + 1)       (x + 1)

  > normal(s);
				       x - 2
				       -----
				       x + 1

  > x := 3^50;
			   x := 717897987691852588770249

  > s; # Re-evaluate s with a value substituted for x.
			      717897987691852588770247
			      ------------------------
			      717897987691852588770250

  # Set the precision to use for floating point results.
  > Digits := 40;
				    Digits := 40

  > evalf(s); # Re-evaluate s in floating point format.
		     .9999999999999999999999958211332927043850

  > quit

==============================================================================

   Input commands may be edited using special key sequences.  These
   commands are described in the Maple help page "?editing".


STARTING

  On systems which offer a command line, the Command Line version of
  Maple V Release 4 may be invoked as follows.

    maple [ -b libname ] [ -e errorbreak ] [ -g gcinterval ]
       [ -f ] [ -q ] [ -s ] [ -w warninglevel] [ -x ]

  or

    maple -I

  Under Windows 95, Windows NT, and OS/2 the name is "cmaple" rather than
  "maple".  Under Windows 3.1 the name of the application, is "mapledos".


OPTIONS

  The command maple (or mapledos, or cmaple) accepts the following options.

  -b   The -b (library) option tells Maple that the following argument should
       be used as the pathname of the directory which contains the Maple
       library.  This initializes the Maple  variable `libname'.  By default,
       `libname' is initialized with the name of the directory in which
       the library was installed.

       More than one -b option can be specified.  In this case, the first -b
       option overrides the default `libname' setting, and subsequent -b
       options are appended to `libname', forming a Maple expression sequence
       of directory names.

  -e   The -e (break on error) option tells Maple what to do when an error is
       encountered while reading a file. -e0 tells Maple to to report the
       error and keep reading the file. -e1 (the default) tells Maple to stop
       reading the file (and skip to the end) when a syntax error is encoun-
       tered. -e2 tells Maple to stop reading and skip to the end when any
       type of error is encountered. This behaviour can also be changed from
       within Maple using the command interface(errorbreak=n) where n is 0,
       1, or 2.

  -g   The -g (garbage collection interval) option tells Maple at what inter-
       val (in terms of number of words of storage allocated) to perform gar-
       bage collection. The default on most platforms is every 250,000
       words. This setting can also be changed from within Maple using the
       command kernelopts(gcfreq=n) where n is the desired interval.

  -f   The -f (filter) option forces Maple to exit when the standard input
       has been redirected from a file, and the end of the file is encoun-
       tered. By default, Maple will not exit, and will instead continue
       interactively at that point.

  -I   Invokes Maple in a special mode used to configure the license manger.
       -I cannot be used with other options.

  -q   The -q (quiet) option will suppress the printing of Maple's startup
       message, various informational messages (bytes used messages and
       garbage collection messages), and the signoff message.  Maple is
       better suited for use as a filter when these messages are suppressed.

  -s   The -s (suppress initialization) option causes Maple to forego reading
       any initialization file when initiating a session.

  -w   The -w (warning level) option specifies whether maple should print
       certain warnings.  In previous versions of maple, variables are
       assumed to be global unless explicitly declared local, but this has
       changed in the present version. -w 0 turns off the local variable
       warning.  -w 1 (the default) enables the local variable warning.  For
       further details, see m2src and updtsrc.


