Home | History | Annotate | Download | only in pexpect-2.4

Lines Matching full:termios

77     import termios
728 attr = termios.tcgetattr(self.child_fd)
729 if attr[3] & termios.ECHO:
765 attr = termios.tcgetattr(self.child_fd)
767 attr[3] = attr[3] | termios.ECHO
769 attr[3] = attr[3] & ~termios.ECHO
772 termios.tcsetattr(self.child_fd, termios.TCSANOW, attr)
1011 #old = termios.tcgetattr(fd) # remember current state
1012 #attr = termios.tcgetattr(fd)
1013 #attr[3] = attr[3] | termios.ICANON # ICANON must be set to recognize EOF
1015 # termios.tcsetattr(fd, termios.TCSADRAIN, attr)
1016 # if hasattr(termios, 'CEOF'):
1017 # os.write (self.child_fd, '%c' % termios.CEOF)
1022 # termios.tcsetattr(fd, termios.TCSADRAIN, old)
1023 if hasattr(termios, 'VEOF'):
1024 char = termios.tcgetattr(self.child_fd)[6][termios.VEOF]
1035 if hasattr(termios, 'VINTR'):
1036 char = termios.tcgetattr(self.child_fd)[6][termios.VINTR]
1427 TIOCGWINSZ = getattr(termios, 'TIOCGWINSZ', 1074295912L)
1442 # termios.TIOCSWINSZ. It is not clear why this happens.
1448 TIOCSWINSZ = getattr(termios, 'TIOCSWINSZ', -2146929561)
1479 import pexpect, struct, fcntl, termios, signal, sys
1482 a = struct.unpack('hhhh', fcntl.ioctl(sys.stdout.fileno(), termios.TIOCGWINSZ , s))