`RealWaitForChar` checks for data in a file descriptor by using a `poll/select` call. We are now using libuv to handle the OS calls, storing data at `in_buffer` which. `rpos < `wpos` means that there's pending data to read. As far as  most of the code is concerned, `in_buffer` is now replacing `read_cmd_fd`