[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
re: Issue: PEEK-CHAR-READ-CHAR-ECHO (Version 3)
- To: Kim A. Barrett <IIM@ECLA.USC.EDU>
- Subject: re: Issue: PEEK-CHAR-READ-CHAR-ECHO (Version 3)
- From: masinter.pa@Xerox.COM
- Date: 9 Jan 89 17:24 PST
- Cc: cl-cleanup@sail.stanford.edu
- In-reply-to: Kim A. Barrett <IIM@ECLA.USC.EDU>'s message of 2 Jan 89 15:23 PST
Kim:
The proposal only implies that PEEK-CHAR is no longer equivalent to
READ-CHAR followed by UNREAD-CHAR when the stream in question is stream
created by MAKE-ECHO-STREAM. Certainly for any other stream, a string
stream, and any other stream that doesn't have ECHO behavior, PEEK-CHAR
could be implemented by READ-CHAR followed by UNREAD-CHAR. It probably
implies that synonym streams should "pass on" the PEEK-CHAR operation, and
that concatenated streams should also do so, but I'd be suprised if many
implementations didn't already do that.
This proposal does *not* necessarily affect what *TERMINAL-IO* does; only
with streams created by MAKE-ECHO-STREAM.
FYI, hardcopy & online versions have the typo "echos" fixed. Are there
others?