octave-maintainers
[Top][All Lists]
Advanced

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

Re: Selective history search with arrow keys


From: John W. Eaton
Subject: Re: Selective history search with arrow keys
Date: Fri, 22 Apr 2005 22:23:36 -0400

On 22-Apr-2005, Keith Goodman <address@hidden> wrote:

| I didn't word my question well. What I was trying to ask is if it is
| possible to make this a default feature in octave. If it's a default
| feature octave shouldn't touch the .inputrc file.

Octave already includes a function called read_readline_init_file, so
I suppose we could add something like

  read_readline_init_file (sprintf ("%s%s%s", startupfiledir, filesep, 
"inputrc"));

to the system-wide octaverc file (one is already installed, but I
think it is empty except for a comment), and then also install a
default inputrc file that contains the lines I sent earlier.  Would
you like to submit a patch that does that?

jwe



reply via email to

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