These special characters exist only in BSD systems and the GNU system.
termios.c_cc[VLNEXT]
holds the character itself.
The LNEXT character is recognized only when IEXTEN
is set, but in both canonical and noncanonical mode. It disables any special significance of the next character the user types. Even if the character would normally perform some editting function or generate a signal, it is read as a plain character. This is the analogue of the C-q command in Emacs. ``LNEXT'' stands for ``literal next.''
The LNEXT character is usually C-v.
termios.c_cc[VDISCARD]
holds the character itself.
The DISCARD character is recognized only when IEXTEN
is set, but in both canonical and noncanonical mode. Its effect is to toggle the discard-output flag. When this flag is set, all program output is discarded. Setting the flag also discards all output currently in the output buffer. Typing any other character resets the flag.
termios.c_cc[VSTATUS]
holds the character itself. The STATUS character's effect is to print out a status message about how the current process is running.
The STATUS character is recognized only in canonical mode, and only if NOKERNINFO
is not set.