Try line buffered mode.