help-octave
[Top][All Lists]
Advanced

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

Re: testing binary of octave-3.3.91 (mingw32) is uploaded


From: John W. Eaton
Subject: Re: testing binary of octave-3.3.91 (mingw32) is uploaded
Date: Wed, 2 Feb 2011 15:23:42 -0500

On  2-Feb-2011, fork wrote:

| Tatsuro MATSUOKA <tmacchant <at> yahoo.co.jp> writes:
| 
| > To be honest, I cannot understand what is a problem for command line 
history.
| > Please show me more detailed example that you think as a problem.
| 
| Let's say you type the following sequence, hitting return after each line:
| 
| y=2
| z=3
| x=add(y,z)
| 
| In matlab and stable octave you then can type the single character "y" and 
press
| the up arrow and you will get "y=3".  In your build of octave if you press the
| up arrow you get "x=add(y,z)", ignoring the hint given by the "y" character 
(it
| is sort of like incremental search, limiting the search backward to options 
with
| the given prefix).

Try adding the following lines to your ~/.inputrc file:

  $if Octave
  "\e[A": history-search-backward
  "\e[B": history-search-forward
  $endif

jwe


reply via email to

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