monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] cvssync, ssh, serve stdio need a missing common inf


From: Timothy Brownawell
Subject: Re: [Monotone-devel] cvssync, ssh, serve stdio need a missing common infrastructure
Date: Thu, 26 May 2005 01:33:29 -0500

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]