> On 11 Apr 2018, at 11:12, Sven Van Caekenberghe <s...@stfx.eu> wrote: > > How does one modify #atEnd to block ? I suppose you are talking about > StdioStream>>#atEnd ? > > ^ self peek isNil > > ?
Still the same question, how do you implement a blocking #atEnd for stdin ? I have seen your stdio.cs which is indeed needed as the current StdioStream>>#atEnd is bogus for sure. But that is still a non-blocking one, right ? Since there is a peekBuffer in StdioStream, why can't that be used ? I have run your example testAtEnd.st now, and it works/fails as advertised.