2 .\"***************************************************************************
3 .\" Copyright (c) 1998-2006,2007 Free Software Foundation, Inc. *
5 .\" Permission is hereby granted, free of charge, to any person obtaining a *
6 .\" copy of this software and associated documentation files (the *
7 .\" "Software"), to deal in the Software without restriction, including *
8 .\" without limitation the rights to use, copy, modify, merge, publish, *
9 .\" distribute, distribute with modifications, sublicense, and/or sell *
10 .\" copies of the Software, and to permit persons to whom the Software is *
11 .\" furnished to do so, subject to the following conditions: *
13 .\" The above copyright notice and this permission notice shall be included *
14 .\" in all copies or substantial portions of the Software. *
16 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
17 .\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
18 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
19 .\" IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
20 .\" DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
21 .\" OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
22 .\" THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
24 .\" Except as contained in this notice, the name(s) of the above copyright *
25 .\" holders shall not be used in advertising or otherwise to promote the *
26 .\" sale, use or other dealings in this Software without prior written *
28 .\"***************************************************************************
30 .\" $Id: captoinfo.1m,v 1.22 2007/06/02 20:40:07 tom Exp $
35 \fB@CAPTOINFO@\fR - convert a \fItermcap\fR description into a \fIterminfo\fR description
37 \fB@CAPTOINFO@\fR [\fB-v\fR\fIn\fR \fIwidth\fR] [\fB-V\fR] [\fB-1\fR] [\fB-w\fR \fIwidth\fR] \fIfile\fR . . .
39 \fB@CAPTOINFO@\fR looks in \fIfile\fR for \fBtermcap\fR descriptions. For each
40 one found, an equivalent \fBterminfo\fR description is written to standard
41 output. Termcap \fBtc\fR capabilities are translated directly to terminfo
42 \fBuse\fR capabilities.
44 If no \fIfile\fR is given, then the environment variable \fBTERMCAP\fR is used
45 for the filename or entry. If \fBTERMCAP\fR is a full pathname to a file, only
46 the terminal whose name is specified in the environment variable \fBTERM\fR is
47 extracted from that file. If the environment variable \fBTERMCAP\fR is not
48 set, then the file \fB\*d\fR is read.
51 print out tracing information on standard error as the program runs.
54 print out the version of the program in use on standard error and exit.
57 cause the fields to print out one to a line. Otherwise, the fields
58 will be printed several to a line to a maximum width of 60
62 change the output to \fIwidth\fR characters.
66 Compiled terminal description database.
67 .SH TRANSLATIONS FROM NONSTANDARD CAPABILITIES
69 Some obsolete nonstandard capabilities will automatically be translated
70 into standard (SVr4/XSI Curses) terminfo capabilities by \fB@CAPTOINFO@\fR.
71 Whenever one of these automatic translations is done, the program
72 will issue an notification to stderr, inviting the user to check that
73 it has not mistakenly translated a completely unknown and random
74 capability and/or syntax error.
80 Nonstd Std From Terminfo
83 BO mr AT&T enter_reverse_mode
84 CI vi AT&T cursor_invisible
85 CV ve AT&T cursor_normal
86 DS mh AT&T enter_dim_mode
87 EE me AT&T exit_attribute_mode
90 XS mk AT&T enter_secure_mode
92 GE ae XENIX exit_alt_charset_mode
93 GS as XENIX enter_alt_charset_mode
108 BC Sb Tek set_background
109 FC Sf Tek set_foreground
110 HS mh Iris enter_dim_mode
113 XENIX termcap also used to have a set of extension capabilities
114 for forms drawing, designed to take advantage of the IBM PC
115 high-half graphics. They were as follows:
137 Gr tee pointing right
144 GG acs magic cookie count
147 If the single-line capabilities occur in an entry, they will automatically
148 be composed into an \fIacsc\fR string. The double-line capabilities and
149 \fBGG\fR are discarded with a warning message.
151 IBM's AIX has a terminfo facility descended from SVr1 terminfo but incompatible
152 with the SVr4 format. The following AIX extensions are automatically
167 Additionally, the AIX \fIbox1\fR capability will be automatically translated to
168 an \fIacsc\fR string.
170 Hewlett-Packard's terminfo library supports two nonstandard terminfo
171 capabilities \fImeml\fR (memory lock) and \fImemu\fR (memory unlock).
172 These will be discarded with a warning message.
174 This utility is actually a link to \fB@TIC@\fR(1M), running in \fI-I\fR mode.
175 You can use other \fB@TIC@\fR options such as \fB-f\fR and \fB-x\fR.
177 The trace option is not identical to SVr4's. Under SVr4, instead of following
178 the \fB-v\fR with a trace level n, you repeat it n times.
184 This describes \fBncurses\fR
185 version @NCURSES_MAJOR@.@NCURSES_MINOR@ (patch @NCURSES_PATCH@).
187 Eric S. Raymond <esr@snark.thyrsus.com>
189 .\"# The following sets edit modes for GNU EMACS
190 .\"# Local Variables: