(newline (smtp-port-port port)))
(define (smtp-drain-output port)
- (flush-output (smtp-port-port port)))
+ (flush-output-port (smtp-port-port port)))
(define (smtp-trace-write-string string port)
(let ((trace-buffer (smtp-port-trace-buffer port)))
(write-string " " webster-server-port)
(write-string word webster-server-port)
(newline webster-server-port)
- (flush-output webster-server-port)
+ (flush-output-port webster-server-port)
(let ((line (read-line webster-server-port)))
(cond ((string=? "SPELLING 0" line)
(message "Word not found."))
#include <stdio.h>
" (basics-grovel-func) (enums-grovel-func includes)))
- (flush-output)
+ (flush-output-port)
(let* ((structs (gen-struct-grovel-funcs includes))
(unions (gen-union-grovel-funcs includes)))
(let ((library (c-includes/library includes)))
(cddr arguments))
arguments))
imap-trace-port)
- (flush-output imap-trace-port)))
+ (flush-output-port imap-trace-port)))
(imap-transcript-write-string tag port)
(imap-transcript-write-char #\space port)
(imap-transcript-write-string (symbol->string command) port)
(if imap-trace-port
(begin
(write-line (list 'RECEIVE response) imap-trace-port)
- (flush-output imap-trace-port)))
+ (flush-output-port imap-trace-port)))
response))
(define (imap:catch-no-response predicate thunk)
(begin
(write-line (cons* 'OBJECT-EVENT object type arguments)
imap-trace-port)
- (flush-output imap-trace-port)))
+ (flush-output-port imap-trace-port)))
(event-distributor/invoke! (object-modification-event object)
object
type
(write object imap-transcript-port)))
(define (imap-transcript-flush-output port)
- (flush-output port)
+ (flush-output-port port)
(if imap-transcript-port
- (flush-output imap-transcript-port)))
+ (flush-output-port imap-transcript-port)))
(define imap-transcript-port #f)
\f
(write-string (http-request-body request) port))
(begin
(newline port)))
- (flush-output port))
+ (flush-output-port port))
(define (write-http-response response port)
(if (http-response-version response)
(write-http-headers (http-response-headers response) port)))
(%binary-mode port)
(write-string (http-response-body response) port)
- (flush-output port))
+ (flush-output-port port))
\f
;;;; Input
(define (flush-transcript port)
(let ((tport (textual-port-transcript port)))
(if tport
- (flush-output tport))))
+ (flush-output-port tport))))
(define (discretionary-flush-transcript port)
(let ((tport (textual-port-transcript port)))
(error "Expression length exceeds 24 bits:" s))
(write-string (string-pad-left s 6 #\0) out))
(write-string packet out)
- (flush-output out))
+ (flush-output-port out))
(define (dispatch message socket level)
(let ((p
(dynamic-wind
(lambda () unspecific)
(lambda () (with-output-to-port p thunk))
- (lambda () (flush-output p)))))
+ (lambda () (flush-output-port p)))))
(define repl-port-type)
(define (initialize-package!)
(fresh-line port)
(newline port)
(write-string prompt port)
- (flush-output port)))
+ (flush-output-port port)))
(with-input-port-terminal-mode port 'COOKED
(lambda ()
(read port environment))))))))
(with-output-port-terminal-mode port 'COOKED
(lambda ()
(write-char char port)
- (flush-output port)))
+ (flush-output-port port)))
char)
(loop)))))
(lambda ()
(newline port)
(write-string prompt port)
- (flush-output port)))
+ (flush-output-port port)))
(let ((char
(with-input-port-terminal-mode port 'RAW
(lambda ()
(with-output-port-terminal-mode port 'COOKED
(lambda ()
(write-string "Yes" port)
- (flush-output port)))
+ (flush-output-port port)))
true)
((#\n #\N #\rubout)
(with-output-port-terminal-mode port 'COOKED
(lambda ()
(write-string "No" port)
- (flush-output port)))
+ (flush-output-port port)))
false)
((#\newline)
(loop))
(lambda ()
(write char port)
(beep port)
- (flush-output port)))
+ (flush-output-port port)))
(loop))))))
(define (prompt-for-string prompt #!optional port)
(fresh-line port)
(newline port)
(write-string prompt port)
- (flush-output port)))
+ (flush-output-port port)))
(with-input-port-terminal-mode port 'COOKED
(lambda ()
(read-line port))))
(fresh-line port)
(newline port)
(write-string (canonicalize-prompt prompt ": ") port)
- (flush-output port)))
+ (flush-output-port port)))
(let loop ((input ""))
(let ((char (with-binary-line-ending
(lambda ()
(write-string " " port)
(write-string (cdr prompt) port))
(write-string prompt port))
- (flush-output port)))))
+ (flush-output-port port)))))
;;;; Debugger Support
(status-response 500 (condition->html response))
response))))
port)
- (flush-output port))
+ (flush-output-port port))
(lambda ()
(transcript-off port)
(close-port port))))))
(http-request-user-name)
(http-message-post-parameters request))
request-log-port)
- (flush-output request-log-port))))
+ (flush-output-port request-log-port))))
(define request-log-port #f)
\ No newline at end of file
(begin
(write-xml document *trace-expansion-port*)
(fresh-line *trace-expansion-port*)
- (flush-output *trace-expansion-port*)))
+ (flush-output-port *trace-expansion-port*)))
(procedure document)))))))
(define (trace-expansion filename)