process: make java's stdout raise Console event etc.