termios bindings for Rust