Index: /branches/event-ide/ccl/examples/cocoa/currency-converter/HOWTO.html
===================================================================
--- /branches/event-ide/ccl/examples/cocoa/currency-converter/HOWTO.html	(revision 7927)
+++ /branches/event-ide/ccl/examples/cocoa/currency-converter/HOWTO.html	(revision 7928)
@@ -17,5 +17,5 @@
       href="http://developer.apple.com/documentation/Cocoa/Conceptual/ObjCTutorial/index.html">
             Currency Converter</a> example<br/>
-          with OpenMCL
+          with Clozure CL
       </h2></div>
 
@@ -31,6 +31,7 @@
 
     <div class="body-text">
-      <p>This HOWTO guide explains how to use OpenMCL to create a
-      Cocoa application that is functionally identical to Apple's
+      <p>This HOWTO guide explains how to use Clozure CL (formerly
+      OpenMCL) to create a Cocoa application that is functionally
+      identical to Apple's
       <a
       href="http://developer.apple.com/documentation/Cocoa/Conceptual/ObjCTutorial/index.html">
@@ -38,5 +39,5 @@
         difference between Apple's example and this one is that this
         one is implemented in Common Lisp instead of Objective C. It
-        uses OpenMCL's Objective-C bridge to provide communication
+        uses Clozure CL's Objective-C bridge to provide communication
         between the Lisp code that you write and Apple's Cocoa
         frameworks. The resulting application looks and acts just
@@ -47,10 +48,10 @@
       Apple's document handy for reference, and we just describe the
       specific steps needed to build the example using
-      Apple's InterfaceBuilder application and OpenMCL.</p>
+      Apple's InterfaceBuilder application and Clozure CL.</p>
 
-      <p>The current version of the OpenMCL Objective-C bridge
+      <p>The current version of the Clozure CL Objective-C bridge
       includes code that was formerly distributed separately as the
       "Bosco" application framework. Because that framework has been
-      integrated with OpenMCL proper, it no longer exists as a
+      integrated with Clozure CL proper, it no longer exists as a
       separate project. "Bosco" now names only the decorative rodent
       at the top of this page.</p>
@@ -63,7 +64,7 @@
     <div class="body-text">
       <p>It will be helpful in understanding this example if you can
-      easily refer to Apple's <a
-      href="http://developer.apple.com/documentation/Cocoa/Conceptual/ObjCTutorial/index.html">
-        Currency Converter</a> example while working through this
+      easily refer to
+      Apple's <a href="http://developer.apple.com/documentation/Cocoa/Conceptual/ObjCTutorial/index.html">
+      Currency Converter</a> tutorial while working through this
       HOWTO. You might consider opening a separate window or tab, and
       keeping the Apple example handy while you work.</p>
@@ -74,16 +75,16 @@
       <a
       href="http://developer.apple.com/documentation/Cocoa/Conceptual/ObjCTutorial/02Essence/chapter_2_section_4.html#//apple_ref/doc/uid/TP40000863-CH3-DontLinkElementID_6">
-        Model-View-Controller</a> paradigm that the Apple example
+        Model-View-Controller</a> paradigm that the Apple tutorial
         uses. If you are new to Cocoa programming, or if you are not
         familiar with how it uses the Model-View-Controller paradigm,
-        it's probably a good idea to read through the Apple example
-        in full, paying special attention to the
-        Model-View-Controller section. Once you've done that, keep
-        the Apple pages handy in a window for easy reference.</p>
+        it's probably a good idea to read through the Apple example in
+        full, paying special attention to the Model-View-Controller
+        section. Once you've done that, keep the Apple pages handy in
+        a window for easy reference.</p>
 
       <p>This Common Lisp version of the Currency Converter example
       uses Apple's InterfaceBuilder application to build a window and
       main menu, and then uses Common Lisp code to load and operate
-      that user interface. The Common Lisp code relies on OpenMCL's
+      that user interface. The Common Lisp code relies on Clozure CL's
       Objective-C bridge to provide communication between the running
       Lisp code and Apple's Cocoa frameworks. Once the code is
@@ -102,10 +103,9 @@
 
       <ul>
-        <li><p>Mac OS X Tiger (version 10.4.x) or Mac OS X Leopard
-        (version 10.5.x)</p></li>
+        <li><p>Mac OS X Leopard (version 10.5.x) or Mac OS X Tiger
+        (version 10.4.x)</p></li>
         <li><p>Apple's XCode development tools</p></li>
         <li><p>Apple's InterfaceBuilder application (included with XCode)</p></li>
-        <li><p>A recent version of OpenMCL</p></li>
-        <li><p>Clozure CL.app</p></li>
+        <li><p>A recent version of Clozure CL</p></li>
         <li><p>The Apple <a
       href="http://developer.apple.com/documentation/Cocoa/Conceptual/ObjCTutorial/index.html">
Index: /branches/event-ide/ccl/examples/cocoa/currency-converter/HOWTO_files/pages/building_ui_tiger.html
===================================================================
--- /branches/event-ide/ccl/examples/cocoa/currency-converter/HOWTO_files/pages/building_ui_tiger.html	(revision 7927)
+++ /branches/event-ide/ccl/examples/cocoa/currency-converter/HOWTO_files/pages/building_ui_tiger.html	(revision 7928)
@@ -68,5 +68,96 @@
       "NewApplication". Save the new nibfile into the
       "currency-converter" folder that you created earlier
-      (on <a href="making_project.html">this page</a>).</p>
+      (on <a href="making_project.html">this page</a>). Give the new
+      file the name "CurrencyConverter.nib"</p>
+
+      <div class="note">
+        <p><strong><em>NOTE:</em></strong> Most Objective C application projects use a main
+        nibfile called "MainMenu.nib", and if you use XCode to create
+        a new application project, it creates a nibfile with that
+        name. Apple's CurrencyConverter tutorial assumes that the
+        name of the main nibfile is "MainMenu.nib".</p>
+
+        <p>So, why do we tell you to use a different name? Clozure CL
+          has a main nibfile built into it, whose name is
+          "MainMenu.nib". Normally you don't see it, and don't even
+          need to know that it exists. But the Clozure CL
+          application-building tools create a new application by
+          copying resources from the Clozure CL application, so that
+          your new application has available to it all the built-in
+          Clozure CL tools. We ask you to name your nibfile
+          "CurrencyConverter.nib" so that it can coexist with the
+          Clozure CL main nibfile without causing any problems.</p>
+
+        <p>This difference between a Lisp project and an Objective C
+        project might be a little confusing at first. Just try to keep
+        in mind that whenever Apple's tutorial refers to the
+        "MainMenu.nib" file, it means the file we have just created
+        and named "CurrencyConverter.nib". In a Clozure CL project,
+        "MainMenu.nib" is the name of the main Lisp nibfile, not your
+        application's main nibfile.</p>
+      </div>
+
+      <div class="section-head">
+        <h2>Resize the Window</h2>
+      </div>
+      
+      <p>Make the window smaller by dragging the bottom-right corner
+      of the window inward.</p>
+
+      <div class="inline-image">
+        <img src="../images/ibwin-tiger3.jpg"alt="" 
+             border='0'/>
+      </div>
+      
+      <div class="section-head">
+        <h2>Change the Title of the Window</h2>
+      </div>
+      
+      <p>InterfaceBuilder creates the initial window with the title
+      "Window". Change the title to the more appropriate "Currency
+      Converter":</p>
+
+      <ol>
+        <li><p>Click the Window object in the "Currency Converter"
+        window.</p>
+          <p><div class="inline-image">
+              <img src="../images/ibwin-tiger4.jpg"alt="" 
+                   border='0'/>
+            </div>
+        </p></li>
+        <li><p>Choose "Attributes" from the drop-down menu in the
+        Inspector window:</p>
+          <p><div class="inline-image">
+              <img src="../images/ibwin-tiger5.jpg"alt="" 
+                   border='0'/>
+            </div>
+        </p></li>
+        <li><p>Change the "Window Title" field to read "Currency Converter":</p>
+          <p><div class="inline-image">
+              <img src="../images/ibwin-tiger6.jpg"alt="" 
+                   border='0'/>
+            </div>
+        </p></li>
+      </ol>
+
+      <div class="section-head">
+        <h2>Add Text Fields</h2>
+      </div>
+
+      <p>In InterfaceBuilder's Palettes window, select the "Cocoa
+      Text" view, and find the NSTextView object:</p>
+
+      <div class="inline-image">
+        <img src="../images/ibwin-tiger7.jpg"alt="" 
+             border='0'/>
+      </div>
+
+      <p>Drag an NSTextView object and drop it into the "Currency
+      Converter" window:</p>
+
+      <div class="inline-image">
+        <img src="../images/ibwin-tiger8.jpg"alt="" 
+             border='0'/>
+      </div>
 
     </div>
Index: /branches/event-ide/ccl/level-1/l1-application.lisp
===================================================================
--- /branches/event-ide/ccl/level-1/l1-application.lisp	(revision 7927)
+++ /branches/event-ide/ccl/level-1/l1-application.lisp	(revision 7928)
@@ -283,12 +283,13 @@
              :class 'tty-listener
              :process initial-listener-process))))
-  (%set-toplevel #'(lambda ()
-                     (with-standard-abort-handling nil 
-                       (loop
-			 (%nanosleep *periodic-task-seconds* *periodic-task-nanoseconds*)
-			 (housekeeping)))))
+  (%set-toplevel #'housekeeping-loop)
   (toplevel))
 
-
+(defun housekeeping-loop ()
+  (with-standard-abort-handling nil 
+    (loop
+      (%nanosleep *periodic-task-seconds* *periodic-task-nanoseconds*)
+      (housekeeping))))
+  
 
 (defmethod application-init-file ((app lisp-development-system))
Index: /branches/event-ide/ccl/level-1/l1-boot-lds.lisp
===================================================================
--- /branches/event-ide/ccl/level-1/l1-boot-lds.lisp	(revision 7927)
+++ /branches/event-ide/ccl/level-1/l1-boot-lds.lisp	(revision 7928)
@@ -79,4 +79,5 @@
                                   (value-stack-size *default-value-stack-size*)
                                   (temp-stack-size *default-temp-stack-size*)
+                                  (echoing t)
                                   (process))
   (let ((p (if (typep process class)
@@ -92,6 +93,9 @@
     (process-preset p #'(lambda ()
                           (let ((*terminal-io*
-				 (make-echoing-two-way-stream
-				  input-stream output-stream)))
+                                 (if echoing
+                                   (make-echoing-two-way-stream
+                                    input-stream output-stream)
+                                   (make-two-way-stream
+                                    input-stream output-stream))))
 			    (unwind-protect
 				 (progn
Index: /branches/event-ide/ccl/lisp-kernel/lisp-debug.c
===================================================================
--- /branches/event-ide/ccl/lisp-kernel/lisp-debug.c	(revision 7927)
+++ /branches/event-ide/ccl/lisp-kernel/lisp-debug.c	(revision 7928)
@@ -876,5 +876,5 @@
 
     if (xpPC(xp) == (natural)_sigtramp) {
-      xp = (ExceptionInformation *) xpGPR(xp,os_major_version < 9 ? REG_RSI :REG_RCX);
+      xp = (ExceptionInformation *) xpGPR(xp, REG_R8);
       fprintf(stderr, "Exception raised at _sigtramp; using context passed to _sigtramp.  Raw register values (R) may be more interesting then lisp values or lisp backtrace\n");
     }
