<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Samuel,<br>
<br>
Thanks for this detailed answer.<b></b><br>
<blockquote type="cite"><b>Simultaneous sessions management(s)</b><br>
In the SEP, the checking of diary previously opened seems to be
restricted<br>
to the current session, with no "external" "file locking" . Am i right,
and if yes,<br>
would it be possible to implement an external Scilab file
locking/checking ?</blockquote>
Locking files is a functionality that can be useful for other functions
than diary (mopen, mputl, save, ... ) and, I think, should be described
in a separate SEP. <br>
<blockquote type="cite">Another possibility for managing this kind of
conflict could be the following:<br>
When diary(filename) detects that filename already exists and is not
empty,<br>
then an effective filename base(filemane) + _# + extension(filename)<br>
is built, used, and returned by diary(filename) as a second output
argument<br>
(beside id). The rank #  (integer with at least 2 digits: "01", "02",
etc) would<br>
be set as the smallest integer for which the resultant filename does
not yet<br>
exists.</blockquote>
Good idea, I ve added this to the SEP. Just a little remark : I'am sure
for the 2 digits : what do we do if # > 100.<br>
<br>
<blockquote type="cite"><b>Horodating</b><br>
What about an option <b>horodating=format</b> that would add the date
& hour as <br>
line header (or sub-header, whether a <i>session_id</i> header is
already written in the <br>
diary) to each logged command line. default format could be YY-MM-DD,
HH:MN:SS</blockquote>
Added to the SEP (See diary & time-stamp section). For the moment,
only few formats will be supported but ideally, It should be useful the
user can build himself the format (As the <a
 href="http://php.net/manual/en/function.date.php">date</a> php
function). Why ? because,  Date and time formats are different
according to countries : <br>
    <br>
USA : MM-DD-YYYY <br>
France : DD-MM-YYYY <br>
German : DD.MM.YYYY<br>
...<br>
<br>
Again, this functionality (formating time and date) should be useful
for other functions than diary and described in a separate SEP. <br>
<br>
<blockquote type="cite"><b>Depth of logging</b><br>
What about the optional possibility to restricted output logging to a
certain (absolute ?) <br>
depth, since diary() can be run inside functions.</blockquote>
I'am not sure to understand your request : can you give an example ?<br>
<br>
<br>
<br>
Two new sections has been added<br>
    - pause/resume a diary session<br>
    - filter the written lines (only input commands, only output
results)<br>
<br>
Pierre<br>
<pre class="moz-signature" cols="72">-- 
==============================================
Pierre MARECHAL
                   ------
Fondation DIGITEO - Consortium Scilab
Domaine de Voluceau - B.P. 105
78153 Le Chesnay Cedex
Bâtiment 23 - Bureau 24
                   ------                  
Email : <a class="moz-txt-link-abbreviated" href="mailto:pierre.marechal@scilab.org">pierre.marechal@scilab.org</a>
Tél : +33 (0)1 39 63 56 81
Fax : +33 (0)1 39 63 55 94
==============================================
</pre>
</body>
</html>