next up previous contents
Next: 8.2.4 Termcap Capabilities Up: 8.2 The Termcap Library Previous: 8.2.2 Find a Terminal

8.2.3 Look at a Terminal Description

Every piece of information is called a capability, every capability is a two letter code, and every two letter code is followed by the value for the capability. Possible types are:

Each capability is associated with a single value type. (co is always numeric, hc is always a flag and st is always a string). There are three different types of values, so there are also three functions to interrogate them. char *name is the two letter code for the capability.

Converted on:
Fri Mar 29 14:43:04 EST 1996