| 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.
| “ | Our grievance is not just against Unix itself, but against the cult of Unix zealots who defend and nurture it. They take the heat, disease, and pestilence as givens, and, as ancient shamans did, display their wounds, some self-inflicted, as proof of their power and wizardry. We aim, through bluntness and humor, to show them that they pray to a tin god, and that science, not religion, is the path to useful and friendly technology. | ” |
| — The Unix Haters' handbook | ||