Puts the terminal into or out of CBREAK mode.
#include <curses.h>
int cbreak(void);
int nocbreak(void);
int noraw(void);
int raw(void);
The cbreak subroutine sets the input mode for the current terminal to cbreak mode and overrides a call to the raw subroutine.
The nocbreak subroutine sets the input mode for the current terminal to Cooked Mode without changing the state of the ISIG and IXON flags.
The noraw subroutine sets the input mode for the current terminal to Cooked Mode and sets the ISIG and IXON flags.
The raw subroutine sets the input mode for the current terminal to Raw Mode.
Upon successful completion, these subroutines return OK. Otherwise, they return ERR.
For the cbreak and nocbreak subroutines:
cbreak();
nocbreak();
raw();
noraw();
For the noraw and raw subroutines:
raw();
noraw();
These subroutines are part of Base Operating System (BOS) Runtime.
The getch subroutine.
Curses Overview for Programming in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.
List of Curses Subroutines in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.
Understanding Terminals with Curses in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.