[Maxima] Command completion in maxima, xmaxima or wxmaxima ?
robert.dodier at gmail.com
Sun Aug 30 10:10:30 CDT 2009
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:
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.
More information about the Maxima