Saves/restores the terminal mode.
#include <curses.h> int resetty(void); int savetty(void):
The resetty subroutine restores the program mode as of the most recent call to the savetty subroutine.
The savetty subroutine saves the state that would be put in place by a call to the reset_prog_mode subroutine.
Upon successful completion, these subroutines return OK. Otherwise. they return ERR.
To restore the terminal to the state it was in at the last call to savetty, enter:
resetty();
This subroutine is part of Base Operating System (BOS) Runtime.
The def_prog_mode subroutine, endwin subroutine, savetty subroutine.
Curses Overview for Programming in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.
List of Curses Subroutines in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.
Understanding Terminals with Curses in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.