<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Georgia">Yes,<br>
      <br>
      CodeLoader &gt;&gt; installSourceFile:<br>
      <br>
      does a #fileIn on your startup file, which means it does expect a
      chunk format. One solution would be to make sure your startup is
      in that format<br>
      <br>
      (FileStream fileNamed: 'chunkedStartUp')<br>
      &nbsp;&nbsp;&nbsp; nextChunkPut: 'FileStream stdout nextPutAll: ''! is an
      exclamation mark''; flush.';<br>
      &nbsp;&nbsp;&nbsp; flush;<br>
      &nbsp;&nbsp;&nbsp; close<br>
      <br>
      or if your raw startup is in a file already<br>
    </font><br>
    <font face="Georgia"><font face="Georgia">(FileStream fileNamed:
        'chunkedStartUp')<br>
        &nbsp;&nbsp;&nbsp; nextChunkPut: (FileStream readOnlyFileNamed: 'rawStartup')
        contentsOfEntireFile;<br>
        &nbsp;&nbsp;&nbsp; flush;<br>
        &nbsp;&nbsp;&nbsp; close<br>
        <br>
      </font>Cheers,<br>
      Bob<br>
      <br>
    </font>
    <div class="moz-cite-prefix">On 3/2/13 6:26 AM, Frank Shearar wrote:<br>
    </div>
    <blockquote
cite="mid:CAJbhyRG59xypt5y=LLFOXsd1tW+L5ZYuvBewLWqHoNvJ8mt0SQ@mail.gmail.com"
      type="cite">
      <pre wrap=""><a class="moz-txt-link-freetext" href="http://bugs.squeak.org/view.php?id=7732">http://bugs.squeak.org/view.php?id=7732</a> says

Sample startup demonstrating the problem:

    FileStream stdout nextPutAll: '! is an exclamation mark'; flush.

which causes a SyntaxError whose content is:

    FileStream stdout nextPutAll: Unmatched string quote -&gt;'
----
This is probably caused by something thinking the startup script is in
chunk format?
----

The bug is spectacularly annoying because you simply (*) cannot run a
script headless without first verifying that it works headfully. And
come on, the ! is in a _string_.

frank


(*) The whole startup script process needs to be reworked, and that's
well out of scope for this ticket or this thread, and we actually need
some kind of headless UIManager, and that too is out of scope for now!


</pre>
    </blockquote>
    <br>
  </body>
</html>