Re: [Pharo-project] Setting File>>serverMode

2011-05-29 Thread Marcus Denker
On May 29, 2011, at 1:28 PM, Stéphane Ducasse wrote: > stdioStreamClass > > ^self encodeAndDecodeStdioFiles > ifTrue: [ MultiByteFileStream ] > ifFalse: [ StandardFileStream ] > > so it is used? > So I replaced in the .cs the one call to stdioStreamClass with

Re: [Pharo-project] Setting File>>serverMode

2011-05-29 Thread Stéphane Ducasse
stdioStreamClass ^self encodeAndDecodeStdioFiles ifTrue: [ MultiByteFileStream ] ifFalse: [ StandardFileStream ] so it is used? encodeAndDecodeStdioFiles ^EncodeAndDecodeStdioFiles ifNil: [ true ] stdioSettingOn: aBuilder

Re: [Pharo-project] Setting File>>serverMode

2011-05-29 Thread Marcus Denker
On May 29, 2011, at 11:06 AM, Marcus Denker wrote: > > On May 29, 2011, at 11:00 AM, Marcus Denker wrote: >> >> >> >> So I vote for removing that preference. >> > > > It seems the code behind does nothing anyway. > > -> EncodeAndDecodeStdioFiles is only set to true in initialize. No other

Re: [Pharo-project] Setting File>>serverMode

2011-05-29 Thread Marcus Denker
On May 29, 2011, at 11:00 AM, Marcus Denker wrote: > > > > So I vote for removing that preference. > It seems the code behind does nothing anyway. -> EncodeAndDecodeStdioFiles is only set to true in initialize. No other use. So we can clean up... Marcus -- Marcus Denker -- http

[Pharo-project] Setting File>>serverMode

2011-05-29 Thread Marcus Denker
Hello, There is a setting Files serverMode 1) we now have two server mode settings, doing different things. 2) Do we actually *need* this setting? Server mode If enabled, then the contents of stdin, stdout and stderr are encoded/decoded using the system default text converter a) it's