Lines Matching defs:termios
69 old = termios.tcgetattr(fd) # a copy to save
71 new[3] &= ~termios.ECHO # 3 == 'lflags'
72 tcsetattr_flags = termios.TCSAFLUSH
73 if hasattr(termios, 'TCSASOFT'):
74 tcsetattr_flags |= termios.TCSASOFT
76 termios.tcsetattr(fd, tcsetattr_flags, new)
79 termios.tcsetattr(fd, tcsetattr_flags, old)
81 except termios.error:
173 import termios
174 # it's possible there is an incompatible termios from the
175 # McMillan Installer, make sure we have a UNIX-compatible termios
176 termios.tcgetattr, termios.tcsetattr