chickadee » input-parse » read-text-line

read-text-line #!optional PORTprocedure

Reads one line of text from the PORT, and returns it as a string.

A line is a (possibly empty) sequence of characters terminated by CR, CRLF or LF (or even the end of file). The terminating character (or CRLF combination) is removed from the input stream. The terminating character(s) is not a part of the return string either. If EOF is encountered before any character is read, the return value is EOF.

The optional argument PORT defaults to the current input port.