#| -*-Scheme-*-
-$Id: error.scm,v 14.36 1993/10/21 11:49:42 cph Exp $
+$Id: error.scm,v 14.37 1993/10/21 12:14:16 cph Exp $
Copyright (c) 1988-93 Massachusetts Institute of Technology
(if hook
(fluid-let ((standard-warning-hook false))
(hook condition))
- (let ((port (error-output-port)))
+ (let ((port (notification-output-port)))
(fresh-line port)
(write-string ";Warning: " port)
(write-condition-report condition port)))))
#| -*-Scheme-*-
-$Id: port.scm,v 1.5 1993/10/21 11:49:49 cph Exp $
+$Id: port.scm,v 1.6 1993/10/21 12:14:18 cph Exp $
Copyright (c) 1991-93 Massachusetts Institute of Technology
(define *current-input-port*)
(define *current-output-port*)
-(define *error-output-port* #f)
(define *notification-output-port* #f)
(define *trace-output-port* #f)
(define *interaction-i/o-port* #f)
(fluid-let ((*current-output-port* (guarantee-output-port port)))
(thunk)))
-(define (error-output-port)
- (or *error-output-port* (nearest-cmdl/port)))
-
-(define (set-error-output-port! port)
- (set! *error-output-port* (guarantee-output-port port))
- unspecific)
-
-(define (with-error-output-port port thunk)
- (fluid-let ((*error-output-port* (guarantee-output-port port)))
- (thunk)))
-
(define (notification-output-port)
(or *notification-output-port* (nearest-cmdl/port)))
#| -*-Scheme-*-
-$Id: rep.scm,v 14.41 1993/10/21 11:57:46 cph Exp $
+$Id: rep.scm,v 14.42 1993/10/21 12:14:18 cph Exp $
Copyright (c) 1988-93 Massachusetts Institute of Technology
*default-pathname-defaults*)
(*current-input-port* port)
(*current-output-port* port)
- (*error-output-port* port)
(*notification-output-port* port)
(*trace-output-port* port)
(*interaction-i/o-port* port))
(cmdl-message/append
(or message
(and condition
- (cmdl-message/active
- (let ((port (error-output-port)))
- (lambda (ignore)
- ignore
- (fluid-let ((*unparser-list-depth-limit* 25)
- (*unparser-list-breadth-limit* 100)
- (*unparser-string-length-limit* 500))
- (write-condition-report condition port)))))))
+ (cmdl-message/strings
+ (fluid-let ((*unparser-list-depth-limit* 25)
+ (*unparser-list-breadth-limit* 100)
+ (*unparser-string-length-limit* 500))
+ (condition/report-string condition port)))))
(and condition
(cmdl-message/append
(and (condition/error? condition)
(if (default-object? value)
(continue)
(use-value value))
- (let ((port (error-output-port)))
+ (let ((port (notification-output-port)))
(fresh-line port)
(write-string ";Unable to PROCEED" port)))
\f
#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.207 1993/10/21 11:49:53 cph Exp $
+$Id: runtime.pkg,v 14.208 1993/10/21 12:14:20 cph Exp $
Copyright (c) 1988-1993 Massachusetts Institute of Technology
close-port
current-input-port
current-output-port
- error-output-port
guarantee-i/o-port
guarantee-input-port
guarantee-output-port
port?
set-current-input-port!
set-current-output-port!
- set-error-output-port!
set-input-port/state!
set-interaction-i/o-port!
set-notification-output-port!
set-port/state!
set-trace-output-port!
trace-output-port
- with-error-output-port
with-input-from-port
with-interaction-i/o-port
with-notification-output-port
(export (runtime rep)
*current-input-port*
*current-output-port*
- *error-output-port*
*interaction-i/o-port*
*notification-output-port*
*trace-output-port*)
#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.207 1993/10/21 11:49:53 cph Exp $
+$Id: runtime.pkg,v 14.208 1993/10/21 12:14:20 cph Exp $
Copyright (c) 1988-1993 Massachusetts Institute of Technology
close-port
current-input-port
current-output-port
- error-output-port
guarantee-i/o-port
guarantee-input-port
guarantee-output-port
port?
set-current-input-port!
set-current-output-port!
- set-error-output-port!
set-input-port/state!
set-interaction-i/o-port!
set-notification-output-port!
set-port/state!
set-trace-output-port!
trace-output-port
- with-error-output-port
with-input-from-port
with-interaction-i/o-port
with-notification-output-port
(export (runtime rep)
*current-input-port*
*current-output-port*
- *error-output-port*
*interaction-i/o-port*
*notification-output-port*
*trace-output-port*)