scrollok [ MPE/iX Developer's Kit Reference Manual Volume II ] MPE/iX 5.0 Documentation
MPE/iX Developer's Kit Reference Manual Volume II
scrollok
The scrollok routine is used to enable scrolling of the screen.
Syntax
#include <curses.h>
int scrollok (WINDOW *win, bool bf);
Parameters
bf A Boolean expression.
win A pointer to the window in which to enable
scrolling.
Return Values
OK Successful completion.
ERR An error occurred.
Description
The scrollok() routine controls what happens when the cursor advances
outside the bottom boundary of a window or scrolling region. When
enabled, if the cursor advances outside the bottom boundary of a window
or scrolling region, a call to wscrl() scrolls up one line and updates
the screen. If scrollok() is disabled, a call to the wscrl() routine
leaves the cursor on the bottom of the line.
The terminal screen produces a scrolling effect if idlok() is also
enabled.
Implementation Considerations
Identical to XPG/3
See Also
idlok(), scroll(), waddch(), wscrl()
Portability
HP-UX, UNIX System V, XPG/3
MPE/iX 5.0 Documentation