Thanks for your help regarding interrupts. I'd love a bit more help
with my build problems. I've uploaded the relevant files to my
webserver. See <a href="http://redlinernotes.com/docs/echo/" target="_blank">http://redlinernotes.com/docs/echo/</a><br>
Here is my problem:<br>I
have an asdf definition that seems to conform to the manual. I have a
simple lisp program in a single file that depends on the
external-program library.<br>I start ecl, and run (asdf:make-build
:test :type :program :monolithic t :epilogue-code '(progn (main)
(ext:quit 0))). The program seems to build succesfully.<br>
I try to run "./test-mono" at the command line. It should use the
external-program library to call "echo 'hello world'" in bash. Instead
I see:<br><pre>;;; Loading #P"/usr/lib/ecl-9.10.2/asdf.fas"<br><br>;;; Loading #P"/usr/lib/ecl-9.10.2/cmp.fas"<br>;;; Loading #P"/usr/lib/ecl-9.10.2/sysfun.lsp"<br><br>Module error: Don't know how to REQUIRE EXTERNAL-PROGRAM.<br>
No restarts available.<br><br>Broken at NIL. In: #<process SI:TOP-LEVEL 08118fc0>.<br><br>EXTERNAL-PROGRAM>> <br></pre>I
also cannot use Ctrl-D or Ctrl-C to exit. I'm pretty confused at what's
going on here though admit that it seems to build correctly. Any ideas?<br><br>Regards,<br><font style="color: rgb(0, 0, 0);" color="#888888">Brit</font><br><br><div class="gmail_quote">On Thu, Oct 22, 2009 at 5:08 PM, Juan Jose Garcia-Ripoll <span dir="ltr"><<a href="mailto:juanjose.garciaripoll@googlemail.com">juanjose.garciaripoll@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Thu, Oct 22, 2009 at 10:19 PM, Samium Gromoff<br>
<_<a href="mailto:deepfire@feelingofgreen.ru">deepfire@feelingofgreen.ru</a>> wrote:<br>
> It's not very clear, from your examples, what exactly you are doing,<br>
> so I'll just skip to explanation.<br>
<br>
</div>I will also add a better source of explanation<br>
<a href="http://ecls.sourceforge.net/new-manual/" target="_blank">http://ecls.sourceforge.net/new-manual/</a> which includes a section on<br>
what Samium has just introduced:<br>
<a href="http://ecls.sourceforge.net/new-manual/ch16.html" target="_blank">http://ecls.sourceforge.net/new-manual/ch16.html</a><br>
<br>
Regarding your particular problem, you may be seeing a problem with<br>
how you define your package in your code. Without a minimal example we<br>
can not tell you what is going wrong.<br>
<div class="im"><br>
> Off the top of my head I can't come up with a 1-to-1 translation<br>
> to the "handler" semantics of SBCL.<br>
<br>
</div>There is currently nothing equivalent that works in a multithreaded<br>
ECL with more than one thread running. If you only have one thread,<br>
then you can do exactly what Samiun said<br>
<div class="im"><br>
> (handler-case <form-protected-against-SIGINT><br>
>  (si::interactive-interrupt ()<br>
>     <action>))<br>
<br>
</div>But use the prefix EXT: instead of SI:, as I am planning to finally<br>
split sanctioned extensions in a separate package any time soon.<br>
<br>
Juanjo<br>
<font color="#888888"><br>
--<br>
Instituto de Física Fundamental, CSIC<br>
c/ Serrano, 113b, Madrid 28006 (Spain)<br>
<a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>
</font></blockquote></div><br>