[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: streams



I have been trying to replace the system defined streams with
some of my own for my editor-top-level program.
It has been particularly difficult to get it to interact 
correctly with the error handler. The error handler uses
an input stream EH-COMMAND-STREAM to gobble the first character
to check to see if it's an editor command.
What it seems like it should do is TYI the character, check
to see if its a recognized command, then UNTYI it back so the
stream can handle it if its not a command.  What it does is to make some
special-case checks which make it impossible to substitute a stream
with different behaviour, in particular, one that lets the user edit input.
It seems like this would not be too hard to change [MMcM agrees.]