1

In this script:

#!/usr/bin/octave --line-editing a = input("command: ", "s"); a = input("command: ", "s"); 

during the second input, if you press the up arrow, it should show the command entered in the first input. At this point, Octave 4.0.0, after a fresh installation, does not show it. After much reading, I came to the conclusion that it's a readline thing, but can't figure out how to make it work.How to configure 'readline' such that GNU/Octave's 'input' command can browse its history

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.