Up-arrow on 2.1.73 without readline

John W. Eaton jwe at octave.org
Wed Jan 14 20:26:06 CST 2009


On 14-Jan-2009, spasmous wrote:

| I have installed octave on an old Linux system that I cannot upgrade. I
| tried installing 3.03 but the gnuplot version was not recent enough so I
| went to 2.1.73. This version compiles but I need to specify the
| --disable-readline flag in ./configure. Once at the octave command line, a
| minor inconvenience is that Up-Arrow does not recall the most recent
| commands. Instead it displays [[^A. I was wondering if this is a readline
| issue? Is there a way to modify the key bindings in an Octave setup file?

2.1.73 is not supported.  I strongly encourage you to use the 3.0.x
series instead.

The readline library is the thing that handles command line editing
and history.  You disabled it, so it doesn't work.  If you want
command line editing to work, you'll need to build Octave with
readline enabled.

jwe


More information about the Help-octave mailing list