[Pharo-project] Standard input in Pharo?
alexandre.bergel at inria.fr
Mon May 10 19:49:44 EDT 2010
Maybe OSProcess can do something about that.
I just tried on Mac to inspect a "(FileStream fileNamed: '/dev/stdin')
Sending #nextLine to it, and entering text in the xterm triggers a loop.
It seems to work for #next however.
Someone tried this?
On 10 May 2010, at 19:00, Andrei Stebakov wrote:
> I've been just going through "Computer Programming with GNU
> Smalltalk" book using Pharo 1.0 as an actual ST implementation.
> The book mentions "stdin nextLine" as a way to get an input from a
> user via the standard input.
> Is there a similar class/method in Pharo?
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
More information about the Pharo-dev