set linebuffering on out handle