]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - man/curs_scr_dump.3x
ncurses 6.4 - patch 20230917
[ncurses.git] / man / curs_scr_dump.3x
index 7829fade996abc8fcffab3370a6b819977dd8828..fb74acba9420841ac7c6f349b22a48dff2ac6a73 100644 (file)
@@ -1,5 +1,5 @@
 .\"***************************************************************************
-.\" Copyright 2018-2021,2022 Thomas E. Dickey                                *
+.\" Copyright 2018-2022,2023 Thomas E. Dickey                                *
 .\" Copyright 1998-2010,2017 Free Software Foundation, Inc.                  *
 .\"                                                                          *
 .\" Permission is hereby granted, free of charge, to any person obtaining a  *
@@ -27,8 +27,8 @@
 .\" authorization.                                                           *
 .\"***************************************************************************
 .\"
-.\" $Id: curs_scr_dump.3x,v 1.20 2022/02/12 20:05:11 tom Exp $
-.TH curs_scr_dump 3X ""
+.\" $Id: curs_scr_dump.3x,v 1.28 2023/09/16 23:37:03 tom Exp $
+.TH curs_scr_dump 3X 2023-09-16 "ncurses 6.4" "Library calls"
 .ie \n(.g .ds `` \(lq
 .el       .ds `` ``
 .ie \n(.g .ds '' \(rq
 .ie n  .IP \(bu 4
 .el    .IP \(bu 2
 ..
-.na
-.hy 0
 .SH NAME
-\fBscr_dump\fP,
-\fBscr_restore\fP,
-\fBscr_init\fP,
-\fBscr_set\fP \- read (write) a \fBcurses\fP screen from (to) a file
-.ad
-.hy
+\fB\%scr_dump\fP,
+\fB\%scr_restore\fP,
+\fB\%scr_init\fP,
+\fB\%scr_set\fP \-
+read/write a \fIcurses\fR screen from/to a file
 .SH SYNOPSIS
 \fB#include <curses.h>\fP
 .sp
 \fBint scr_init(const char *\fIfilename\fB);\fR
 .br
 \fBint scr_set(const char *\fIfilename\fB);\fR
-.br
 .SH DESCRIPTION
 .SS scr_dump
-.PP
 The \fBscr_dump\fP routine dumps the current contents
 of the \fIvirtual screen\fP
 to the file \fIfilename\fP.
 .SS scr_restore
-.PP
 The \fBscr_restore\fP routine sets the \fIvirtual screen\fP to the contents
 of \fIfilename\fP, which must have been written using \fBscr_dump\fP.
 The next call to \fBdoupdate\fP restores
 the \fIphysical screen\fP to the way it looked in the dump file.
 .SS scr_init
-.PP
 The \fBscr_init\fP routine reads in the contents of \fIfilename\fP and uses
 them to initialize the \fBcurses\fP data structures about what the terminal
 currently has on its screen.
@@ -87,7 +80,6 @@ if the terminfo capabilities \fBrmcup\fP and \fBnrrmc\fP exist, also
 .bP
 if the terminal has been written to since the preceding \fBscr_dump\fP call.
 .SS scr_set
-.PP
 The \fBscr_set\fP routine is a combination of \fBscr_restore\fP and
 \fBscr_init\fP.  It tells the program that the information in \fIfilename\fP is
 what is currently on the screen, and also what the program wants on the screen.