Retrieves the attributes of the terminal.
impl Tty { fn attributes(&self) -> Result<TtyAttr, Errno> }
tty_ioctl(4) and TCGETS therein