octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #65607] cluttering text output when using path


From: Hartmut
Subject: [Octave-bug-tracker] [bug #65607] cluttering text output when using path() with echo on
Date: Fri, 19 Apr 2024 02:43:22 -0400 (EDT)

Follow-up Comment #2, bug #65607 (group octave):

I personally use "echo" not very often, at all. But currently I am using an
external m-code library called cvx (https://cvxr.com/cvx/). This library is
designed for Matlab, but runs sufficently well in Octave. And this cvx library
uses "echo" extensivly to turn on or off the console output of other included
(m-code and mex code) numerical solver libraries (SDPT3, SeDuMi).

So probably this Octave behavior of "echo" is mostly a "Matlab compatiblity"
issue, when people (as currently me) run code that was originally designed for
Matlab, and now the code behaves  differently when used with Octave.

If this excessive text output really only happens when "echo on" is used
together with "path", would then the following approach be a feasible code
change in Octave, in order to improve its Matlab compatiblity?

* at the point in the code of "path", shortly before/after the PKG_ADD scripts
are called:
* save the current state of "echo"
* echo off
* PKG_ADD stuff
* restore the previously saved state of "echo"




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65607>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]