Lines Matching defs:termios
15 import sys, os, fcntl, termios, struct, select, errno, time
22 TERMIOS = termios
276 done with termios and fcntl. Runs on Linux and many other Un*x like
322 orig_attr = termios.tcgetattr(self.fd)
324 except termios.error, msg: # if a port is nonexistent but has a /dev file, it'll fail here
427 termios.tcsetattr(self.fd, TERMIOS.TCSANOW, [iflag, oflag, cflag, lflag, ispeed, ospeed, cc])
529 termios.tcflush(self.fd, TERMIOS.TCIFLUSH)
535 termios.tcflush(self.fd, TERMIOS.TCOFLUSH)
540 termios.tcsendbreak(self.fd, int(duration/0.25))
601 termios.tcdrain(self.fd)
624 termios.tcflow(self.fd, TERMIOS.TCION)
626 termios.tcflow(self.fd, TERMIOS.TCIOFF)
636 termios.tcflow(self.fd, TERMIOS.TCOON)
638 termios.tcflow(self.fd, TERMIOS.TCOOFF)