Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../.././../../../usr/man/man3xcurses/scr_dump.3xcurses
Real path: /usr/share/man/man3xcurses/scr_dump.3xcurses
Zurück
'\" te .\" Copyright (c) 1990, 1995 by Mortice Kern Systems Inc. All rights reserved. .\" Portions Copyright (c) 1996, Oracle and/or its affiliates. All rights reserved. .TH scr_dump 3XCURSES "5 Jun 2002" "Oracle Solaris 11.4" "X/Open Curses Library Functions" .SH NAME scr_dump, scr_init, scr_restore, scr_set \- write screen contents to/from a file .SH SYNOPSIS .LP .nf \fBcc\fR [ \fIflag\fR... ] \fIfile\fR... \fB-I\fR /usr/xpg4/include \fB-L\fR /usr/xpg4/lib \e \fB-R\fR /usr/xpg4/lib \fB-lcurses\fR [ \fIlibrary\fR... ] \fBc89\fR [ \fIflag\fR... ] \fIfile\fR... \fB-lcurses\fR [ \fIlibrary\fR... ] #include <curses.h> \fBint\fR \fBscr_dump\fR(\fBconst char *\fR\fIfilename\fR); .fi .LP .nf \fBint\fR \fBscr_init\fR(\fBconst char *\fR\fIfilename\fR); .fi .LP .nf \fBint\fR \fBscr_restore\fR(\fBconst char *\fR\fIfilename\fR); .fi .LP .nf \fBint\fR \fBscr_set\fR(\fBconst char *\fR\fIfilename\fR); .fi .SH PARAMETERS .sp .ne 2 .mk .na \fB\fIfilename\fR\fR .ad .RS 12n .rt Is a pointer to the file in which screen contents are written. .RE .SH DESCRIPTION .sp .LP These function perform input/output functions on a screen basis. .sp .LP The \fBscr_dump()\fR function writes the contents of the virtual screen, \fBcurscr\fR, to \fIfilename\fR. .sp .LP The \fBscr_restore()\fR function reads the contents of \fIfilename\fR from \fBcurscr\fR (which must have been written with \fBscr_dump()\fR). The next refresh operation restores the screen to the way it looks in \fIfilename\fR. .sp .LP The \fBscr_init()\fR function reads the contents of \fIfilename\fR and uses those contents to initialize the X/Open Curses data structures to what is actually on screen. The next refresh operation bases its updates on this data, unless the terminal has been written to since \fIfilename\fR was saved or the \fBterminfo\fR capabilities \fBrmcup\fR and \fBnrrmc\fR are defined for the current terminal. .sp .LP The \fBscr_set()\fR function combines \fBscr_restore()\fR and \fBscr_init()\fR. It informs the program that the contents of the file \fIfilename\fR are what is currently on the screen and that the program wants those contents on the screen. .SH RETURN VALUES .sp .LP On success, these functions return \fBOK\fR. Otherwise, they return \fBERR\fR. .SH ERRORS .sp .LP None. .SH ATTRIBUTES .sp .LP See \fBattributes\fR(7) for descriptions of the following attributes: .sp .TS tab( ) box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPE ATTRIBUTE VALUE _ Interface Stability Committed _ MT-Level Unsafe _ Standard See \fBstandards\fR(7). .TE .sp .SH SEE ALSO .sp .LP \fBdelscreen\fR(3XCURSES), \fBdoupdate\fR(3XCURSES), \fBendwin\fR(3XCURSES), \fBgetwin\fR(3XCURSES), \fBlibcurses\fR(3XCURSES), \fBattributes\fR(7), \fBstandards\fR(7)