Hi Frank,<br><br><div class="gmail_quote">On Tue, Mar 26, 2013 at 3:36 PM, Frank Shearar <span dir="ltr">&lt;<a href="mailto:frank.shearar@gmail.com" target="_blank">frank.shearar@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks very much Chris, I&#39;ll give this a whirl.<br>
<br>
Indeed, my _primary_ goal is to run things headless, which requires<br>
decent error reporting to stdout/stderr.<br>
<br>
However, I do really like REPLs (I use Clojure&#39;s, Python&#39;s and Ruby&#39;s<br>
just about every day), and having such a thing for Smalltalk would<br>
make me very happy. It would aid my ambassadorship greatly as well.<br></blockquote><div><br></div><div>Have you taken a look at Camillo&#39;s work for Pharo?  The curses integration is particularly nice with colour in output stack traces (e.g. red on Exception methods).</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
frank<br>
<br>
On 26 March 2013 21:40, Chris Muller &lt;<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.com</a>&gt; wrote:<br>
&gt; Forwarding to your personal email as I have a feeling squeak-dev is<br>
&gt; going to bounce my message due to being a whopping 130K attachment.<br>
&gt;<br>
&gt;<br>
&gt; ---------- Forwarded message ----------<br>
&gt; From: Chris Muller &lt;<a href="mailto:asqueaker@gmail.com">asqueaker@gmail.com</a>&gt;<br>
&gt; Date: Tue, Mar 26, 2013 at 4:38 PM<br>
&gt; Subject: Re: [squeak-dev] The Trunk: Graphics-tpr.205.mcz<br>
&gt; To: The general-purpose Squeak developers list<br>
&gt; &lt;<a href="mailto:squeak-dev@lists.squeakfoundation.org">squeak-dev@lists.squeakfoundation.org</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt; Here is my little wrapper for handling running .st scripts from the<br>
&gt; command-line and outputting Notifications and SyntaxErrors to stdOut<br>
&gt; and Errors to stdErr.  I use this every day, at one time I had wanted<br>
&gt; to integrate this into the trunk.<br>
&gt;<br>
&gt; I&#39;ve never found interacting back-and-forth with an image via<br>
&gt; command-line in the style of Camillo&#39;s tool useful.  I don&#39;t know when<br>
&gt; one would want to do that.  However certainly I do need to kick off<br>
&gt; Smalltalk jobs from the command-line, headless or not, by passing in<br>
&gt; .st scripts and that sounds like what  you&#39;re wanting to do with a<br>
&gt; build server.<br>
&gt;<br>
&gt; MaCommandLineProcessor in the attached package is 11 methods total --<br>
&gt; it thinly wraps Squeaks existing capability so that some of the<br>
&gt; &quot;gotcha&#39;s&quot; are taken care of -- for example like the fact that if you<br>
&gt; try to print an Error&#39;s signalerContext&#39;s longStack, it&#39;s full of CR&#39;s<br>
&gt; rather than the platform line-ending making it unreadable in the host<br>
&gt; OS.  MaCommandLineProcessor in the attached package fixes that.<br>
&gt;<br>
&gt; Comments welcome -- maybe you&#39;ll see some tips at least..<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Mar 26, 2013 at 1:49 AM, Frank Shearar &lt;<a href="mailto:frank.shearar@gmail.com">frank.shearar@gmail.com</a>&gt; wrote:<br>
&gt;&gt; On 26 March 2013 00:27, tim Rowledge &lt;<a href="mailto:tim@rowledge.org">tim@rowledge.org</a>&gt; wrote:<br>
&gt;&gt;&gt; Starting from a fresh image from the Jenkins server that claimed to be completely clean and up to date<br>
&gt;&gt;<br>
&gt;&gt; That&#39;s going to be the best we have, for the moment. Mainly because<br>
&gt;&gt; * we never have a green build,<br>
&gt;&gt; * Squeak has very limited command line support<br>
&gt;&gt; ** you need to feed it a chunk-formatted startup script, or a script<br>
&gt;&gt; with no !s in it<br>
&gt;&gt; ** exceptions mean debuggers pop up, rather than dumping stack traces to stdout<br>
&gt;&gt;<br>
&gt;&gt; But otherwise, if the resulting image is _not_ completely clean &amp; up<br>
&gt;&gt; to date, it&#39;s my fault, and please yell at me. Preferably in the form<br>
&gt;&gt; of a nice bug report :)<br>
&gt;&gt;<br>
&gt;&gt; frank<br>
&gt;&gt;<br>
&gt;&gt;&gt;, making the changes to get rid of the obsolete &#39;BitBlt current&#39; idiom for everything visible, I have now committed about half-a-dozen packages that seem to be correct.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I also committed a VMMaker change to<br>
&gt;&gt;&gt; a) move BitBltSImulation under SmartSyntaxPlugin<br>
&gt;&gt;&gt; b) move the pixel-peeker primitive into BitBltSimulation<br>
&gt;&gt;&gt; c) update the comment a bit to include some combination rules added about  ten years ago<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; A VM built from this passes the BitBltTests in TestRunner and appears to run everything normally.<br>
<div class="im">&gt;&gt;&gt;<br>
&gt;&gt;&gt; tim<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; tim Rowledge; <a href="mailto:tim@rowledge.org">tim@rowledge.org</a>; <a href="http://www.rowledge.org/tim" target="_blank">http://www.rowledge.org/tim</a><br>
</div>&gt;&gt;&gt; Strange OpCodes: SD: Self Destruct<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>