chickadee » extras » read-line

read-line #!optional PORT LIMITprocedure
write-line STRING #!optional PORTprocedure

Line-input and -output. PORT defaults to the value of (current-input-port) and (current-output-port), respectively. If the optional argument LIMIT is given and not #f, then read-line reads at most LIMIT characters per line. read-line returns a string without the terminating newline and write-line adds a terminating newline before outputting.