help-octave
[Top][All Lists]
Advanced

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

Re: How to open a .m File


From: Donald J Bindner
Subject: Re: How to open a .m File
Date: Fri, 31 Mar 2006 07:38:08 -0600
User-agent: Mutt/1.5.9i

On Fri, Mar 31, 2006 at 01:40:27AM +0200, Markus Feldmann wrote:
> Steve C. Thompson wrote:
> I understand.
> But can I open this file over octave directly?

If the edit function of Octave isn't what you want, then you
could use job control instead.  Use Control-Z to temporarily
suspend back to the shell where you can use your favorite editor.
For me that is Vi.

octave:1> ^Z
[1]+  Stopped                 octave
$ vi test.m
... editing ... ^Z
[2]+  Stopped                 vim test1.m
$ fg %1

Suspend and use 'fg %1' or 'fg %2' as appropriate to bring up the
job you want.  If you forget what is what, you can ask the shell:

$ jobs
[1]-  Stopped                 octave
[2]+  Stopped                 vim test1.m


Don

-- 
Don Bindner <address@hidden>



-------------------------------------------------------------
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]