Home | History | Annotate | Download | only in python2.7

Lines Matching defs:termios

63             old = termios.tcgetattr(fd)     # a copy to save
65 new[3] &= ~termios.ECHO # 3 == 'lflags'
66 tcsetattr_flags = termios.TCSAFLUSH
67 if hasattr(termios, 'TCSASOFT'):
68 tcsetattr_flags |= termios.TCSASOFT
70 termios.tcsetattr(fd, tcsetattr_flags, new)
73 termios.tcsetattr(fd, tcsetattr_flags, old)
75 except termios.error, e:
162 import termios
163 # it's possible there is an incompatible termios from the
164 # McMillan Installer, make sure we have a UNIX-compatible termios
165 termios.tcgetattr, termios.tcsetattr