<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 10, 2017 at 9:41 AM, tim Rowledge <span dir="ltr"><<a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>></span> wrote:<br><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"><span class="gmail-"><br>
> On 10-08-2017, at 9:05 AM, Louis LaBrunda <Lou@Keystone-Software.com> wrote:<br>
><br>
> Hi All,<br>
><br>
> I'm running squeak headless on a Raspberry Pi with -vm-display-null.  Normally there is no<br>
> monitor connected.  Sometimes for testing I can connect a monitor.  How can/should I write some<br>
> text to the monitor so I can see what is going on?  Thanks in advance for any and all help.<br>
<br>
</span>Other than doing magic to open a display window etc - which ought to be possible but I’ve never looked at it - the simplest thing is to use the stdio stream. As in<br>
<br>
FileStream stdio nextPutAll: ‘Hello, World’; flush.<br></blockquote><div><br></div><div>That should be</div><div><br></div><div>    FileStream stdout nextPutAll: ‘Hello, World’; cr; flush.<br></div><div> </div><div>or</div><div><br></div><div>    FileStream stderr nextPutAll: ‘Hello, World’; cr; flush.</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">
<br>
Your words of deathless prose should appear in whatever place stdout would appear, typically the terminal window from which you fired up Squeak. I have to admit I have no idea where that might be if you started Squeak from some login or startup script. Maybe it would require some added > mylogfile magic?<br>
<br>
tim<br>
--<br>
tim Rowledge; <a href="mailto:tim@rowledge.org">tim@rowledge.org</a>; <a href="http://www.rowledge.org/tim" rel="noreferrer" target="_blank">http://www.rowledge.org/tim</a><br>
It is easier to change the specification to fit the program than vice versa.<br>
<br>
<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div 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></div>