help-octave
[Top][All Lists]
Advanced

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

Re: pcolor in octave 3.0 requires same dimension


From: John W. Eaton
Subject: Re: pcolor in octave 3.0 requires same dimension
Date: Thu, 27 Dec 2007 16:14:49 -0500

On 27-Dec-2007, Puck Ja wrote:

| My last version was 2.9.12.  Up to that version, the command recall was
| there but it is not possible to use "partial string" + "up arrow" to find
| the most recent match, which is extremely useful.  Eg. "plot(x" + "up arrow"
| will give me most recent "plot(x,y)" even thought it is 10th entry in my
| history list.  In the past, octave will ignore my partial hint, "plot(x",
| and just give me the next entry in the history list (unless I use ctrl-r,
| which is still awkward), but now octave will jump to the most recent match.
| That is what I meant "matlab" style recall.  (It may exist long before
| matlab).  Anyhow, I just love to see this feature in octave.  Good job and
| thanks a lot!

I think it has been possible to do this from almost the beginning of
Octave by adding

  "\e[A": history-search-backward
  "\e[B": history-search-forward

to your ~/.inputrc file.  Or at least it has been possible since the
GNU Readline library has had the history-search{for,back}ward
functions.  The "\e[A" and "\e[B" here are the ANSI escape sequences
for the up and down arrow keys.  Maybe it has just been that these
escape sequences have not been bound by default in Octave until
recently, though I thought they had been set since some time before
2.9.12.

jwe


reply via email to

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