Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
Files termcap(4)
pf, is transparently passed to the printer while pO is in effect.
Similar Terminals
If there are two very similar terminals, one can be defined as being just like the other with certain
exceptions. The tc string capability can be given with the name of the similar terminal. This
capability must be specified last, and the combined length of the entries must not exceed 1024.
The capabilities given before tc override those in the terminal type invoked by tc.
A capability can be canceled by placing xx@ to the left of the tc invocation, where xx is the
capability. For example, the following entry defines a Hewlett-Packard 2621-nl that does not
have the ks or ke capabilities, so it does not turn on the function key labels when in visual mode:
hn| 2621-nl:ks@:ke@:tc=2621:
Canceling capabilities can be useful for different modes for a terminal or for different user prefer-
ences.
NOTES
This reference page documents obsolete function that is provided only for compatibility.
Lines and columns are now stored by the kernel, as well as in the termcap entry. Most applica-
tions now use the kernel information primarily; the information in termcap is used only if the
kernel does not have any information.
The total length of a single entry, excluding only escaped newlines, cannot exceed 1024.
Not all applications support all entries.
Hazeltine terminals, which do not allow ˜ (tilde) characters to be displayed, should be assigned
the hz capability.
The nc capability, now obsolete, was formerly needed for Datamedia terminals, which echo \r \n
for carriage return and then ignore a following linefeed.
Terminals that ignore a linefeed immediately after an am wrap, such as the Concept terminals,
should be assigned the xn capability.
If the ce capability is required to get rid of standout (instead of merely writing normal text on top
of it), the xs capability should be indicated.
Teleray terminals, where tabs turn all characters moved over to blanks, should be assigned the xt
(destructive tabs) capability. This capability is also taken to mean that it is not possible to posi-
tion the cursor on top of a "magic cookie," and that to erase standout mode, it is necessary to use
delete and insert line.
The Beehive Superbee terminal, which is unable to correctly transmit the ESC or ˆC characters,
has the xb capability, indicating that the f1 key is used for ESC and f2 for ˆC. (Only certain
Beehive Superbee terminals have this problem, depending on the ROM.)
Other specific terminal problems can be corrected by adding more capabilities of the form xx.
The names of many of the terminals listed is this reference page are trademarks of the companies
that manufacture the terminals.
RELATED INFORMATION
Functions: printf(3).
527186-023 Hewlett-Packard Company 11−63