Saves the state of the tty modes.
Curses Library (libcurses.a)
#include <curses.h> savetty( )
The savetty subroutine saves the current state of the tty modes in a buffer. It saves the current state in a buffer that the resetty subroutine then reads to reset the tty state.
The savetty subroutine is called by the initscr subroutine and normally should not be called directly by the program.
This subroutine is part of Base Operating System (BOS) Runtime.
The initscr subroutine, resetty subroutine.
Curses Overview for Programming, List of Curses Subroutines, Understanding Terminals with Curses in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.