"tty" --- Funções de controle de terminal
*****************************************

**Código-fonte:** Lib/tty.py

======================================================================

O módulo "tty" define funções para colocar o tty nos modos de cbreak e
não tratados (raw).

Disponibilidade: Unix.

Por requerer o módulo "termios", ele funcionará apenas no Unix.

O módulo "tty" define as seguintes funções:

tty.setraw(fd, when=termios.TCSAFLUSH)

   Change the mode of the file descriptor *fd* to raw. If *when* is
   omitted, it defaults to "termios.TCSAFLUSH", and is passed to
   "termios.tcsetattr()".

tty.setcbreak(fd, when=termios.TCSAFLUSH)

   Change the mode of file descriptor *fd* to cbreak. If *when* is
   omitted, it defaults to "termios.TCSAFLUSH", and is passed to
   "termios.tcsetattr()".

Ver também:

  Módulo "termios"
     Interface baixo nível para controle de terminal.
