fcntl is Unix only, needs to be with termios