add termios sample