overlay, overwrite, copywin - overlay and manipulate overlapped curses


   #include <curses.h>

   int overlay(const WINDOW *srcwin, WINDOW *dstwin);
   int overwrite(const WINDOW *srcwin, WINDOW *dstwin);
   int copywin(const WINDOW *srcwin, WINDOW *dstwin, int sminrow,
         int smincol, int dminrow, int dmincol, int dmaxrow,
         int dmaxcol, int overlay);


   overlay, overwrite
   The overlay and overwrite routines overlay srcwin  on  top  of  dstwin.
   scrwin and dstwin are not required to be the same size; only text where
   the two windows overlap is copied.  The difference is that  overlay  is
   non-destructive   (blanks   are   not   copied)  whereas  overwrite  is

   The copywin routine provides a finer granularity of  control  over  the
   overlay  and  overwrite  routines.   As  in  the  prefresh  routine,  a
   rectangle is specified in the destination  window,  (dminrow,  dmincol)
   and  (dmaxrow,  dmaxcol),  and the upper-left-corner coordinates of the
   source window, (sminrow, smincol).  If the argument  overlay  is  true,
   then copying is non-destructive, as in overlay.


   Routines  that  return an integer return ERR upon failure, and OK (SVr4
   only specifies "an integer  value  other  than  ERR")  upon  successful

   X/Open  defines  no error conditions.  In this implementation, copywin,
   overlay and overwrite return an error if either of the window  pointers
   are null, or if some part of the window would be placed off-screen.


   Note that overlay and overwrite may be macros.


   The  XSI Curses standard, Issue 4 describes these functions (adding the
   const qualifiers).  It further specifies their behavior in the presence
   of  characters  with  multibyte  renditions  (not yet supported in this


   ncurses(3NCURSES), pad(3NCURSES), refresh(3NCURSES)


More Linux Commands

XdbeGetBackBufferAttributes(3) - returns attributes of a DBE
This function returns the attributes associated with the specified buffer. The XdbeBackBufferAttributes structure has the following fields: Window window window

tk_menuSetFocus(n) - Create and manipulate menu widgets.....
The menu command creates a new top-level window (given by the pathName argument) and makes it into a menu widget. That menu widget can either be used as a pop-u

sched_getscheduler(2) - set and get scheduling policy/parame
The sched_setscheduler() system call sets both the scheduling policy and parameters for the thread whose ID is specified in pid. If pid equals zero, the schedul

Tcl_ExprBooleanObj(3) - evaluate an expression (Man Page)...
These four procedures all evaluate an expression, returning the result in one of four different forms. The expression is given by the objPtr argument, and it ca

getcwd(2) - get current working directory - Linux man page
RETURN VALUE ERRORS CONFORMING TO NOTES SEE ALSO COLOPHON NAME getcwd get current working directory SYNOPSIS /* * This page documents the getcwd(2) system call,

Xaw(3) - X Athena Widgets (Library - Linux man page)........
Xaw is a widget set based on the X Toolkit Intrinsics (Xt) Library. This release by the X.Org Foundation includes additions and modifications originally made fo

yp.conf(5) - NIS binding configuration file - Linux man page
The file /etc/yp.conf is read from ypbind(8) at startup or when receiving signal SIGHUP. The entries are used for the initial binding. Valid entries are domain

gnutls_pubkey_export(3) - API function - Linux manual page
gnutls_pubkey_export.3 - This function will export the certificate to DER or PEM format. If the buffer provided is not long enough to hold the output, then *out

gnutls_pubkey_get_pk_rsa_raw(3) - API function (Man Page)...
gnutls_pubkey_get_pk_rsa_raw.3 - This function will export the RSA public keys parameters found in the given structure. The new parameters will be allocated usi

keyctl_get_security(3) - Retrieve a key's security context
keyctl_get_security() retrieves the security context of a key as a NUL-terminated string. This will be rendered in a form appropriate to the LSM in force - for

CPU_ALLOC_SIZE(3) - macros for manipulating CPU sets........
The cpu_set_t data structure represents a set of CPUs. CPU sets are used by sched_setaffinity(2) and similar interfaces. The cpu_set_t data type is implemented

Encode::Unicode::UTF7(3pm) - UTF-7 encoding - Linux man page
This module implements UTF7 encoding documented in RFC 2152. UTF7, as its name suggests, is a 7bit re-encoded version of UTF16BE. It is designed to be MTA-s

We can't live, work or learn in freedom unless the software we use is free.