'From etoys3.0 of 19 February 2008 [latest update: #1907] on 22 February 2008 at 4:29:08 pm'! "Change Set: stdStreams2-bf Date: 22 February 2008 Author: Bert Freudenberg Make sure to use standard streams only on unix"! !FileStream class methodsFor: 'standard streams' stamp: 'bf 2/22/2008 16:27'! stderr SmalltalkImage current platformName = 'unix' ifFalse: [^nil]. ^StdErr ifNil: [ StdErr := MultiByteFileStream new open: '/dev/stderr' forWrite: true; lineEndConvention: #lf]! ! !FileStream class methodsFor: 'standard streams' stamp: 'bf 2/22/2008 16:27'! stdin SmalltalkImage current platformName = 'unix' ifFalse: [^nil]. ^StdIn ifNil: [ StdIn := MultiByteFileStream new open: '/dev/stdin' forWrite: false; lineEndConvention: #lf]! ! !FileStream class methodsFor: 'standard streams' stamp: 'bf 2/22/2008 16:27'! stdout SmalltalkImage current platformName = 'unix' ifFalse: [^nil]. ^StdOut ifNil: [ StdOut := MultiByteFileStream new open: '/dev/stdout' forWrite: true; lineEndConvention: #lf]! !