[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: Peter Samuelson <peter_at_p12n.org>
Date: Mon, 6 Jun 2011 16:25:01 -0500

[Daniel Klíma]
> 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)

Thanks! I still believe we should do our prompting on the console,
instead of stdin/stderr - especially stdin should be free for use by
'svnadmin load', 'svn patch' and the like. Does anyone here still
think we should support the case of trying to 'drive' the interactive
prompts in command-line programs, programmatically? AFAIK, we've never
officially supported that sort of thing (especially password prompts),
and I don't see a need.

I'll come up with a patch using the Win32 functions from that article,
when I find the time, which probably won't be today.

Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
Received on 2011-06-06 23:25:44 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.