Exiting.xhtml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:pls="http://www.w3.org/2005/01/pronunciation-lexicon" xmlns:ssml="http://www.w3.org/2001/10/synthesis" xmlns:svg="http://www.w3.org/2000/svg">
  3. <head>
  4. <title>Exiting Kawa</title>
  5. <link rel="stylesheet" type="text/css" href="docbook-epub.css"/>
  6. <link rel="stylesheet" type="text/css" href="kawa.css"/>
  7. <script src="kawa-ebook.js" type="text/javascript"/>
  8. <meta name="generator" content="DocBook XSL-NS Stylesheets V1.79.1"/>
  9. <link rel="prev" href="REPL-Console.xhtml" title="The REPL (read-eval-print-loop) console"/>
  10. <link rel="next" href="Compiling.xhtml" title="Compiling to byte-code"/>
  11. </head>
  12. <body>
  13. <header/>
  14. <section class="sect1" title="Exiting Kawa" epub:type="subchapter" id="Exiting">
  15. <div class="titlepage">
  16. <div>
  17. <div>
  18. <h2 class="title" style="clear: both">Exiting Kawa</h2>
  19. </div>
  20. </div>
  21. </div>
  22. <p>Kawa normally keeps running as long as there is an active
  23. read-eval-print loop still awaiting input or there is an unfinished
  24. other computation (such as requested by a ‘<code class="literal">-e</code>’ or ‘<code class="literal">-f</code>’ option).
  25. </p>
  26. <p>To close a read-eval-print-loop, you can type the special
  27. literal <code class="literal">#!eof</code> at top level. This is recognized as end-of-file.
  28. Typing an end-of-file character (normally ctrl-D under Unix)
  29. should also work, but that depends on your operating system
  30. and terminal interface.
  31. </p>
  32. <p>If the read-eval-print-loop
  33. is in a new window, you can select ‘<code class="literal">Close</code>’ from the ‘<code class="literal">File</code>’ menu.
  34. </p>
  35. <p>To exit the entire Kawa session, call the
  36. <a class="link" href="Processes.xhtml#Exiting-the-current-process"><code class="literal">exit</code> procedure</a> (with 0 or 1 integer arguments).
  37. </p>
  38. </section>
  39. <footer>
  40. <div class="navfooter">
  41. <p>
  42. Up: <a accesskey="u" href="Running.xhtml">How to start up and run Kawa</a></p>
  43. <p>
  44. Previous: <a accesskey="p" href="REPL-Console.xhtml">The REPL (read-eval-print-loop) console</a></p>
  45. <p>
  46. Next: <a accesskey="n" href="Compiling.xhtml">Compiling to byte-code</a></p>
  47. </div>
  48. </footer>
  49. </body>
  50. </html>