removed termios dependency for now