Re-initializes the terminal structures after a restore.
#include <curses.h> #include <term.h>
restartterm ( Term, FileNumber, ErrorCode)
char *Term;
int FileNumber;
int *ErrorCode;
The restartterm subroutine is similar to the setupterm subroutine except that it is called after restoring memory to a previous state. For example, you would call the restartterm subroutine after a call to scr_restore if the terminal type has changed. The restartterm subroutine assumes that the windows and the input and output options are the same as when memory was saved, but the terminal type and baud rate may be different.
This subroutine is part of Base Operating System (BOS) Runtime.
To restart an aixterm after a previous memory save and exit on error with a message, enter:
restartterm("aixterm", 1, (int*)0);
This routine is part of Base Operating System (BOS) Runtime
Curses Overview for Programming and Understanding Terminals with Curses in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs .
The setupterm (setupterm Subroutine) subroutine.