Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #12213 > unrolled thread
| Started by | "A. Lapraitis" <ffcitatos@gmail.com> |
|---|---|
| First post | 2012-11-01 07:20 +0000 |
| Last post | 2012-11-01 07:20 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Easy arrow key usage for original terminal frontend "A. Lapraitis" <ffcitatos@gmail.com> - 2012-11-01 07:20 +0000
| From | "A. Lapraitis" <ffcitatos@gmail.com> |
|---|---|
| Date | 2012-11-01 07:20 +0000 |
| Subject | Easy arrow key usage for original terminal frontend |
| Message-ID | <k6t7so$1n7$1@smc.vnet.net> |
Hello,
In case I am not the only person having trouble with Mathematica terminal
frontend ('math'), I post the solution.
The exact problem is that the arrow keys do not work correctly on bash (or
screen). For example, pressing left arrow gives ^[[D. There seems to be a
long solution, involving a python program on a blog (
http://marrabbio.com/?p=2261 ), and there also is a readline based
frontend, called JMath ( http://robotics.caltech.edu/~radford/jmath/ ).
However, I found these solutions impossible to implement in my situation
(no root privileges on the Mathematica server).
An easy workaround is to use rlwrap (
http://utopia.knoware.nl/~hlub/rlwrap/). One has to download the
source, and compile it
$ ./configure; make
After this, src/rlwrap is the executable to use:
$ ./src/rlwrap math
Hope this saves somebody some time!
ff
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web