help-octave
[Top][All Lists]

## RE: Opening editor from Octave command line

 From: Nilson Subject: RE: Opening editor from Octave command line Date: Mon, 12 Nov 2012 16:06:21 -0800 (PST)

Hi, Phillip

I tried many combinations of backslashes, forward slashes, single quotes, double quotes, etc.. and the answer was always the same.
I do not think the problem is this.
What I do not understand is the fact that everything worked very well before. Before I have to reinstall Windows 7, Octave and Notepad + +.
What could have changed since then?
Also, I do not understand why some are having this problem and others do not.

Nilson

Date: Mon, 12 Nov 2012 12:08:50 -0800
From: [hidden email]
To: [hidden email]
Subject: RE: Opening editor from Octave command line

Nilson wrote
Yeah, Nitzan, you're rigth, my windows 7 is a 64bit version and I'd changed the octaverc file like this:## Uncomment and change following line for your preferred editorEDITOR('C:\\Arquivos de Programas (x86)\\Notepad++\\notepad++.exe');
But it didn't work even so!
I see you are using single quotes in the EDITOR command in octaverc but double backslashes.

You might first experiment with various amounts of backslashes. At one time I had to use 4 consecutive backslashes to get the path to Notepad++ recognized. I think since then some bugs have been fixed - nowadays I only need double backslashes but I don't know if I have single or double quotes.around it (I'm on Linux now, so can't check). Maybe it even works with single quotes and single backslashes.

Another option to try would be changing the path separator backslashes into forward slashes, as on MinGW (and AFAIK in MSVC-built Octave) forward slashes are simply accepted as path separators, too  8-O.

Philip