[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
-------------------------------------------------------------
- How do I paste code at the Octave prompt?, Keith Goodman, 2006/03/15
- Re: How do I paste code at the Octave prompt?, Bill Denney, 2006/03/15
- Re: How do I paste code at the Octave prompt?, Keith Goodman, 2006/03/15
- Re: How do I paste code at the Octave prompt?, Bill Denney, 2006/03/15
- Re: How do I paste code at the Octave prompt?, Keith Goodman, 2006/03/15
- Re: How do I paste code at the Octave prompt?, Miquel Cabanas, 2006/03/16
- Re: How do I paste code at the Octave prompt?,
Joan Picanyol i Puig <=
- Re: How do I paste code at the Octave prompt?, Miquel Cabanas, 2006/03/16
- Re: How do I paste code at the Octave prompt?, John W. Eaton, 2006/03/16
- Re: How do I paste code at the Octave prompt?, kamaraju kusumanchi, 2006/03/16
- Re: How do I paste code at the Octave prompt?, Joan Picanyol i Puig, 2006/03/16
- Re: How do I paste code at the Octave prompt?, John W. Eaton, 2006/03/16
- Re: How do I paste code at the Octave prompt?, Keith Goodman, 2006/03/16
- Re: How do I paste code at the Octave prompt?, Joan Picanyol i Puig, 2006/03/16