Re: [RFC] [PATCH] Use console, not stdin/stderr, for prompting
2011/6/5 Peter Samuelson <peter_at_p12n.org>:
> [Peter Samuelson]
>> I _am_ rather curious whether, on Windows, using "CON:" for prompting
>> actually allows stdin to be usable for other things. Like, when
>> piping or redirecting to it. I suppose I can try to test this
>> feature using MingW32 + Wine
> Hmmm, fopen("CON:", "r+") in mingw32 + Wine just returns a "no such
> file or directory" error. Not quite what I was hoping for. I'm
> attaching my test program, maybe someone can test it on Windows....
I tested it and same result. However I found something relevant in MSDN library:
http://msdn.microsoft.com/en-us/library/7x2hy4cx.aspx (Console and Port I/O)
Might be usefull.
Received on 2011-06-05 23:30:00 CEST
This is an archived mail posted to the Subversion Dev