Wolfram Library Archive

All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

JMath: A Text Frontend with Command Editing (emacs/vi), History, and Symbol Completion

Jim Radford
Organization: California Institute of Technology
URL: http://robotics.caltech.edu/~radford/jmath/
Old MathSource #

Revision date


JMath is a text based frontend for Mathematica that is based on the GNU Readline library. It is to Mathematica what tcsh/bash are to csh/sh. If you don't know what these are then you probably don't want this program. The following are some of it's advantages over the default text based frontend 'math'.

o Command line editing and history (via readline)
o Symbol completion
o Filename completion within strings and after << and >>
o Lets Mathematica know when terminal is resized
o Moves cursor to position of syntax errors for easy correction

In order to build JMath you will need a copy of GNU Readline. If you don't have it it can be found at ftp://prep.ai.mit.edu/pub/gnu. Readline versions less than 2.2 wont complete filenames properly.

I have tested JMath on Solaris/Linux/Irix with Mathematica-3.0, 4.0 and readline-2.1, 2.2, and 4.0.

*Mathematica Technology > Front End

Mathematica, JMath, commandline, command line, edit, editing, history, Linux, Solaris, Irix, readline, completion, text, frontend, emacs, vi

jmath-0.9.10-2.tar.gz (18.6 KB) - MathLink C Source