How to set the editor for Octave in 3.0
Ben Abbott
bpabbott at mac.com
Sun Feb 10 12:30:01 CST 2008
On Feb 10, 2008, at 1:02 PM, Jaap A. Haitsma wrote:
> Hi,
>
> I don't want to change my EDITOR environment variable, to select the
> editor I want to use for octave.
> If I put
>
> EDITOR="gedit"
>
> in ~/.octaverc
>
> I get the following error
>
> warning: EDITOR is no longer a built-in variable; please read the NEWS
> file or type `news' for details
>
> Is there another way (except the environment variable) in octave 3.0
> to do this
>
> Thanks
>
> Jaap
After checking I found similar inquiries have been made recently. For
example
http://www.nabble.com/Use-Different-Editor-tt15257232.html
Try adding the line below to your ~/.octaverc
edit editor "gedit %s"
Ben
More information about the Help-octave
mailing list