help-octave
[Top][All Lists]
Advanced

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

Re: How do I paste code at the Octave prompt?


From: Joan Picanyol i Puig
Subject: Re: How do I paste code at the Octave prompt?
Date: Thu, 16 Mar 2006 13:40:16 +0100
User-agent: Mutt/1.5.9i

* Miquel Cabanas <address@hidden> [20060316 13:07]:
> A possible fix at Octave's level could be to use a combination of keys
> to access this readline feature, ie [ctrl][tab] and ignore all other
> [tab] instances, but I do not know whether this can be easily done and
> all the implications of such change.

readline is typically configured via ~/.inputrc, and Octave has a
read_readline_init_file() builtin. So I suggest something like (copy &
paste in a terminal):

cat > ~/.octaveinputrc << .
TAB: ""
"\C-\t": complete
.
cat >> ~/.octaverc << .
read_readline_init_file('~/.octaveinputrc')
.

which will move completion from TAB to Ctrl-TAB

qvb
--
pica



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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