Serial read problem on mac only