Home | History | Annotate | Download | only in pexpect

Lines Matching defs:termios

78     import termios
766 attr = termios.tcgetattr(self.child_fd)
767 if attr[3] & termios.ECHO:
803 attr = termios.tcgetattr(self.child_fd)
805 attr[3] = attr[3] | termios.ECHO
807 attr[3] = attr[3] & ~termios.ECHO
811 termios.tcsetattr(self.child_fd, termios.TCSANOW, attr)
1059 #old = termios.tcgetattr(fd) # remember current state
1060 #attr = termios.tcgetattr(fd)
1061 #attr[3] = attr[3] | termios.ICANON # ICANON must be set to see EOF
1063 # termios.tcsetattr(fd, termios.TCSADRAIN, attr)
1064 # if hasattr(termios, 'CEOF'):
1065 # os.write(self.child_fd, '%c' % termios.CEOF)
1070 # termios.tcsetattr(fd, termios.TCSADRAIN, old)
1071 if hasattr(termios, 'VEOF'):
1072 char = termios.tcgetattr(self.child_fd)[6][termios.VEOF]
1083 if hasattr(termios, 'VINTR'):
1084 char = termios.tcgetattr(self.child_fd)[6][termios.VINTR]
1501 TIOCGWINSZ = getattr(termios, 'TIOCGWINSZ', 1074295912)
1516 # termios.TIOCSWINSZ. It is not clear why this happens.
1522 TIOCSWINSZ = getattr(termios, 'TIOCSWINSZ', -2146929561)
1555 import pexpect, struct, fcntl, termios, signal, sys
1559 termios.TIOCGWINSZ , s))