Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

raw(3cur)

Name

raw, noraw − enable/disable raw mode

Syntax

int raw()

int noraw()

Description

The raw routine sets the terminal into RAW mode. RAW mode is similar to CBREAK mode, in that characters are immediately passed through to the user program as they are typed. In RAW mode, the interrupt, quit, suspend and flow control characters are passed through uninterpreted, and do not generate a signal.

The behavior of the BREAK key depends on the settings of bits that are not controlled by curses.

The noraw routine disables RAW mode.

Return Value

The raw and noraw functions return OK on success and ERR on error.

Errors

No errors are defined for these functions. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026