Terminal Driver Termcap Usage

A terminal in PRO/5 may use the termcap file to describe the terminal's capabilities used by PRO/5. A list of the capabilities PRO/5 will use follows.

Screen Size

The following termcap functions describe the size of the terminal's screen:

Name

Description

co#num

Number of columns

li#num

Number of lines

wc#num

Number of columns in compressed mode

wl#num

Number of lines in compressed mode

xw

If this Boolean is present, it implies an ability to read the current screen size on X terminals using \E[999;999H

Cursor Motion

The following determine the cursor motion capabilities of the terminal:

Name

Description

cm=str

Cursor motion (address cursor to line, column)

am

Auto margin (cursor wraps to next line when last column printed)

bs

Backspace (terminal can move backwards with backspace characters)

do=str

Move cursor down a line

up=str

Move cursor up a line

ho=str

Move cursor to home (upper left of screen)

nd=str

Move cursor right