[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [RFC] [PATCH] Use console, not stdin/stderr, for prompting

From: Daniel Klíma <danklima_at_gmail.com>
Date: Sun, 5 Jun 2011 23:29:30 +0200

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....
>
> Peter
>

Hello.

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.

Klima
Received on 2011-06-05 23:30:00 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.