Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

scrollok(3)

scroll(3)  —  Subroutines

Digital

NAME

scroll − scroll window

SYNOPSIS

#include <curses.h>

int scroll(win)
WINDOW ∗win;

DESCRIPTION

The window is scrolled up one line.  This involves moving the lines in the window data structure. 

You would not normally use this routine as the terminal scrolls automatically if scrollok is enabled.  A typical case where scroll might be used is with a screen editor. 

RETURN VALUES

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

RELATED INFORMATION

scrollok(3)

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