4 <!-- Manpage converted by man2html 3.0.1 -->
8 <B>captoinfo</B> - convert a <I>termcap</I> description into a <I>terminfo</I>
13 <H2>SYNOPSIS</H2><PRE>
14 <B>captoinfo</B> [<B>-v</B><I>n</I> <I>width</I>] [<B>-V</B>] [<B>-1</B>] [<B>-w</B> <I>width</I>] <I>file</I> . . .
18 <H2>DESCRIPTION</H2><PRE>
19 <B>captoinfo</B> looks in <I>file</I> for <B>termcap</B> descriptions. For
20 each one found, an equivalent <B>terminfo</B> description is
21 written to standard output. Termcap <B>tc</B> capabilities are
22 translated directly to terminfo <B>use</B> capabilities.
24 If no <I>file</I> is given, then the environment variable <B>TERMCAP</B>
25 is used for the filename or entry. If <B>TERMCAP</B> is a full
26 pathname to a file, only the terminal whose name is
27 specified in the environment variable <B>TERM</B> is extracted
28 from that file. If the environment variable <B>TERMCAP</B> is
29 not set, then the file <B>/usr/share/terminfo</B> is read.
31 <B>-v</B> print out tracing information on standard error as
34 <B>-V</B> print out the version of the program in use on
35 standard error and exit.
37 <B>-1</B> cause the fields to print out one to a line.
38 Otherwise, the fields will be printed several to a
39 line to a maximum width of 60 characters.
41 <B>-w</B> change the output to <I>width</I> characters.
46 /usr/share/terminfo Compiled terminal description
51 <H2>TRANSLATIONS FROM NONSTANDARD CAPABILITIES</H2><PRE>
52 Some obsolete nonstandard capabilities will automatically
53 be translated into standard (SVr4/XSI Curses) terminfo
54 capabilities by <B>captoinfo</B>. Whenever one of these
55 automatic translations is done, the program will issue an
56 notification to stderr, inviting the user to check that it
57 has not mistakenly translated a completely unknown and
58 random capability and/or syntax error.
60 Nonstd Std From Terminfo
62 -----------------------------------------------
63 BO mr AT&T enter_reverse_mode
64 CI vi AT&T cursor_invisible
65 CV ve AT&T cursor_normal
66 DS mh AT&T enter_dim_mode
67 EE me AT&T exit_attribute_mode
69 FE LF AT&T label_on
70 FL LO AT&T label_off
71 XS mk AT&T enter_secure_mode
73 GE ae XENIX exit_alt_charset_mode
74 GS as XENIX enter_alt_charset_mode
89 BC Sb Tek set_background
90 FC Sf Tek set_foreground
91 HS mh Iris enter_dim_mode
93 XENIX termcap also used to have a set of extension
94 capabilities for forms drawing, designed to take advantage
95 of the IBM PC high-half graphics. They were as follows:
98 -----------------------------
114 Gr tee pointing right
121 GG acs magic cookie count
123 If the single-line capabilities occur in an entry, they
124 will automatically be composed into an <B>acsc</B> string. The
125 double-line capabilities and <B>GG</B> are discarded with a
128 IBM's AIX has a terminfo facility descended from SVr1
129 terminfo but incompatible with the SVr4 format. The
130 following AIX extensions are automatically translated:
141 Additionally, the AIX <B>box1</B> capability will be
142 automatically translated to an <B>acsc</B> string.
144 Hewlett-Packard's terminfo library supports two
145 nonstandard terminfo capabilities <B>meml</B> (memory lock) and
146 <B>memu</B> (memory unlock). These will be discarded with a
152 This utility is actually a link to <B><A HREF="tic.1m.html">tic(1m)</A></B>, running in <I>-I</I>
153 mode. You can use other <I>tic</I> options such as <B>-f</B> and <B>-x</B>.
155 The trace option isn't identical to SVr4's. Under SVr4,
156 instead of following the -v with a trace level n, you
161 <H2>SEE ALSO</H2><PRE>
162 <B><A HREF="ncurses.3x.html">curses(3x)</A></B>, <B><A HREF="infocmp.1m.html">infocmp(1m)</A></B>, <B><A HREF="terminfo.5.html">terminfo(5)</A></B>
167 Eric S. Raymond <esr@snark.thyrsus.com>
186 Man(1) output converted with
187 <a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>