[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: octaverc and version in path?
From: |
Ben Abbott |
Subject: |
Re: octaverc and version in path? |
Date: |
Sat, 29 Dec 2007 10:21:59 +0800 |
On Dec 29, 2007, at 9:52 AM, Daniel J Sebald wrote:
Ben Abbott wrote:
This inclusion of the path presents some problems. For example,
the .octaverc is not upgraded when octave is, and produces a
conflict in the event a user wants to install different versions
of octave.
I assume the version information is there for a reason, what is
that reason?
Might something be done regarding how the path is handled to
facilitate the upgrade process, and perhaps allow for installations
of multiple versions?
OCTAVE_VERSION has been around fairly long. Could one test that
variable inside .octaverc?
Dan
Yes such a test would work. However, the creation and automatic
maintenance of .octaverc might get messy. Especially since users will
commonly edit it.
In any event, some options are
(1) Modify savepath.m to create a .octaverc to support different
versions of octave.
(2) Modify savepath.m/.octaverc to remove the references to the
version number.
(3) Remove all path information respecting octave's core functions/oct-
files from .octaverc and load the default each time as done when
no .octaverc exists.
Those are off the top of my head.
Anyone have thoughts as to the "big picture" pros/cons of these options?
Ben
- octaverc and version in path?, Ben Abbott, 2007/12/28
- Re: octaverc and version in path?, Daniel J Sebald, 2007/12/28
- Re: octaverc and version in path?,
Ben Abbott <=
- Re: octaverc and version in path?, Thomas Treichl, 2007/12/29
- Re: octaverc and version in path?, Dushan Mitrovich, 2007/12/29
- Message not available
- Message not available
- Re: octaverc and version in path?, Ben Abbott, 2007/12/30
- Re: octaverc and version in path?, Ben Abbott, 2007/12/30
- Re: octaverc and version in path?, Thomas Treichl, 2007/12/30
- Re: octaverc and version in path?, Ben Abbott, 2007/12/30
- Re: octaverc and version in path?, John W. Eaton, 2007/12/30
- Re: octaverc and version in path?, Ben Abbott, 2007/12/30
- Re: octaverc and version in path?, Ben Abbott, 2007/12/30