def_prog_mode(3cur)
NAME
def_prog_mode, def_shell_mode − save terminal modes
SYNTAX
def_prog_mode()
def_shell_mode()
DESCRIPTION
The def_prog_mode routine saves the current terminal modes as the program if the terminal is running under curses. The stored terminal modes are used by the reset_prog_mode() routine. This function is used when the user makes a temporary exit from curses.
The routine def_shell_mode saves the current terminal modes as the shell if the terminal is not running under curses. The stored terminal modes are used by the reset_shell_mode() routine.
Both routines are called automatically by initscr(.).
SEE ALSO
initscr(3cur), reset_prog_mode(3cur), reset_shell_mode(3cur)
Subroutines