Query or set the internal variable that specifies the default text editor.
The default value is taken from the environment variable EDITOR when Octave starts. If the environment variable is not initialized, EDITOR will be set to
When called from inside a function with the
"local"option, the variable is changed locally for the function and any subroutines it calls. The original variable value is restored when exiting the function.
See also: edit, edit_history.