[z-machine] output stream 2, input stream 1

Amir Karger amirkargerweb@yahoo.com
Wed, 19 Nov 2003 09:41:37 -0800 (PST)


Two questions about streams.

First, the spec says output stream 2 is buffered. Frotz seems to
word-wrap it to 80 characters, but the spec doesn't say how many
columns to use. Is 80 the standard, or do we get to pick how many
characters to use (in which case, what's really the point of
buffering?)

Second, what's the story with input stream and read_char? The spec says
read_char only reads from the keyboard, which Frotz does also. In that
case, what's the point of storing read_char keypresses in output stream
4, if you can't read them back in in stream one? OK, maybe this is more
a complaint than a question.  But it bums me out because I'm trying to
write a test that can be run non-interactively, but in that case I
can't test read_char as part of the test.

-Amir

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree