How to set the editor for Octave in 3.0

Ben Abbott bpabbott at mac.com
Sun Feb 10 12:06:12 CST 2008


On Feb 10, 2008, at 12:29 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

Take a look at  "help edit".

I've placed

	export EDITOR=mate

In my ~/.bashrc file

Ben


More information about the Help-octave mailing list