HPlogo MPE/iX Developer's Kit Reference Manual Volume 2: HP 3000 MPE/iX Computer Systems > Chapter 4 CURSES

raw noraw

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The raw and noraw routines are used to enable and disable the raw-mode operation.

Syntax

   #include <curses.h>



   int raw();

   int noraw();

Return Values

OK

Successful completion.

ERR

An error occurred.

Description

The raw() and noraw() routines enable and disable raw-mode operation, respectively. These routines are similar to cbreak() and nocbreak() in that raw() immediately processes characters typed by the user, and noraw() restores the previous state. The difference is that raw() passes through quit, interrupt, suspend, and flow control characters (QUIT, INTR, SUSP, STOP, START) as normal text without generating a signal. The behavior of the BREAK key varies depending on the terminal.

Implementation Considerations

Identical to XPG/3

See Also

cbreak(), wgetch(), halfdelay(), nodelay(), wtimeout()

Portability

HP-UX, UNIX System V, XPG/3

Feedback to webmaster