The (rnrs io simple (6)) library provides a somewhat more convenient interface for performing textual I/O on ports.
See http://www.r6rs.org
(eof-object? obj)
See http://www.r6rs.org
(call-with-input-file filename proc)
See http://www.r6rs.org
(call-with-output-file filename proc)
See http://www.r6rs.org
(input-port? obj)
See http://www.r6rs.org
(output-port? obj)
See http://www.r6rs.org
(current-input-port)
See http://www.r6rs.org
(current-output-port)
See http://www.r6rs.org
(current-error-port)
See http://www.r6rs.org
(with-input-from-file filename thunk)
See http://www.r6rs.org
(with-output-to-file filename thunk)
See http://www.r6rs.org
(open-input-file filename)
See http://www.r6rs.org
(open-output-file filename)
See http://www.r6rs.org
(close-input-port input-port)
See http://www.r6rs.org
(close-output-port output-port)
See http://www.r6rs.org
(read-char textual-input-port)
See http://www.r6rs.org
(peek-char textual-input-port)
See http://www.r6rs.org
(read textual-input-port)
See http://www.r6rs.org
(write-char char)
See http://www.r6rs.org
(write-char char textual-output-port)
See http://www.r6rs.org
(newline textual-output-port)
See http://www.r6rs.org
(display obj textual-output-port)
See http://www.r6rs.org
(write obj textual-output-port)