<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">You can use the diary function...<br>
      Serge<br>
      <br>
      <br>
      On 14/01/2017 15:50, Samuel Gougeon wrote:<br>
    </div>
    <blockquote cite="mid:587A3AAD.6020107@free.fr" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      Hello,<br>
      <br>
      I am wondering if there is any way to temporarily redirect the
      console output into a file.<br>
      I mean, not copying the stream as diary() does, but getting in a
      file the contents that are usually displayed, without displaying
      them.<br>
      <br>
      I tried to change %io(2) with the id of a file opened with
      mopen(). Even when unprotecting %io with predef("clear") before
      changing %io(2), it does not work.<br>
      <br>
      The best i did up to now is using diary, and then using clc(n) to
      clear the displayed contents.<br>
      But it is an awful (and slow) solution.<br>
      <br>
      Any hint would be appreciated<br>
      Regards<br>
      Samuel Gougeon<br>
      <font face="Arial"><br>
      </font> <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <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="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>