scroll, scrl, wscrl - scroll a curses window


   #include <curses.h>

   int scroll(WINDOW *win);
   int scrl(int n);
   int wscrl(WINDOW *win, int n);


   The  scroll  routine  scrolls  the  window  up one line.  This involves
   moving the lines in the window data structure.  As an optimization,  if
   the  scrolling  region of the window is the entire screen, the physical
   screen may be scrolled at the same time.

   For positive n, the scrl and wscrl routines  scroll  the  window  up  n
   lines  (line  i+n becomes i); otherwise scroll the window down n lines.
   This involves moving the lines in the window character image structure.
   The current cursor position is not changed.

   For these functions to work, scrolling must be enabled via scrollok.


   These routines return ERR upon failure, and OK (SVr4 only specifies "an
   integer value other than ERR") upon successful completion.

   X/Open defines no error conditions.

   This implementation returns an error if the window pointer is null,  or
   if scrolling is not enabled in the window, e.g., with scrollok.


   Note that scrl and scroll may be macros.

   The  SVr4  documentation  says  that  the  optimization  of  physically
   scrolling immediately if the scroll region is the  entire  screen  "is"
   performed,  not  "may  be" performed.  This implementation deliberately
   does not guarantee that this will occur, to leave open the  possibility
   of smarter optimization of multiple scroll actions on the next update.

   Neither  the SVr4 nor the XSI documentation specify whether the current
   attribute or current color-pair  of  blanks  generated  by  the  scroll
   function is zeroed.  Under this implementation it is.


   The XSI Curses standard, Issue 4 describes these functions.


   ncurses(3NCURSES), outopts(3NCURSES)


More Linux Commands

touchline(3ncurses) - curses refresh control routines.......
The touchwin and touchline routines throw away all optimization information about which parts of the window have been touched, by pretending that the entire win

gnutls_certificate_set_retrieve_function(3) - API function
gnutls_certificate_set_retrieve_function.3 - This function sets a callback to be called in order to retrieve the certificate to be used in the handshake. You ar

bison(1) - GNU Project parser generator (yacc replacement)
Bison is a parser generator in the style of yacc(1). It should be upwardly compatible with input files designed for yacc. Input files should follow the yacc con

eaccess(3) - check effective user's permissions for a file
Like access(2), euidaccess() checks permissions and existence of the file identified by its argument pathname. However, whereas access(2), performs checks using

XDeleteContext(3) - associative look-up routines (Man Page)
If an entry with the specified resource ID and type already exists, XSaveContext overrides it with the specified context. The XSaveContext function returns a no

has_il(3ncurses) - curses environment query routines........
The baudrate routine returns the output speed of the terminal. The number returned is in bits per second, for example 9600, and is an integer. The erasechar rou

sgdisk(8) Commandline GUID partition table (GPT) manipulator
GPT fdisk is a text-mode menu-driven package for creation and manipulation of partition tables. It consists of two programs: the text-mode interactive gdisk and

lvremove(8) - remove a logical volume - Linux manual page...
lvremove removes one or more logical volumes. Confirmation will be requested before deactivating any active logical volume prior to removal. Logical volumes can

curl_multi_add_handle(3) - add an easy handle to a multi ses
Adds a standard easy handle to the multi stack. This function call will make this multi_handle control the specified easy_handle. Furthermore, libcurl now initi

preparetips(1) extract text from tips file - Linux man page
preparetips is a script to extract the text from a tips file. It outputs the text so xgettext can add the tips to a PO file. PO files provide a human-readable s

XpSetContext(3x) - Sets or unsets a print context with the s
XpSetContext sets the print context for a display connection. All subsequent print operations that do not explicitly take a print context-id (for example, XpSta

gnutls_certificate_set_openpgp_key_mem2(3) - API function...
This funtion is used to load OpenPGP keys into the GnuTLS credentials structure. The datum should contain at least one valid non encrypted subkey. The special k

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