1captoinfo(1M) System Administration Commands captoinfo(1M)
2
3
4
6 captoinfo - convert a termcap description into a terminfo description
7
9 captoinfo [-1] [-v]... [-V] [-w width] filename...
10
11
13 captoinfo looks in filename for termcap descriptions. For each one
14 found, an equivalent terminfo description is written to standard out‐
15 put, along with any comments found. A description which is expressed as
16 relative to another description (as specified in the termcap tc =
17 field) is reduced to the minimum superset before being displayed.
18
19
20 If no filename is given, then the environment variable TERMCAP is
21 used for the filename or entry. If TERMCAP is a full pathname to a
22 file, only the terminal whose name is specified in the environment
23 variable TERM is extracted from that file. If the environment variable
24 TERMCAP is not set, then the file /usr/share/lib/termcap is read.
25
27 −1 Display the fields one to a line. Otherwise, the fields are
28 printed several to a line, with a maximum width of 60 char‐
29 acters.
30
31
32 -v Display tracing information on the standard error as the
33 program runs. Specifying additional -v options displays
34 more detailed information.
35
36
37 -V Display the version of the program in use on the standard
38 error and then exit.
39
40
41 -w width Change the output to width characters.
42
43
45 /usr/share/lib/terminfo/?/*
46
47 compiled terminal description database
48
49
50 /usr/share/lib/termcap
51
52
53
54
56 See attributes(5) for descriptions of the following attributes:
57
58
59
60
61 ┌─────────────────────────────┬─────────────────────────────┐
62 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
63 ├─────────────────────────────┼─────────────────────────────┤
64 │Availability │SUNWcsu │
65 └─────────────────────────────┴─────────────────────────────┘
66
68 infocmp(1M), curses(3CURSES), terminfo(4), attributes(5)
69
71 captoinfo should be used to convert termcap entries to terminfo entries
72 because the termcap database may not be supplied in future releases.
73
74
75
76SunOS 5.11 18 May 1993 captoinfo(1M)