termios types not same everywhere, move to each OS