1 .\"***************************************************************************
2 .\" Copyright 2019-2022,2023 Thomas E. Dickey *
3 .\" Copyright 1998-2015,2017 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: toe.1m,v 1.52 2023/10/07 21:19:07 tom Exp $
31 .TH @TOE@ 1M 2023-10-07 "ncurses 6.4" "User commands"
56 list table of entries of \fIterminfo\fR terminal types
71 \fB\%@TOE@\fP reports to the standard output stream the (primary) names
72 and descriptions of the terminal types available to the \fIterminfo\fP
74 Each \fIdirectory\fP operand is scanned;
76 \fB\%@TOE@\fP scans the the default \fIterminfo\fP directory.
78 The \fB\-h\fP option can be helpful to observe where \fB\%@TOE@\fP is
79 looking for terminal descriptions.
80 Other options support maintainers of \fIterminfo\fP terminal
82 .TP 9 \" "-u file" + 2n
84 lists entries from all terminal database directories that \fIterminfo\fP
86 instead of only the first that it finds.
88 If the \fB\-s\fP option is also given,
89 \fB\%@TOE@\fP adds a column to the report,
90 showing (like \fB\%conflict\fP(1)) which entries belong to a given
92 An \*(``*\*('' marks entries that differ,
93 and \*(``+\*('' marks equivalent entries.
95 Without the \fB\-s\fP option,
96 \fB\%@TOE@\fP does not attempt to merge duplicates in its report.
99 writes a heading naming each each directory as it is accessed.
102 sorts the output by the entry names.
105 lists terminal type dependencies in \fIfile\fP,
106 a \fIterminfo\fP entry source or \fItermcap\fP database file.
107 The report summarizes the \*(``\fBuse\fP\*('' (\fIterminfo\fP) and
108 \*(``\fBtc\fP\*('' (\fItermcap\fP) relations:
109 each line comprises the primary name of a terminal type employing
110 \fBuse\fP/\fBtc\fP capabilities,
112 a space- and tab-separated list of primary names of terminal types thus
117 lists terminal type reverse dependencies in \fIfile\fP,
118 a \fIterminfo\fP entry source or \fItermcap\fP database file.
119 The report summarizes the \*(``\fBuse\fP\*('' (\fIterminfo\fP) and
120 \*(``\fBtc\fP\*('' (\fItermcap\fP) reverse relations:
121 each line comprises the primary name of a terminal type occurring in
122 \fBuse\fP/\fBtc\fP capabilities,
124 a space- and tab-separated list of primary names of terminal types
130 reports verbose status information to the standard error stream,
131 showing \fB\%@TOE@\fP's progress.
133 The optional parameter \fIn\fP is an integer between 1 and 10 inclusive,
134 interpreted as for \fB\%@TIC@\fP(1M).
135 If \fIncurses\fP is built without tracing support,
139 reports the version of \fIncurses\fP associated
140 with this program and exits with a successful status.
142 When not sorting with the \fB\-s\fP option,
143 the \fB\-a\fP option reports all of the names found in all of the
144 terminal database directories named in the \fB\%TERMINFO\fP and
145 \fB\%TERMINFO_DIRS\fP environment variables.
148 .\" toe -a | grep -E '^(xterm|vt)'
150 Lf(\*(CW)2 Lf(\*(CW).
151 xterm\-color generic color xterm
152 xterm\-xfree86 xterm terminal emulator (XFree86)
153 xterm\-vt220 xterm emulating vt220
154 xterm\-256color xterm with 256 colors
155 xterm\-r6 xterm X11R6 version
156 xterm\-r5 xterm R5 version
157 xterm\-mono monochrome xterm
158 .\" The next row overruns the line length on DWB nroff (65n).
159 xterm xterm terminal emulator (X Window System)
162 vt100 dec vt100 (w/advanced video)
170 Use the \fB\-a\fP and \fB\-s\fP options together to show where each
171 terminal description was found.
174 .\" toe -as | grep -E '(^-+>|:.(xterm|vt))'
178 \-\-\-\-> /lib/terminfo
179 \-\-\-\-\-\-> /usr/share/terminfo
182 lf(\*(CW)1 lf(\*(CW)2 lf(\*(CW).
183 \-\-*\-\-\-: vt100 dec vt100 (w/advanced video)
184 \-\-*\-\-\-: vt102 dec vt102
185 \-\-*\-\-\-: vt220 dec vt220
186 \-\-*\-\-\-: vt52 dec vt52
187 .\" The next row overruns the line length on DWB nroff (65n).
188 \-\-*\-\-\-: xterm xterm terminal emulator (X Window System)
189 \-\-*\-\-\-: xterm\-256color xterm with 256 colors
190 \-\-*\-\-\-: xterm\-color generic color xterm
191 \-\-*\-\-\-: xterm\-mono monochrome xterm
192 \-\-*\-\-\-: xterm\-r5 xterm R5 version
193 \-\-*\-\-\-: xterm\-r6 xterm X11R6 version
194 \-\-*\-\-\-: xterm\-vt220 xterm emulating vt220
195 .\" The next row overruns the line length on DWB nroff (65n).
196 \-\-*\-\-\-: xterm\-xfree86 xterm terminal emulator (XFree86)
205 compiled terminal description database
207 \fB\%@TOE@\fP is not provided by other implementations.
208 There is no applicable X/Open or POSIX standard for it.
210 It replaces a \fB\-T\fP option that was briefly supported by
211 the \fIncurses\fP \fB\%infocmp\fP utility in 1995.
213 The \fB\-a\fP and \fB\-s\fP options were added in 2006 and 2011,
216 The program's name originates with a developer's pun:
220 \fBtac\fP (now \fBtack\fP),
224 \fB\%@CAPTOINFO@\fP(1M),
225 \fB\%@INFOCMP@\fP(1M),
226 \fB\%@INFOTOCAP@\fP(1M),
229 \fB\%terminfo\fP(\*n)