On Wed, 2005-05-25 at 21:46 -0700, Nathaniel Smith wrote: > On Wed, May 25, 2005 at 09:45:53AM +0200, Christof Petig wrote: > > while dusting off the ssh (and serve stdio) branch I realized that all > > these works need a common infrastructure: The ability to > > (cross-platform!) deal with pipes. > > Actually, 'automate stdio' should be doable by making stdin > non-buffered, which I believe can be done portably with just > iostreams -- no select() needed. There was some discussion of this on > IRC a day or two ago, and I think it's implemented now?
Yes, but not with using istream. I'm not entirely certain that's even doable (it varies by stream type, I think); what I did was use read(). Tim _______________________________________________ Monotone-devel mailing list Monotone-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/monotone-devel