<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello again,<br>
    </p>
    <div class="moz-cite-prefix">Le 26/04/2021 à 12:38, Samuel Gougeon a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:b85299ec-de54-4477-dfa2-c76157623207@free.fr">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <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="https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/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>
    </blockquote>
    <p>Yeah that's the idea. But better than redirection of the standard
      output, all the stuff displayed in the .start file should go in a
      Journal, to which display methods can be associated. So instead of
      explicitely calling disp or mprinf, etc. the .start script should
      just add some stuff + associated verbosity level to the journal.
      What would be actually really displayed will depend on the level
      of the used Journal. That's the way the output is controlled in
      Ipopt, for example (but at the C++ level).<br>
    </p>
    <p>S.<br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:b85299ec-de54-4477-dfa2-c76157623207@free.fr"> <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users">https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
<a class="moz-txt-link-freetext" href="http://www.utc.fr/~mottelet">http://www.utc.fr/~mottelet</a>
</pre>
  </body>
</html>