cbreak and nocbreak
SYNOPSIS
#include <ocurses.h>
int cbreak()
int nocbreak()
NOTES
-
cbreak turns on ``break for each character'' processing.
A program gets each character as soon as it is typed,
but the erase, line kill, and CTRL-D characters are not interpreted.
-
nocbreak returns to normal ``line at a time'' processing.
This is typically the initial setting.
-
Neither returns any useful value.
-
ETI programs may not run properly
if cbreak is turned on and
off within the same program or if the combination
nocbreak and echo is used.
-
See
``Input option settings for ETI programs''
and accompanying caution.
EXAMPLE
See
``The editor program''
and
``The show program''.
Previous topic:
echo and noecho
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004