Re: cd command in .octaverc

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: cd command in .octaverc

Rik-4
On 07/04/2017 02:01 PM, [hidden email] wrote:
Subject:
Re: Newer Versions of Octave Struggle with Character Strings
From:
evansste [hidden email]
Date:
07/04/2017 01:43 PM
To:
[hidden email]
List-Post:
[hidden email]
Content-Transfer-Encoding:
quoted-printable
Precedence:
list
MIME-Version:
1.0
References:
[hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email] [hidden email]
In-Reply-To:
[hidden email]
Message-ID:
[hidden email]
Content-Type:
text/plain; charset=UTF-8
Message:
8

This seems to be a bug in 4.2.1, but only when using the CLI.  There are several possible workarounds.  First, start the octave GUI instead of the CLI.  Also, the GUI has its own preference system which restores the last working directory by default.  Make sure that in Edit->Preferences->General->Octave Startup you are not restoring the previous working directory.

If you want to use the CLI and have cd commands in .octaverc files work then try cloning the most recent sources on the development branch from Octave's Mercurial repo.  There are instructions on building from Mercurial sources on the Octave web site.  I tested this path as well and it works for me.

--Rik
Loading...