Fixed: termios only required for POSIX system.