X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_scr_dump.3x.html;h=71bc263a02468ea2f2dd051d264282b207c837a4;hp=ff5b924d4cbd1f2d3291794fb76a6477db12ee7f;hb=a816c8dae437106bbf1661304240ff568ae3efef;hpb=cb4427a16794d98049b4d790b810d62217501f9f diff --git a/doc/html/man/curs_scr_dump.3x.html b/doc/html/man/curs_scr_dump.3x.html index ff5b924d..71bc263a 100644 --- a/doc/html/man/curs_scr_dump.3x.html +++ b/doc/html/man/curs_scr_dump.3x.html @@ -1,6 +1,7 @@ - @@ -53,21 +54,27 @@
#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); + 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 scr_dump routine dumps the current contents of the virtual screen to the file filename. + +
The scr_restore routine sets the virtual screen to the contents of filename, which must have been written using scr_dump. The next call to doupdate restores the physical screen to the way it looked in the dump file. + +
The scr_init routine reads in the contents of filename and uses them to initialize the curses data structures about what the terminal currently has on its screen. If the data is determined to be valid, curses bases @@ -82,6 +89,8 @@ o if the terminal has been written to since the preceding scr_dump call. + +
The scr_set routine is a combination of scr_restore and scr_init. It tells the program that the information in filename is what is currently on the screen, and also what the program wants on the screen. This can @@ -123,7 +132,14 @@