Command completion in maxima, xmaxima or wxmaxima ?
Subject: Command completion in maxima, xmaxima or wxmaxima ?
From: Robert Dodier
Date: Sun, 30 Aug 2009 09:10:30 -0600
On 8/30/09, oc-spam65 <oc-spam65 at laposte.net> wrote:
> is maxima/xmaxima/wxmaxima capable of command completion ?
Not exactly. Maxima doesn't handle its own readline stuff.
Either it's handled by the Lisp implementation (some have readline
and some don't) or by an external program, e.g. rlwrap.
There is a script in the Maxima distribution, namely rmaxima,
which launches maxima within rlwrap. You have to install rlwrap
separately. It used to be available at this URL, maybe it still is:
http://utopia.knoware.nl/~hlub/uck/rlwrap
rmaxima uses a Maxima-specific list of symbols for tab completion,
namely builtins-list.txt. That list is somewhat out of date; there are
some new symbols, and probably some that have gone away.
Also, rmaxima does not put user-defined symbols on the tab
completion list. (Probably it should, but nobody has made it happen yet.)
There is no tab completion for wxMaxima or Xmaxima so far as I know.
> * In maxima, if I type "dif" and [tab], maxima reacts and writes "DIFF " on
> the command line. This is useful to get the name of the desired command.
> However, it is written in uppercase and there is a space after it, so I need
> to rewrite it in lower case and remove the space. Strange.
That's the Lisp implementation's tab completion -- it's completing
a Lisp symbol, not a Maxima symbol.
HTH
Robert Dodier