Manual page for CAPTOINFO(8V)
captoinfo - convert a termcap description into a terminfo description
[ -v ...]
[ -v ...]
The System V version of this command is available with the
software installation option. Refer to
[a manual with the abbreviation INSTALL]
for information on how to install optional software.
terminal description entries given in
source entries, and writes them to the standard output along with any
comments found in that file.
A description that is expressed as relative to another description (as
specified in the
capability) is reduced to the minimum superset before being written.
is given, then the environment variable
is used for the filename or entry.
is a full pathname to a file, only the terminal-name is specified in
the environment variable
is extracted from that file.
If that environment variable is not set, then the file
Verbose. Print tracing information on the standard error as the
program runs. Additional
options increase the level of detail.
Version. Display the version of the program on the standard error and
Print fields one-per-line.
Otherwise, fields are printed several to a line, to a maximum width
of 60 characters.
- -w width
Change the output to
compiled terminal description database
- tgetent failed with return code n (reason).
The termcap entry is not valid.
In particular, check for an invalid
unknown type given for the termcap code cc.
The termcap description had an entry for
whose type was not boolean, numeric or string.
wrong type given for the boolean (numeric, string) termcap code cc.
was entered as a numeric or string capability.
the boolean (numeric, string) termcap code cc is not a valid name.
code was specified.
- tgetent failed on TERM=term.
The terminal type specified could not be found in the
- TERM=term: cap cc (info ii) is NULL: REMOVED
code was specified as a null string.
The correct way to cancel an entry is with an
Giving a null string could cause incorrect
assumptions to be made by the software which uses
termcap or terminfo.
a function key for cc was specified, but it already has the value
When parsing the
capability, the key
was specified as having the
same value as the capability
but the key
already had a value
assigned to it.
the unknown termcap name cc was specified in the ko termcap capability.
A key was specified in the
capability which could not be handled.
the vi character v (info ii) has the value xx, but ma gives n.
ma capability specified a function key
with a value different from
that specified in another setting of the same key.
the unknown vi key v was specified in the ma termcap capability.
key unknown to
was specified in the
Warning: termcap sg (nn) and termcap ug (nn) had different values.
terminfo assumes that
values were the same.
Warning: the string produced for ii may be inefficient.
The parameterized string being created should be rewritten by hand.
Null termname given.
The terminal type was null.
This is given if
the environment variable
is not set or is null.
cannot open filename for reading.
The specified file could not be opened.
defaults are assumed to be true. The bell character
is assumed to be
The linefeed capability
is assumed to be the same for both
Padding information is assumed to belong at the end of the string.
The algorithm used to expand parameterized information for
fields such as
can sometimes produce a string that may not be optimal.
In particular, the rarely used
produces strings that are especially long.
Most occurrences of these non-optimal strings
will be flagged with a warning
message and may need to be recoded by hand.
The short two-letter name at the beginning of the list of names in a
entry, a hold-over from an earlier version of the
system, has been removed.
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97