<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Sep 12, 2020 at 10:43 AM David T. Lewis <<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On Sat, Sep 12, 2020 at 06:57:03PM +0200, Tobias Pape wrote:<br>
> <br>
> > On 12.09.2020, at 16:31, Eliot Miranda <<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>> wrote:<br>
> > <br>
> > With the REPL image if it starts up and evaluates an expression of two (which are not logged) and then quits nothing has changed but the QUIT/NO SAVE has been written, and now my reproducible image/changes pair is no longer in exactly the same state; the changes file has grown.<br>
> > <br>
> <br>
> In that particular case, wouldn't it suffice to just make the Changes file read-only?<br>
><br>
<br>
Just exit with Smalltalk quitPrimitive. It's perfectly safe on unix.<br></blockquote><div><br></div><div>That's hardly the point.  The REPL should work on any platform with a command line, Windows included. And e.g. LibTerm.app even gives me a command line on my iPhone ;-)</div><div>And it *won't* safe in a system a little more advanced than we have now where ephemerons are used for output streams and we want them to be automatically flushed on exit.</div><div><br></div><div><br></div><div>It is possible to get this right.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Dave<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div></div>