*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: scrl | Section: 3 | Source: Digital UNIX | File: scrl.3.gz
curs_scroll(3) Library Functions Manual curs_scroll(3) NAME curs_scroll, scroll, scrl, wscrl - Scroll a Curses window LIBRARY Curses Library (libcurses.a, libcurses.so) SYNOPSIS #include <curses.h> int scroll(WINDOW *win); int scrl(int n); int wscrl(WINDOW *win, int n); STANDARDS Interfaces documented on this reference page conform to industry stan- dards as follows: scroll: XPG4, XPG4-UNIX scrl, wscrl: XPG4-UNIX Refer to the standards(5) reference page for more information about in- dustry standards and associated tags. DESCRIPTION The scroll routine scrolls the window up one line. This involves mov- ing the lines in the window data structure. As an optimization, if the scrolling region of the window is the entire screen, the physical screen is scrolled at the same time. The scrl and wscrl routines, for positive n, scroll the current or specified window up n lines (line i+n becomes line i); otherwise, these routines scroll the window down n lines. This operation involves mov- ing the lines in the window character-image structure. The routines do not change the current cursor position. For the scroll, scrl, and wscrl functions to work, the scrollok option must be enabled. NOTES The header file curses.h automatically includes the header file stdio.h. Note that scrl may be a macro. RETURN VALUES All routines return the integer ERR upon failure and OK upon successful completion. RELATED INFORMATION Functions: curses(3), curs_outopts(3) Others: standards(5) delim off curs_scroll(3)

Navigation Options