Maybe OSProcess can do something about that.

I just tried on Mac to inspect a "(FileStream fileNamed: '/dev/stdin') readStream"
Sending #nextLine to it, and entering text in the xterm triggers a loop.
It seems to work for #next however.

Someone tried this?

Cheers,
Alexandre


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
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to