From 2ca06427981844dd6b9a63635fe4031417effc99 Mon Sep 17 00:00:00 2001
From: pw <pw>
Date: Thu, 24 Aug 2000 14:56:17 +0000
Subject: [PATCH] In stream-init, give *debug-io* its very own stream to tty
 rather than using *terminal-io*. This lets debugger work even if someone
 binds *terminal-io* to an output only stream and then enters the debugger.

---
 code/fd-stream.lisp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/code/fd-stream.lisp b/code/fd-stream.lisp
index 3568fa72d..7c9b0dd1b 100644
--- a/code/fd-stream.lisp
+++ b/code/fd-stream.lisp
@@ -5,7 +5,7 @@
 ;;; Carnegie Mellon University, and has been placed in the public domain.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/fd-stream.lisp,v 1.51 2000/06/19 16:08:38 dtc Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/fd-stream.lisp,v 1.52 2000/08/24 14:56:17 pw Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -1454,7 +1454,7 @@
 			     *standard-output*))
   (setf *error-output* (make-synonym-stream '*stderr*))
   (setf *query-io* (make-synonym-stream '*terminal-io*))
-  (setf *debug-io* *query-io*)
+  (setf *debug-io* (make-synonym-stream '*tty*))
   (setf *trace-output* *standard-output*)
   nil)
 
-- 
GitLab