I would like to perfom such feats as cycling through previous commands, editing commands in place, etc. My expectation would be a readline-like interface, but this appears to not be the default.
Answer
If you want readline-like behavior you can of course use a readline wrapper. This works on all operating systems. On Ubuntu Linux (and other distributions I'm sure too) it can be installed easily through the package management. On Max OSX this can be installed using for instance MacPorts and I'm sure, there is an easy option on Windows too. Anyway, on all systems you can compile it yourselft. The usage is then
rlwrap math
on Linux or
rlwrap /Applications/Mathematica.app/Contents/MacOS/MathKernel
on Mac OSX. Try it and be surprised ;-)
Comments
Post a Comment