[z-machine] output stream 2, input stream 1
David Kinder
d.kinder@btinternet.com
Wed, 19 Nov 2003 21:22:10 -0000
From: "Amir Karger"
> 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?)
Something around 80 characters is common. But note that the spec
says it *may* be buffered (to allow word wrapping), not that it has
to be.
> 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?
I don't see anywhere in the spec that says that. Frotz can definitely
take @read_char input from a file, I've used it in scripts.
David