Saves the current terminal modes as shell mode ("out of curses").
Curses Library (libcurses.a)
#include <curses.h>
def_shell_mode( )
The def_shell_mode subroutine saves the current terminal driver line discipline modes in the current terminal structure for later use by reset_shell_mode(). The def_shell_mode subroutine is called automatically by the setupterm subroutine.
This routine would normally not be called except by a library routine.
To save the "out of curses" state, enter:
def_shell_mode();
This routine saves the "out of curses" state.