broken channel and terminal reading into sep functions