wrappers around selected operations on the encapsulated port.
* Use new encapsulation mechanism to reimplement transcript facility
so that each transcript is associated with a particular REPL.
Previously the transcript was directly associated with the console
port.
This change is the goal of all of the port changes from this past
week. (I'm a little surprised at the depth of changes required.)
This has the side effect of increasing modularity, since the
transcript code is now concentrated in one file rather than being
integrated into the console port.
* Export procedure OUTPUT-PORT/FRESH-LINE to the global environment.
This was an oversight from previous changes.
#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.314 1999/02/16 20:11:18 cph Exp $
+$Id: runtime.pkg,v 14.315 1999/02/18 04:01:40 cph Exp $
Copyright (c) 1988-1999 Massachusetts Institute of Technology
(export ()
transcript-off
transcript-on)
- (export (runtime console-i/o-port)
- transcript-port)
+ (export (runtime rep)
+ make-transcriptable-port)
(initialization (initialize-package!)))
(define-package (runtime format)
make-generic-input-port
make-generic-output-port)
(export (runtime console-i/o-port)
- generic-i/o-type)
+ generic-i/o-type
+ operation/flush-output)
(export (runtime file-i/o-port)
generic-i/o-type
generic-input-type
close-port
current-input-port
current-output-port
+ encapsulated-port/port
+ encapsulated-port/state
+ encapsulated-port?
+ guarantee-encapsulated-port
guarantee-i/o-port
guarantee-input-port
guarantee-output-port
+ guarantee-port
guarantee-port-type
i/o-port-type?
i/o-port?
input-port/state
input-port?
interaction-i/o-port
+ make-encapsulated-port
make-i/o-port
make-i/o-port-type
make-input-port
port?
set-current-input-port!
set-current-output-port!
+ set-encapsulated-port/state!
set-input-port/state!
set-interaction-i/o-port!
set-notification-output-port!
newline
output-port/discretionary-flush
output-port/flush-output
+ output-port/fresh-line
output-port/write-char
output-port/write-object
output-port/write-string
#| -*-Scheme-*-
-$Id: version.scm,v 14.178 1999/02/01 03:30:24 cph Exp $
+$Id: version.scm,v 14.179 1999/02/18 04:04:43 cph Exp $
Copyright (c) 1988-1999 Massachusetts Institute of Technology
(define (initialize-package!)
(snarf-microcode-version!)
(add-event-receiver! event:after-restore snarf-microcode-version!)
- (add-identification! "Runtime" 14 178))
+ (add-identification! "Runtime" 14 179))
(define (snarf-microcode-version!)
(add-identification! "Microcode"
#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.319 1999/02/16 20:11:00 cph Exp $
+$Id: runtime.pkg,v 14.320 1999/02/18 04:01:31 cph Exp $
Copyright (c) 1988-1999 Massachusetts Institute of Technology
(export ()
transcript-off
transcript-on)
- (export (runtime console-i/o-port)
- transcript-port)
+ (export (runtime rep)
+ make-transcriptable-port)
(initialization (initialize-package!)))
(define-package (runtime format)
make-generic-input-port
make-generic-output-port)
(export (runtime console-i/o-port)
- generic-i/o-type)
+ generic-i/o-type
+ operation/flush-output)
(export (runtime file-i/o-port)
generic-i/o-type
generic-input-type
close-port
current-input-port
current-output-port
+ encapsulated-port/port
+ encapsulated-port/state
+ encapsulated-port?
+ guarantee-encapsulated-port
guarantee-i/o-port
guarantee-input-port
guarantee-output-port
+ guarantee-port
guarantee-port-type
i/o-port-type?
i/o-port?
input-port/state
input-port?
interaction-i/o-port
+ make-encapsulated-port
make-i/o-port
make-i/o-port-type
make-input-port
port?
set-current-input-port!
set-current-output-port!
+ set-encapsulated-port/state!
set-input-port/state!
set-interaction-i/o-port!
set-notification-output-port!
newline
output-port/discretionary-flush
output-port/flush-output
+ output-port/fresh-line
output-port/write-char
output-port/write-object
output-port/write-string