As with all standard termcap files, each section of vvtermcap that contains the commands for one type of terminal is called an entry. Part of the vvtermcap entry for the "terminal" that the IBM PC AT constitutes when it is running XENIX is shown below:
|
|||
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|||
|
|
As shown, the entry for the ANSI terminal consists of a number of fields separated by colons. To make an entry in vvtermcap more than one line long, use a backslash as the last character on a line.
Empty fields (fields filled with spaces) may be included. Empty fields must still be delimited by colons, as shown in the example entry. For instance:
|
shows two fields, the second being empty. Do not use spaces within the field. For instance:
|
is invalid.
Putting fields filled with spaces improves the readability of the termcap file and is a convention used in vvtermcap.
Fields in a vvtermcap entry are of two kinds:
Syntax of String Fields for Cursor Motion Commands
Syntax of the Similar-Terminal Field