www.delorie.com/gnu/docs/glibc/libc_371.html   search  
 
Buy the book!


The GNU C Library

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

17.4.9.4 Other Special Characters

These special characters exist only in BSD systems and the GNU system.

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, 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 editing 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.

Macro: int VDISCARD
This is the subscript for the DISCARD character in the special control character array. 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.

Macro: int VSTATUS
This is the subscript for the STATUS character in the special control character array. 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.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003