Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cbreak(3X) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

curses(3X)

curses(5)

cbreak(3X)                                                       cbreak(3X)

NAME
     cbreak, nocbreak, noraw, raw - input mode control functions

SYNOPSIS
     cc [flag ...] file ... -lcurses [library ...]

     #include <curses.h>

     int cbreak(void);

     int nocbreak(void);

     int noraw(void);

     int raw(void);

DESCRIPTION
     The cbreak() function sets the input mode for the current terminal to
     cbreak mode and overrides a call to raw().

     The nocbreak() function sets the input mode for the current terminal
     to Cooked Mode without changing the state of ISIG and IXON.

     The noraw() function sets the input mode for the current terminal to
     Cooked Mode and sets the ISIG and IXON flags.

     The raw() 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.

NOTES
     If the application is not certain what the input mode of the process
     was at the time it called initscr(), it should use these functions to
     specify the desired input mode.

SEE ALSO
     curses(3X), curses(5).












Page 1                       Reliant UNIX 5.44                Printed 11/98

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