HP 3000 Manuals

def_prog_mode, def_shell_mode [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation


MPE/iX Developer's Kit Reference Manual Volume II

def_prog_mode, def_shell_mode 

The def_prog_mode and def_shell_mode routines are used to save terminal
modes.

Syntax 

     #include <curses.h>

     int def_prog_mode();
     int def_shell_mode();

Return Values 

OK                    Successful completion.

ERR                   An error occurred.

Description 

The def_prog_mode() and def_shell_mode() routines save the current
terminal modes as "program" (within CURSES) or "shell" (outside CURSES).
These are used by the reset_prog_mode() and reset_shell_mode() routines.
The modes are saved automatically by the initscr(), newterm(), and
setupterm() routines.

These routines can also be used outside CURSES with terminfo routines.

Implementation Considerations 

Identical to XPG/3

See Also 

initscr(), newterm(), setupterm(), reset_prog_mode(), reset_shell_mode()

Portability 

UNIX System V, XPG/3



MPE/iX 5.0 Documentation