Module lrs::tty::flags

Constants

NameDescription
TTYCTRL_CLOCAL
TTYCTRL_CMSPAR
TTYCTRL_CREAD
TTYCTRL_CRTSCTS
TTYCTRL_CSTOPB
TTYCTRL_HUPCL
TTYCTRL_NONE

Dummy flag with all flags unset.

TTYCTRL_PARENB
TTYCTRL_PARODD
TTYIN_ANY_RESTART

Typing any character restarts stopped output.

TTYIN_BREAK_TO_INT

BREAK condition causes SIGINT to be sent to the foreground process.

TTYIN_CHECK_INPUT

Enable input parity checking.

TTYIN_CR_TO_NL

Transate CR to NL on input.

TTYIN_IGNORE_BREAK

Ignore BREAK condition on input.

TTYIN_IGNORE_CR

Ignore CR input.

TTYIN_IGNORE_ERRORS

Ignore framing and parity errors.

TTYIN_INPUT_FLOW_CTRL

Enable input flow control.

TTYIN_MARK_ERRORS

Prefix all framing and parity errors with the sequence 0xFF 0x00.

TTYIN_NL_TO_CR

Transate NL to CR on input.

TTYIN_NONE

Dummy flag with all flags unset.

TTYIN_OUTPUT_FLOW_CTRL

Enable output flow control.

TTYIN_TO_ASCII

Clear the most significant bit.

TTYIN_TO_LOWER

Turn uppercase input into lowercase input.

TTYIN_UTF8

Input is UTF-8.

TTYLOC_CANONICAL

Enable canonical mode.

TTYLOC_ECHO

Echo input characters.

TTYLOC_ECHOKE
TTYLOC_ECHOPRT
TTYLOC_ECHO_ESCAPED

Echo special characters in escaped form.

TTYLOC_ECHO_NL

Enable echoing newlines.

TTYLOC_ERASE

Enable erasing characters.

TTYLOC_IEXTEN
TTYLOC_KILL

Enable erasing the whole line.

TTYLOC_NOFLSH
TTYLOC_NONE

Dummy flag with all flags unset.

TTYLOC_SIGNALS

Enable sending signals via the keyboard.

TTYLOC_TOSTOP
TTYOUT_CR_TO_NL

Transate CR to NL on ouput.

TTYOUT_NL_TO_CRNL

Transate NL to CRNL on ouput.

TTYOUT_NONE

Dummy flag with all flags unset.

TTYOUT_NO_COL0_CR

Don't output CR at column 0.

TTYOUT_NO_CR

Don't output CR.

TTYOUT_PROCESS

Enable output processing.

TTYOUT_TO_UPPER

Turn lowercase output into uppercase output.