PyDocs

Nav

Unix-specific services

tcsetattr

termios

functionUnix
  • tcsetattr(fd, when, attributes)
Set the tty attributes for file descriptor fd.

The attributes to be set are taken from the attributes argument, which
is a list like the one returned by tcgetattr(). The when argument
determines when the attributes are changed: termios.TCSANOW to
change immediately, termios.TCSADRAIN to change after transmitting all
queued output, or termios.TCSAFLUSH to change after transmitting all
queued output and discarding all queued input.
0 Examples
No examples for termios/tcsetattr.
See Also
No see-alsos for termios/tcsetattr
0 Notes
No notes for tcsetattr