| Main index | Section 3 | Options |
#include <curses.h>int scr_dump(const char *filename); int scr_restore(const char *filename); int scr_init(const char *filename); int scr_set(const char *filename);
The data fail the validity check
| &#187; | if the terminal employs term info capabilities exit_ca_mode ( rmcup) or non_rev_rmcup ( nrrmc) are defined, or |
| &#187; | if curses knows that the terminal has been written to since the preceding scr_dump call. |
X/Open defines no failure conditions. In this implementation, each function fails if it cannot open filename.
SVr4 omitted the const qualifiers.
SVr4 documentation describes scr_init such that the dump data is also considered invalid if the time-stamp of the tty is old but does not define old.
| 2024-04-20 | curs_scr_dump (3X) | ncurses 6.5 |
| Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | "I liken starting one's computing career with Unix, say as an undergraduate, to being born in East Africa. It is intolerably hot, your body is covered with lice and flies, you are malnourished and you suffer from numerous curable diseases. But, as far as young East Africans can tell, this is simply the natural condition and they live within it. By the time they find out differently, it is too late. They already think that the writing of shell scripts is a natural act." | ” |
| — Ken Pier, Xerox PARC | ||