Places the terminal into or out of raw mode.
#include <curses.h> raw( ) noraw( )
The raw or noraw subroutine places the terminal into or out of raw mode, respectively. RAW mode is similar to CBREAK mode (cbreak or nocbreak subroutine). In RAW mode, the system immediately passes typed characters to the user program. The interrupt, quit, and suspend characters are passed uninterrupted, instead of generating a signal. RAW mode also causes 8-bit input and output.
To get character-at-a-time input without echoing, call the cbreak and noecho subroutines. Most interactive screen-oriented programs require this sort of input.
OK | Indicates the subroutine completed. The raw and noraw routines always return this value. |
raw();
noraw();
These subroutines are part of Base Operating System (BOS) Runtime.
The getch subroutine, cbreak or nocbreak subroutine
Curses Overview for Programming, List of Curses Subroutines, Understanding Terminals with CursesAIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.