Go to the previous, next section.

BSD Extensions to Editing Characters

These special characters are active only in canonical input mode. See section Two Styles of Input: Canonical or Not. They are BSD extensions; the GNU library defines the symbols on any system if you ask for them, but the characters you specify don't actually do anything except on a BSD system.

Macro: int VEOL2

This is the subscript for the EOL2 character in the special control character array. termios.c_cc[VEOL2] holds the character itself.

The EOL2 character works just like the EOL character (see above), but it can be a different character. Thus, you can specify two characters to terminate an input line, but setting EOL to one of them and EOL2 to the other.

Macro: int VWERASE

This is the subscript for the WERASE character in the special control character array. termios.c_cc[VWERASE] holds the character itself.

The WERASE character is recognized only in canonical input mode. It erases an entire word of prior input.

Macro: int VREPRINT

This is the subscript for the REPRINT character in the special control character array. termios.c_cc[VREPRINT] holds the character itself.

The REPRINT character is recognized only in canonical input mode. It reprints the current input line.

Macro: int VLNEXT

This is the subscript for the LNEXT character in the special control character array. termios.c_cc[VLNEXT] holds the character itself.

The LNEXT character is recognized only when IEXTEN is set. It disables the editing significance of the next character the user types. It is the analogue of the C-q command in Emacs. "LNEXT" stands for "literal next."

The LNEXT character is usually C-v.

Go to the previous, next section.