Implement a binary I/O terminal mode in uv_tty_set_mode

- Introduce a uv_tty_mode_t enum with backward compatible values.
- New mode 2 (UV_TTY_MODE_IO), which uses cfmakeraw().
On 12/27/2014 03:14 PM, Saúl Ibarra Corretgé wrote:
>> +    case UV_TTY_MODE_IO:
>> +      return UV_EINVAL;
> 
> perhaps UV_ENOTSUP is a better choice here?

I think on Win a console cannot be used as a true I/O port (but I might
be wrong?)

Anyway, I can correct this if needed.
Other comments?