captoinfo(1) General Commands Manual captoinfo(1)NAME
captoinfo - Converts a termcap description into a terminfo description.
SYNOPSIS
captoinfo [-v ...] [-V] [-1] [-w options] file...
OPTIONS
Prints a field per line. Otherwise, multiple fields are printed on a line up to a maximum width of 60 characters. Outputs tracing infor-
mation to standard error during program execution. Specifying more than one -v option causes more detailed information to be printed.
Outputs to standard error, the version of the executing program. Outputs information according to the specified width (in characters).
DESCRIPTION
The captoinfo command searches the specified file for termcap descriptions. For each description found, an equivalent terminfo description
is written to standard output (along with any comments found). A description that is expressed as relative to another description (such as
termcap tc = field) is reduced to the minimum superset before being output.
If a file is not specified, the environment variable TERMCAP is used for the filename or entry. If TERMCAP is a full pathname to a file,
only the name of the terminal specified by the environment variable TERM is extracted. If the environment variable TERMCAP is not set,
then the file /usr/share/lib/termcap is read.
FILES
Compiled terminal description database.
SEE ALSO
Commands: infocmp(1)
Functions: curses(3)
Files: terminfo(4)captoinfo(1)
Check Out this Related Man Page
captoinfo(1M) System Administration Commands captoinfo(1M)NAME
captoinfo - convert a termcap description into a terminfo description
SYNOPSIS
captoinfo [-1] [-v...] [-V] [-w width] filename...
DESCRIPTION
captoinfo looks in filename for termcap descriptions. For each one found, an equivalent terminfo description is written to standard out-
put, along with any comments found. A description which is expressed as relative to another description (as specified in the termcap tc =
field) is reduced to the minimum superset before being displayed.
If no filename is given, then the environment variable TERMCAP is used for the filename or entry. If TERMCAP is a full pathname to a file,
only the terminal whose name is specified in the environment variable TERM is extracted from that file. If the environment variable TERMCAP
is not set, then the file /usr/share/lib/termcap is read.
OPTIONS -1 Display the fields one to a line. Otherwise, the fields are printed several to a line, with a maximum width of 60 charac-
ters.
-v Display tracing information on the standard error as the program runs. Specifying additional -v options displays more
detailed information.
-V Display the version of the program in use on the standard error and then exit.
-w width Change the output to width characters.
FILES
/usr/share/lib/terminfo/?/* compiled terminal description database
/usr/share/lib/termcap
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO infocmp(1M), curses(3CURSES), terminfo(4), attributes(5)NOTES
captoinfo should be used to convert termcap entries to terminfo entries because the termcap database may not be supplied in future
releases.
SunOS 5.10 18 May 1993 captoinfo(1M)
What does this command do.
In the man page it is written that captoinfo converts a termcap
description into a terminfo description.
But wat is termcap description and a terminfo description.
Please give an explanation. (1 Reply)
Hello,
I was using captoinfo command on SCO unix previously.
Now i m using this command on SFU 3.5 Korn Shell.
There are many new options with this command in SFU.
The man page is not quite clear about the functionality.
If any1 has any idea, about the new options that SFU covers,... (0 Replies)
Hello,
I have one application (top) for Solaris that exits with error
"no entry in termcap for 'hp'".
What can I do with system to fix it? Is it access problem to termcap file or real corruption inside the file since I know that HP is defined in termcap?
...
or changes to environment... (0 Replies)