#| -*-Scheme-*-
-$Id: global.scm,v 14.51 1999/01/02 06:06:43 cph Exp $
+$Id: global.scm,v 14.52 2000/01/10 03:35:47 cph Exp $
-Copyright (c) 1988-1999 Massachusetts Institute of Technology
+Copyright (c) 1988-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
((and (primitive-procedure? procedure)
(primitive-procedure-documentation procedure))
=> (lambda (documentation)
- (newline)
- (display documentation)))
+ (display documentation)
+ (newline)))
(else
- (newline)
(display "No documentation or debugging info for ")
(display procedure)
- (display "."))))
+ (display ".")
+ (newline))))
(define (pwd)
(working-directory-pathname))
(user-homedir-pathname)
pathname)))
-#|
-;; Compatibility.
-(define %pwd pwd)
-(define %cd cd)
-|#
-
(define (show-time thunk)
(let ((process-start (process-time-clock))
(process-start/nogc (runtime))
(process-time (- process-end process-start))
(process-time/nogc
(round->exact (* 1000 (- process-end/nogc process-start/nogc)))))
- (newline)
(write-string "process time: ")
(write process-time)
(write-string " (")
(write-string " RUN + ")
(write (- process-time process-time/nogc))
(write-string " GC); real time: ")
- (write (- real-end real-start)))
+ (write (- real-end real-start))
+ (newline))
value)))
-
+\f
(define (wait-interval ticks)
(let ((end (+ (real-time-clock) ticks)))
(let wait-loop ()
(write-string ";Dumping " port)
(write (enough-namestring filename) port))
(lambda ()
- (write-string " -- done" port))))
+ (write-string " -- done" port)
+ (newline port))))
(do-it no-print no-print))))
(define (undefined-value? object)
#| -*-Scheme-*-
-$Id: load.scm,v 14.54 1999/12/20 23:11:01 cph Exp $
+$Id: load.scm,v 14.55 2000/01/10 03:35:36 cph Exp $
-Copyright (c) 1988-1999 Massachusetts Institute of Technology
+Copyright (c) 1988-2000 Massachusetts Institute of Technology
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
purify?
load-noisily?))))
(cond (last-file? (load-it))
- (load-noisily?
- (let ((value (load-it)))
- (newline)
- (write value)))
+ (load-noisily? (write-line (load-it)))
(else (load-it) unspecific)))))))))
(if (pair? filename/s)
(let loop ((filenames filename/s))
(write (enough-namestring pathname) port)
(let ((value (do-it)))
(write-string " -- done" port)
+ (newline port)
value))))
(define *purification-root-marker*)
(let ((port (notification-output-port)))
(fresh-line port)
(write-string kind port)
- (write-string (->namestring (->pathname fname)))
- (write-string "..."))))
+ (write-string (->namestring (->pathname fname)) port)
+ (write-string "..." port)
+ (newline port))))
(with-binary-input-file (->truename pathname)
(lambda (channel)