Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ scrollok(3cur) — Ultrix/UWS 4.0 VAX

Media Vault

Software Library

Restoration Projects

Artifacts Sought

scrollok(3cur)

Name

scrollok − enable screen scrolling

Syntax

#include <cursesX.h>

int scrollok(win, bf)
WINDOW ∗win;
bool bf;

Description

This option controls what happens when the cursor is moved off the edge of the specified window or scrolling region, either from a newline on the bottom line, or typing the last character of the last line.  If disabled, (bf is FALSE) the cursor is left on the bottom line. If enabled, the window is scrolled up one line and then refreshed.

Return Value

The scrollok function returns OK on success and ERR on error.

Errors

No errors are defined for this function. 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026