removed additional reference to termios