io multiplexing 1 with buffering readline