15.1 Basic Output Streams

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

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. [annotate]

[annotate]

stream-write-char  stream character [Generic Function]
stream-write-string  stream string &optional (start 0) end [Generic Function]
          

Writes the string string to the output stream stream. If start and end are supplied, they are integers that specify what part of string to output. string is returned as the value. [annotate]

[annotate]

stream-terpri  stream [Generic Function]
          

Writes an end of line character on the output stream stream, and returns false. [annotate]

[annotate]

stream-fresh-line  stream [Generic Function]
          

Writes an end of line character on the output stream stream only if the stream is not at the beginning of the line. [annotate]

[annotate]

stream-finish-output  stream [Generic Function]
stream-force-output  stream [Generic Function]
          

Like stream-finish-output, except that it may immediately return false without waiting for the output to complete. [annotate]

[annotate]

stream-clear-output  stream [Generic Function]
          

Aborts any outstanding output operation in progress on the output stream stream, and returns false. [annotate]

[annotate]

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. [annotate]

[annotate]

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. [annotate]

[annotate]

stream-advance-to-column  stream column [Generic Function]
          

Writes enough blank space on the output stream stream so that the next character will be written at the position specified by column, which is an integer. [annotate]

[annotate]

Note: The Gray stream protocol does not require that the column is an integer. For a proportional font it might not be. [edit]-- Tarn W. Burton 2021-12-03 17:49Z