TerminalSettings (gb.term)

This class allows to define the parameters of a terminal stream.

This is a direct interface to the struct termios system structure.

Esta clase no es instanciable.

Propiedades
BRKINT   Return or set if a BREAK may interrupts the terminal foreground process.
BSDLY   Backspace delay mask.
CLOCAL   Ignore modem control lines.
CMSPAR   Use "stick" (mark/space) parity (supported on certain serial devices).
CRDLY   Carriage return delay mask.
CREAD   Enable receiver.
CRTSCTS   Enable RTS/CTS (hardware) flow control.
CSIZE   Character size mask.
CSTOPB   Set two stop bits, rather than one.
ECHO   Echo input characters.
ECHOCTL   Echo control characters.
ECHOE   If ICANON is also set, the ERASE character erases the preceding input character, and WERASE erases the preceding word.
ECHOK   If ICANON is also set, the KILL character erases the current line.
ECHOKE   If ICANON is also set, KILL is echoed by erasing each character on the line, as specified by ECHOE and ECHOPRT.
ECHONL   If ICANON is also set, echo the NL character even if ECHO is not set.
ECHOPRT   If ICANON and ECHO are also set, characters are printed as they are being erased.
FFDLY   Form feed delay mask.
FLUSHO   Output is being flushed. This flag is toggled by typing the DISCARD character.
HUPCL   Lower modem control lines after last process closes the device (hang up).
ICANON   Enable canonical mode.
ICRNL   Translate carriage return to newline on input (unless IGNCR is set).
IEXTEN   Enable implementation-defined input processing.
IGNBRK   Ignore BREAK condition on input.
IGNCR   Ignore carriage return on input.
IGNPAR   Ignore framing errors and parity errors.
INLCR   Translate NL to CR on input.
INPCK   Enable input parity checking.
ISIG   When any of the characters INTR, QUIT, SUSP, or DSUSP are received, generate the corresponding signal.
ISTRIP   Strip off eighth bit.
IUCLC   Map uppercase characters to lowercase on input.
IUTF8   Input is UTF-8. This allows character-erase to be correctly performed in cooked mode.
IXANY   Typing any character will restart stopped output.
IXOFF   Enable XON/XOFF flow control on input.
IXON   Enable XON/XOFF flow control on output.
InputSpeed   Return or set the terminal input speed.
NLDLY   Newline delay mask.
NOFLSH   Disable flushing the input and output queues when generating signals for the INT, QUIT, and SUSP characters.
OCRNL   Map CR to NL on output.
OFILL   Send fill characters for a delay, rather than using a timed delay.
OLCUC   Map lowercase characters to uppercase on output.
ONLCR   Map NL to CR-NL on output.
ONLRET   Don't output CR.
ONOCR   Don't output CR at column 0.
OPOST   Enable implementation-defined output processing.
OutputSpeed   Return or set the terminal output speed.
PARENB   Enable parity generation on output and parity checking for input.
PARMRK   Return or set if input bytes with parity or framing errors are marked when passed to the program.
PARODD   If set, then parity for input and output is odd; otherwise even parity is used.
PENDIN   All characters in the input queue are reprinted when the next character is read.
TABDLY   Horizontal tab delay mask.
TOSTOP   Send the SIGTTOU signal to the process group of a background process which tries to write to its controlling terminal.
VDISCARD   Toggle start/stop discarding pending output.
VEOF   End-of-file character (EOF).
VEOL   Additional end-of-line character (EOL).
VEOL2   Yet another end-of-line character (EOL2).
VERASE   Erase character (ERASE).
VINTR   Interrupt character (INTR).
VKILL   Kill character (KILL).
VLNEXT   Quotes the next input character, depriving it of a possible special meaning.
VMIN   Minimum number of characters for noncanonical read.
VQUIT   Quit character (QUIT).
VREPRINT   Reprint unread characters (REPRINT).
VSTART   Start character (START).
VSTOP   Stop character (STOP).
VSUSP   Suspend character (SUSP).
VTDLY   Vertical tab delay mask.
VTIME   Timeout in deciseconds for noncanonical read.
VWERASE   Word erase (WERASE).
XCASE   If ICANON is also set, terminal is uppercase only.

Métodos
Copy   Returns a copy of the TerminalSettings object.
MakeRaw   Sets the terminal to "raw" mode.