On Saturday, April 23, 2011, Dave McGuire wrote:
On 4/22/11 8:54 PM, Josh Dersch wrote:
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.
"take input from stdio" should read "redirect stdio from another
process" but you get the gist...
(I got what you meant)
Ahh! Ok, so that piece of the puzzle is filled in. Now if
there's some way to write a driver to take stdin and stdout, and
connect them to a logical COM: port...I can't imagine that'd be too
difficult...then one could use pretty much any terminal emulator to
do this.
Or just find a decent telnet client, and use netcat, perhaps? I'd
imagine that it exists on Windows, not just *nix...
Pat
--
Patrick Finnegan