Page 130 Table of Contents Index Page 132
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E





Chapter 15

Extended Stream Output

CLIM provides a stream-oriented output layer that is implemented on top of the sheet output
architecture. The basic CLIM output stream protocol is based on the character output stream
protocol proposal submitted to the ANSI Common Lisp committee by David Gray. This proposal
was not approved by the committee, but has been implemented by most Lisp vendors.

15.1 Basic Output Streams

CLIM provides an implementation of the basic output stream facilities (described in more detail
in Appendix C), either by directly using the underlying Lisp implementation, or by implementing
the facilities itself.

=> standard-output-stream [Class]
This class provides an implementation of the CLIM basic output stream protocol, based on the
CLIM output kernel. Members of this class are mutable.

=> stream-write-char stream character [Generic Function]
Writes the character character to the output stream stream, and returns character as its value.

=> stream-line-column stream [Generic Function]
This function returns the column number where the next character will be written on the output
stream
stream. The first column on a line is numbered 0.

=> stream-start-line-p stream [Generic Function]
Returns true if the output stream stream is positioned at the beginning of a line (that is, column
0), otherwise returns false.


Page 130 Table of Contents Index Page 132
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E