]> ncurses.scripts.mit.edu Git - ncurses.git/blob - man/toe.1m
ncurses 6.4 - patch 20230917
[ncurses.git] / man / toe.1m
1 .\"***************************************************************************
2 .\" Copyright 2019-2022,2023 Thomas E. Dickey                                *
3 .\" Copyright 1998-2015,2017 Free Software Foundation, Inc.                  *
4 .\"                                                                          *
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:                 *
12 .\"                                                                          *
13 .\" The above copyright notice and this permission notice shall be included  *
14 .\" in all copies or substantial portions of the Software.                   *
15 .\"                                                                          *
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.                               *
23 .\"                                                                          *
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       *
27 .\" authorization.                                                           *
28 .\"***************************************************************************
29 .\"
30 .\" $Id: toe.1m,v 1.46 2023/09/16 23:38:39 tom Exp $
31 .TH @TOE@ 1M 2023-09-16 "ncurses 6.4" "User commands"
32 .de bP
33 .ie n  .IP \(bu 4
34 .el    .IP \(bu 2
35 ..
36 .ie \n(.g .ds `` \(lq
37 .el       .ds `` ``
38 .ie \n(.g .ds '' \(rq
39 .el       .ds '' ''
40 .ie n .ds CW R
41 .el   \{
42 .ie \n(.g .ds CW CR
43 .el       .ds CW CW
44 .\}
45 .de NS
46 .ie n  .sp
47 .el    .sp .5
48 .ie n  .in +4
49 .el    .in +2
50 .nf
51 .ft \*(CW
52 ..
53 .de NE
54 .fi
55 .ft R
56 .ie n  .in -4
57 .el    .in -2
58 ..
59 .ds n 5
60 .ds d @TERMINFO@
61 .SH NAME
62 \fB\%@TOE@\fP \-
63 list table of entries of \fIterminfo\fR terminal types
64 .SH SYNOPSIS
65 \fB@TOE@\fP [\fB\-v\fP[\fIn\fP]] [\fB\-ahsuUV\fP] \fIfile...\fP
66 .SH DESCRIPTION
67 With no options,
68 \fB@TOE@\fP lists all available terminal types by primary name
69 with descriptions.
70 File arguments specify the directories to be scanned; if no
71 such arguments are given,
72 your default terminfo directory is scanned.
73 If you also specify the \fB\-h\fP option,
74 a directory header will be issued as each
75 directory is entered.
76 .PP
77 There are other options intended for use by terminfo file maintainers:
78 .TP
79 \fB\-a\fP
80 report on all of the terminal databases which ncurses would search,
81 rather than only the first one that it finds.
82 .IP
83 If the \fB\-s\fP is also given, \fB@TOE@\fP
84 adds a column to the report,
85 showing (like \fBconflict\fP(1)) which entries which
86 belong to a given terminal database.
87 An "*" marks entries which differ, and "+" marks equivalent entries.
88 .IP
89 Without the \fB\-s\fP option, \fB@TOE@\fP does not attempt to merge
90 duplicates in its report
91 .TP
92 \fB\-s\fP
93 sort the output by the entry names.
94 .TP
95 \fB\-u\fP \fIfile\fP
96 says to write a report to the standard output,
97 listing dependencies in the given terminfo/termcap source file.
98 The report condenses the \*(``use\*('' relation:
99 each line consists of the primary name of a terminal that
100 has use capabilities,
101 followed by a colon,
102 followed by the
103 whitespace-separated primary names of all terminals which occur in those use
104 capabilities,
105 followed by a newline
106 .TP
107 \fB\-U\fP \fIfile\fP
108 says to write a report to the standard output,
109 listing reverse dependencies in the given terminfo/termcap source file.
110 The report reverses the \*(``use\*('' relation:
111 each line consists of the primary name of a
112 terminal that occurs in use capabilities,
113 followed by a colon,
114 followed by the
115 whitespace-separated primary names of all terminals which depend on it,
116 followed by a newline.
117 .TP
118 \fB\-v\fIn\fR
119 specifies that (verbose) output be written to standard error,
120 showing \fB@TOE@\fP's progress.
121 .IP
122 The optional parameter \fIn\fP is a number from 1 to 10,
123 interpreted as for \fB@TIC@\fP(1M).
124 If ncurses is built without tracing support, the optional parameter is ignored.
125 .TP
126 \fB\-V\fP
127 reports the version of ncurses which was used in this program,
128 and exits.
129 .SH EXAMPLES
130 Without sorting, the \fB\-a\fP option reports all of the names found
131 in all of the terminal databases found by the \fBTERMINFO\fP and
132 \fBTERMINFO_DIRS\fP environment variables:
133 .NS
134 MtxOrb162       16x2 Matrix Orbital LCD display
135 MtxOrb204       20x4 Matrix Orbital LCD display
136 MtxOrb          Generic Matrix Orbital LCD display
137 qvt101+         qume qvt 101 PLUS product
138 qvt119+-25      QVT 119 PLUS with 25 data lines
139 qansi-g         QNX ANSI
140 qvt103          qume qvt 103
141 qnxw            QNX4 windows
142 qansi-w         QNX ansi for windows
143 qnxm            QNX4 with mouse events
144 qvt203-25-w     QVT 203 PLUS with 25 by 132 columns
145 qansi-t         QNX ansi without console writes
146 \&.\ .\ .
147 .NE
148 .PP
149 Use the \fB\-a\fP and \fB\-s\fP options together to show where each terminal
150 description was found:
151 .NS
152 --> /usr/local/ncurses/share/terminfo
153 ----> /usr/share/terminfo
154 *-+-:   9term           Plan9 terminal emulator for X
155 *---:   Eterm           Eterm with xterm-style color support (X Window System)
156 *-*-:   Eterm-256color  Eterm with xterm 256-colors
157 *-*-:   Eterm-88color   Eterm with 88 colors
158 *-+-:   MtxOrb          Generic Matrix Orbital LCD display
159 *-+-:   MtxOrb162       16x2 Matrix Orbital LCD display
160 *-+-:   MtxOrb204       20x4 Matrix Orbital LCD display
161 *-*-:   NCR260VT300WPP  NCR 2900_260 vt300 wide mode pc+  kybd
162 *-+-:   aaa             ann arbor ambassador/30 lines
163 *-+-:   aaa+dec         ann arbor ambassador in dec vt100 mode
164 *-+-:   aaa+rv          ann arbor ambassador in reverse video
165 \&.\ .\ .
166 .NE
167 .SH FILES
168 .TP 5
169 \fB\*d/?/*\fP
170 Compiled terminal description database.
171 .SH HISTORY
172 This utility is not provided by other implementations.
173 There is no relevant X/Open or POSIX standard for \fB@TOE@\fP.
174 .PP
175 The program name refers to a developer's pun:
176 .bP
177 \fBtic\fP,
178 .bP
179 \fBtac\fP (now \fBtack\fP),
180 .bP
181 \fBtoe\fP.
182 .PP
183 It replaced a \fB\-T\fP option which was briefly supported by
184 the ncurses \fBinfocmp\fP utility in 1995.
185 .PP
186 The \fB\-a\fP and \fB\-s\fP options were added to
187 \fB@TOE@\fP several years later (2006 and 2011, respectively).
188 .SH SEE ALSO
189 \fB@CAPTOINFO@\fP(1M),
190 \fB@INFOCMP@\fP(1M),
191 \fB@INFOTOCAP@\fP(1M),
192 \fB@TIC@\fP(1M),
193 \fBcurses\fP(3X),
194 \fBterminfo\fP(\*n).
195 .PP
196 This describes \fBncurses\fP
197 version @NCURSES_MAJOR@.@NCURSES_MINOR@ (patch @NCURSES_PATCH@).