<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hello,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Le 26/04/2021 à 09:41, Stéphane
Mottelet a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:f1cd304c-2a9c-bb87-6213-d50be10b90c8@utc.fr">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Hi all,</p>
<p>I just made available for macOS and Linux the toolboxes stixbox
depends upon for macOS (distfun and linalg) and my remark is
that when a lot of modules are loaded at startup then the output
can become very long and sometimes messy, since we don't impose
a normalized output:<br>
</p>
<p><b>Scilab branch-6.1 (Apr 19 2021, 23:19:29)</b><b><br>
</b></p>
<p><b>Start Distfun</b><b><br>
</b><b><br>
</b><b>Start Helptbx</b><b><br>
</b><b><br>
</b><b>Start Specfun</b><b><br>
</b><b><br>
</b><b>Start Makematrix</b><b><br>
</b><b><br>
</b><b>Start Apifun</b><b><br>
</b><b> Load macros</b><b><br>
</b><b> Type "help apifun_overview" for a quick start.</b><b><br>
</b><b><br>
</b><b>Start Linalg</b><b><br>
</b><b><br>
</b><b>Start Stixbox</b><br>
<br>
I would rather expect something like:</p>
<p><br>
</p>
<p><b>Scilab branch-6.1 (Apr 19 2021, 23:19:29)</b><b><br>
</b></p>
<p><b>Start modules: Distfun, Helptbx, Specfun, Makematrix,
Apifun, Linalg, Stixbox.</b></p>
<p><b>--> </b><br>
</p>
<p>The verbosity level of the output (with the above default)
could be defined in user preferences, and checked in module
startup script in order to output the required amount of
information.</p>
<p>That's just a propostion to be discussed, of course.<br>
</p>
</blockquote>
<p><br>
</p>
<p>Such a wish was reported 10 years ago as <a
moz-do-not-send="true"
href="http://bugzilla.scilab.org/show_bug.cgi?id=6801">bug 6801</a>.<br>
<br>
To me, the only way to overcome any mprintf or disp made in
*.start files of external modules would be to become able to
redirect the standard output to null (or anywhere else as in a
file, as with diary, that forks the stream instead of redirecting
it).<br>
I don't think that %toolboxes aims to become public.
atomsGetInstalled() and atomsGetLoaded() (and others) would likely
be more suited to test the atoms status.</p>
For contribution,<br>
Samuel<br>
<br>
</body>
</html>