icon Top 9 categories map      RocketAware > man pages >

curs_scroll(3)

Tips: Browse or Search all pages for efficient awareness of more than 6000 of the most popular reusable and open source applications, functions, libraries, and FAQs.


The "RKT couplings" below include links to source code, updates, additional information, advice, FAQs, and overviews.


Home

Search all pages


Subjects

By activity
Professions, Sciences, Humanities, Business, ...

User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...

Text Strings
Conversions, tests, processing, manipulation,...

Math
Integer, Floating point, Matrix, Statistics, Boolean, ...

Processing
Algorithms, Memory, Process control, Debugging, ...

Stored Data
Data storage, Integrity, Encryption, Compression, ...

Communications
Networks, protocols, Interprocess, Remote, Client Server, ...

Hard World
Timing, Calendar and Clock, Audio, Video, Printer, Controls...

File System
Management, Filtering, File & Directory access, Viewers, ...

    

RocketLink!--> Man page versions: OpenBSD FreeBSD Others






curs_scroll(3)                                     curs_scroll(3)


NAME
       scroll, srcl, wscrl - scroll a curses window



SYNOPSIS
       #include <curses.h>

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

DESCRIPTION
       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 cur-
       sor position is not changed.

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

RETURN VALUE
       These routines return ERR upon failure, and OK (SVr4  only
       specifies "an integer value other than ERR") upon success-
       ful completion.

NOTES
       Note that scrl and scroll may be macros.

       The SVr4 documentation says that the optimization of phys-
       ically  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, in order to leave open the possibility of
       smarter  optimization  of  multiple  scroll actions on the
       next update.

       Neither the SVr4 documentation specifies whether the  cur-
       rent  attribute  or current color-pair of blanks generated
       by the scroll function is zeroed.  Under this  implementa-
       tion it is.

PORTABILITY
       The  XSI  Curses  standard,  Issue 4 describes these func-
       tions.

SEE ALSO
       curses(3), curs_outopts(3)




                                                                1



Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY
SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts
Institute of Technology, Free Software Foundation, FreeBSD Inc., and others.



(Corrections, notes, and links courtesy of RocketAware.com)


[Detailed Topics]
FreeBSD Sources for curs_scroll(3) functions
OpenBSD sources for curs_scroll(3)


[Overview Topics]

Up to: Curses - Curses (Library for text display interfaces)


RocketLink!--> Man page versions: OpenBSD FreeBSD Others






Rapid-Links: Search | About | Comments | Submit Path: RocketAware > man pages > curs_scroll.3/
RocketAware.com is a service of Mib Software
Copyright 1999, Forrest J. Cavalier III. All Rights Reserved.
We welcome submissions and comments