[Truffle] Lots of work on STDIN, STDOUT, STDERR.