[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: open gui version in editor?
From: |
Mike Miller |
Subject: |
Re: open gui version in editor? |
Date: |
Thu, 16 Oct 2014 06:58:34 -0400 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Thu, Oct 16, 2014 at 00:43:33 -0700, Michael Creel wrote:
> For teaching, it is sometimes useful to explain code before executing it.
> Also, students seem to have a preference for the GUI interface. So, would it
> be possible to add a switch to start up Octave with a given script opened in
> the editor, rather than executed immediately? Something like "octave
> --force-gui --edit foobar.m"
How about
octave --persist --eval "edit foobar.m"
The best part is this works either with or without the GUI.
HTH,
--
mike