TerminalModes
Specifies the initial assignments of the opcode values that are used in the 'encoded terminal modes' valu
CS7 = 90
7 bit mode.
CS8 = 91
8 bit mode.
ECHO = 53
Enable echoing.
ECHOCTL = 60
Echo control characters as ^(Char).
ECHOE = 54
Visually erase chars.
ECHOK = 55
Kill character discards current line.
ECHOKE = 61
Visual erase for line kill.
ECHONL = 56
Echo NL even if ECHO is off.
ICANON = 51
Canonicalize input lines.
ICRNL = 36
Map CR to NL on input.
IEXTEN = 59
Enable extensions.
IGNCR = 35
Ignore CR on input.
IGNPAR = 30
The ignore parity flag. The parameter SHOULD be 0 if this flag is FALSE, and 1 if it is TRUE.
IMAXBEL = 41
Ring bell on input queue full.
INLCR = 34
Map NL into CR on input.
INPCK = 32
Enable checking of parity errors.
ISIG = 50
Enable signals INTR, QUIT, [D]SUSP.
ISTRIP = 33
Strip 8th bit off characters.
IUCLC = 37
Translate uppercase characters to lowercase.
IXANY = 39
Any char will restart after stop.
IXOFF = 40
Enable input flow control.
IXON = 38
Enable output flow control.
NOFLSH = 57
Don't flush after interrupt.
OCRNL = 73
Translate carriage return to newline (output).
OLCUC = 71
Convert lowercase to uppercase.
ONLCR = 72
Map NL to CR-NL.
ONLRET = 75
Newline performs a carriage return (output).
ONOCR = 74
Translate newline to carriage return-newline (output).
OPOST = 70
Enable output processing.
PARENB = 92
Parity enable.
PARMRK = 31
Mark parity and framing errors.
PARODD = 93
Odd parity, else even.
PENDIN = 62
Retype pending input.
TOSTOP = 58
Stop background jobs from output.
TTY_OP_END = 0
Indicates end of options.
TTY_OP_ISPEED = 128
Specifies the input baud rate in bits per second.
TTY_OP_OSPEED = 129
Specifies the output baud rate in bits per second.
VDISCARD = 18
Toggles the flushing of terminal output.
VDSUSP = 11
Another suspend character.
VEOF = 5
End-of-file character (sends EOF from the terminal).
VEOL = 6
End-of-line character in addition to carriage return and/or linefeed.
VEOL2 = 7
Additional end-of-line character.
VERASE = 3
Erase the character to left of the cursor.
VFLUSH = 15
Character to flush output.
VINTR = 1
Interrupt character; 255 if none. Similarly for the other characters. Not all of these characters are supported on all systems.
VKILL = 4
Kill the current input line.
VLNEXT = 14
Enter the next character typed literally, even if it is a special character
VQUIT = 2
The quit character (sends SIGQUIT signal on POSIX systems).
VREPRINT = 12
Reprints the current input line.
VSTART = 8
Continues paused output (normally control-Q).
VSTATUS = 17
Prints system status line (load, command, pid, etc).
VSTOP = 9
Pauses output (normally control-S).
VSUSP = 10
Suspends the current program.
VSWTCH = 16
Switch to a different shell layer.
VWERASE = 13
Erases a word left of cursor.
XCASE = 52
Enable input and output of uppercase characters by preceding their lowercase equivalents with "\".