cbreak(CURSES)
cbreak --
input mode control functions
Synopsis
cc [options] file -lcurses
#include <curses.h>
int cbreak(void);
int nocbreak(void);
int noraw(void);
int raw(void);
Description
The
cbreak(CURSES)
function sets the input mode for the current terminal to cbreak mode and
overrides a call to
raw(CURSES).
The
nocbreak(CURSES)
function sets the input mode for the current terminal to Cooked Mode without
changing the state of ISIG and IXON.
The
noraw(CURSES)
function sets the input mode for the current terminal to Cooked Mode and sets
the ISIG and IXON flags.
The
raw(CURSES)
function sets the input mode for the current terminal to Raw Mode.
Return value
Upon successful completion, these functions return OK.
Otherwise, they return ERR.
Errors
No errors are defined.
Usage
If the application is not certain what the input mode of the process was at
the time it called
initscr(CURSES),
it should use these functions to specify the desired input mode.
Standards Conformance
The Single UNIX Specification, Version 2; The Open Group.
References
``Input Mode'',
curses(F),
termios(S)
``General terminal interface'' in Programming with system calls and libraries
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005