GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

No menu could be recovered. Follow the blue links in the page.

This view

  • Original page
  • New address

GeezerVison is showing docs.python.org — 8.10 tty -- Terminal control functions

Previous Page Up One Level Next Page Python Library Reference Contents Module Index Index
Previous: 8.9 TERMIOS Up: 8. Unix Specific Services Next: 8.11 pty

8.10 tty -- Terminal control functions

Availability: Unix.

The tty module defines functions for putting the tty into cbreak and raw modes.

Because it requires the termios module, it will work only on Unix.

The tty module defines the following functions:

setraw (fd[, when])
Change the mode of the file descriptor fd to raw. If when is omitted, it defaults to TERMIOS.TCAFLUSH, and is passed to termios.tcsetattr().

setcbreak (fd[, when])
Change the mode of file descriptor fd to cbreak. If when is omitted, it defaults to TERMIOS.TCAFLUSH, and is passed to termios.tcsetattr().

See Also:

Module termios:
Low-level terminal control interface.
Module TERMIOS:
Constants useful for terminal control operations.


Previous Page Up One Level Next Page Python Library Reference Contents Module Index Index
Previous: 8.9 TERMIOS Up: 8. Unix Specific Services Next: 8.11 pty

See About this document... for information on suggesting changes.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.