[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: Bert Huijben <bert_at_qqmail.nl>
Date: Sun, 5 Jun 2011 23:26:07 +0200

> -----Original Message-----
> From: Peter Samuelson [mailto:peter_at_p12n.org]
> Sent: zondag 5 juni 2011 22:22
> To: dev_at_subversion.apache.org
> Subject: Re: [RFC] [PATCH] Use console, not stdin/stderr, for prompting
>
>
> [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....

F:\>con_test.exe
Cannot open console: No such file or directory

F:\>

(Visual C++ 2008 32 bit on Windows 7 x64)

        Bert
Received on 2011-06-05 23:27:38 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.