[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: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #51289] Up arrow not showing Octave history commands from an executable script |
Date: |
Fri, 23 Jun 2017 19:55:30 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 |
Follow-up Comment #6, bug #51289 (project octave):
As an example:
$ rlwrap -C myprogram octave --eval 'a = input ("enter something>> ", "s")'
enter something>> first
$ rlwrap -C myprogram octave --eval 'a = input ("enter something>> ", "s")'
enter something>> second
If you call Octave this way, you get your own custom readline wrapper around
Octave, your own history file (~/.myprogram_history by default), you can
configure your own command completions if you want, and so on. IMHO this is
much better done outside of Octave, if I'm understanding correctly what you're
trying to do.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51289>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #51289] Up arrow not showing Octave history commands from an executable script, Night Cod3r, 2017/06/21
- [Octave-bug-tracker] [bug #51289] Up arrow not showing Octave history commands from an executable script, John W. Eaton, 2017/06/21
- [Octave-bug-tracker] [bug #51289] Up arrow not showing Octave history commands from an executable script, Night Cod3r, 2017/06/21
- [Octave-bug-tracker] [bug #51289] Up arrow not showing Octave history commands from an executable script, Night Cod3r, 2017/06/21
- [Octave-bug-tracker] [bug #51289] Up arrow not showing Octave history commands from an executable script, Night Cod3r, 2017/06/21
- [Octave-bug-tracker] [bug #51289] Up arrow not showing Octave history commands from an executable script, Mike Miller, 2017/06/23
- [Octave-bug-tracker] [bug #51289] Up arrow not showing Octave history commands from an executable script,
Mike Miller <=
- [Octave-bug-tracker] [bug #51289] Up arrow not showing Octave history commands from an executable script, Francisco Vico, 2017/06/24
- [Octave-bug-tracker] [bug #51289] Up arrow not showing Octave history commands from an executable script, Mike Miller, 2017/06/25