On 4/22/2011 12:54 PM, Dave McGuire wrote:
If one had a good terminal emulator under Windows, and Windows had the
ability to arbitrarily tie program character I/O to the I/O interfaces
of the terminal emulator (note that "terminal emulator" means "program
that emulates a terminal", not "program that talks to a serial port")
then Windows-based SIMH would have the same capability as the rest of
the world. As far as I'm aware, Windows has no such capability.
Windows does, in fact have the ability to pipe console I/O just as
unices do. It's also possible for a parent process to get handles to
the I/O channels of child processes. (See
http://msdn.microsoft.com/en-us/library/ms682499%28v=vs.85%29.aspx for a
sample of the latter.) I'm not aware of any Windows terminal emulators
that know how to take input from stdio, but there's absolutely no reason
it couldn't be done -- it's not a Windows limitation.
- Josh