octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #51289] Up arrow not showing Octave history co


From: Night Cod3r
Subject: [Octave-bug-tracker] [bug #51289] Up arrow not showing Octave history commands from an executable script
Date: Wed, 21 Jun 2017 19:48:04 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

Follow-up Comment #3, bug #51289 (project octave):

Launching the script with --line-editing, Ctrl-p and Ctrl-n do fetch the
previous and next command in the ~/.octave_hist file, same behavior as
pressing up- and down-arrow. If I recall well, the words fed at the input were
also fetched, I mean, for older versions, this script:

#!/usr/bin/octave --line-editing

a = input(">> ", "s"); 
a = input(">> ", "s"); 

would allow to fetch the word fed in the first input command during the second
input command, meaning that the word that was input first was somehow stored
in the history. This doesn't happen in 4.0.0 version.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51289>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]