]> ncurses.scripts.mit.edu Git - ncurses.git/blob - man/infocmp.1m
ncurses 6.1 - patch 20180303
[ncurses.git] / man / infocmp.1m
1 '\" t
2 .\"***************************************************************************
3 .\" Copyright (c) 1998-2017,2018 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: infocmp.1m,v 1.70 2018/01/23 10:10:17 tom Exp $
31 .TH @INFOCMP@ 1M ""
32 .ie \n(.g .ds `` \(lq
33 .el       .ds `` ``
34 .ie \n(.g .ds '' \(rq
35 .el       .ds '' ''
36 .ds n 5
37 .de bP
38 .ie n  .IP \(bu 4
39 .el    .IP \(bu 2
40 ..
41 .de NS
42 .ie n  .sp
43 .el    .sp .5
44 .ie n  .in +4
45 .el    .in +2
46 .nf
47 .ft C                   \" Courier
48 ..
49 .de NE
50 .fi
51 .ft R
52 .in -4
53 ..
54 .ds d @TERMINFO@
55 .SH NAME
56 \fB@INFOCMP@\fR \- compare or print out \fIterminfo\fR descriptions
57 .SH SYNOPSIS
58 \fB@INFOCMP@\fR [\fB\-\
59 1\
60 C\
61 D\
62 E\
63 F\
64 G\
65 I\
66 K\
67 L\
68 T\
69 U\
70 V\
71 W\
72 c\
73 d\
74 e\
75 g\
76 i\
77 l\
78 n\
79 p\
80 q\
81 r\
82 t\
83 u\
84 x\
85 \fR]
86 .br
87       [\fB\-v\fR \fIn\fR] [\fB\-s d\fR| \fBi\fR| \fBl\fR| \fBc\fR] [\fB\-Q\fR \fIn\fR] [\fB\-R \fR\fBsubset\fR]
88 .br
89       [\fB\-w\fR\ \fIwidth\fR] [\fB\-A\fR\ \fIdirectory\fR] [\fB\-B\fR\ \fIdirectory\fR]
90 .br
91       [\fItermname\fR...]
92 .SH DESCRIPTION
93 \fB@INFOCMP@\fR can be used to compare a binary \fBterminfo\fR entry with other
94 terminfo entries, rewrite a \fBterminfo\fR description to take advantage of the
95 \fBuse=\fR terminfo field, or print out a \fBterminfo\fR description from the
96 binary file (\fBterm\fR) in a variety of formats.
97 In all cases, the boolean
98 fields will be printed first, followed by the numeric fields, followed by the
99 string fields.
100 .SS Default Options
101 If no options are specified and zero or one \fItermnames\fR are specified, the
102 \fB\-I\fR option will be assumed.
103 If more than one \fItermname\fR is specified,
104 the \fB\-d\fR option will be assumed.
105 .SS Comparison Options [\-d] [\-c] [\-n]
106 \fB@INFOCMP@\fR compares the \fBterminfo\fR description of the first terminal
107 \fItermname\fR with each of the descriptions given by the entries for the other
108 terminal's \fItermnames\fR.
109 If a capability is defined for only one of the
110 terminals, the value returned depends on the type of the capability:
111 .bP
112 \fBF\fR for missing boolean variables
113 .bP
114 \fBNULL\fR for missing integer or string variables
115 .PP
116 Use the \fB\-q\fP option to show the distinction between
117 \fIabsent\fP and \fIcancelled\fP capabilities.
118 .PP
119 These options produce a list which you can use to compare two
120 or more terminal descriptions:
121 .TP 5
122 \fB\-d\fR
123 produces a list of each capability that is \fIdifferent\fP
124 between two entries.
125 Each item in the list shows \*(``:\*('' after the capability name,
126 followed by the capability values, separated by a comma.
127 .TP
128 \fB\-c\fR
129 produces a list of each capability that is \fIcommon\fP between
130 two or more entries.
131 Missing capabilities are ignored.
132 Each item in the list shows \*(``=\*('' after the capability name,
133 followed by the capability value.
134 .IP
135 The \fB\-u\fR option provides a related output,
136 showing the first terminal description rewritten to use the second
137 as a building block via the \*(``use=\*('' clause. 
138 .TP
139 \fB\-n\fR
140 produces a list of each capability that is in \fInone\fP of the given entries.
141 Each item in the list shows \*(``!\*('' before the capability name.
142 .IP
143 Normally only the conventional capabilities are shown.
144 Use the \fB\-x\fP option to add the BSD-compatibility
145 capabilities (names prefixed with \*(``OT\*('').
146 .IP
147 If no \fItermnames\fR are given,
148 \fB@INFOCMP@\fR uses the environment variable \fBTERM\fR
149 for each of the \fItermnames\fR.
150 .SS Source Listing Options [\-I] [\-L] [\-C] [\-r]
151 The \fB\-I\fR, \fB\-L\fR, and \fB\-C\fR options will produce a source listing for
152 each terminal named.
153 .
154 .TS
155 center tab(/) ;
156 l l .
157 \fB\-I\fR/use the \fBterminfo\fR names
158 \fB\-L\fR/use the long C variable name listed in <\fBterm.h\fR>
159 \fB\-C\fR/use the \fBtermcap\fR names
160 \fB\-r\fR/when using \fB\-C\fR, put out all capabilities in \fBtermcap\fR form
161 \fB\-K\fR/modifies the \fB\-C\fP option, improving BSD-compatibility.
162 .TE
163 .PP
164 If no \fItermnames\fR are given, the environment variable \fBTERM\fR will be
165 used for the terminal name.
166 .PP
167 The source produced by the \fB\-C\fR option may be used directly as a
168 \fBtermcap\fR entry, but not all parameterized strings can be changed to
169 the \fBtermcap\fR format.
170 \fB@INFOCMP@\fR will attempt to convert most of the
171 parameterized information, and anything not converted will be plainly marked in
172 the output and commented out.
173 These should be edited by hand.
174 .PP
175 For best results when converting to \fBtermcap\fP format,
176 you should use both \fB\-C\fP and \fB\-r\fP.
177 Normally a termcap description is limited to 1023 bytes.
178 \fB@INFOCMP@\fP trims away less essential parts to make it fit.
179 If you are converting to one of the (rare) termcap implementations
180 which accept an unlimited size of termcap,
181 you may want to add the \fB\-T\fP option.
182 More often however, you must help the termcap implementation,
183 and trim excess whitespace (use the \fB\-0\fP option for that).
184 .PP
185 All padding information for strings will be collected together and placed
186 at the beginning of the string where \fBtermcap\fR expects it.
187 Mandatory
188 padding (padding information with a trailing \*(``/\*('') will become optional.
189 .PP
190 All \fBtermcap\fR variables no longer supported by \fBterminfo\fR, but which
191 are derivable from other \fBterminfo\fR variables, will be output.
192 Not all
193 \fBterminfo\fR capabilities will be translated; only those variables which were
194 part of \fBtermcap\fR will normally be output.
195 Specifying the \fB\-r\fR option
196 will take off this restriction, allowing all capabilities to be output in
197 \fItermcap\fR form.
198 Normally you would use both the \fB\-C\fP and \fB\-r\fP options.
199 The actual format used incorporates some improvements for escaped characters
200 from terminfo format.
201 For a stricter BSD-compatible translation, use the \fB\-K\fR option
202 rather than \fB\-C\fP.
203 .PP
204 Note that because padding is collected to the beginning of the capability, not
205 all capabilities are output.
206 Mandatory padding is not supported.
207 Because
208 \fBtermcap\fR strings are not as flexible, it is not always possible to convert
209 a \fBterminfo\fR string capability into an equivalent \fBtermcap\fR format.
210 A subsequent conversion of the \fBtermcap\fR file back into \fBterminfo\fR format
211 will not necessarily reproduce the original \fBterminfo\fR
212 source.
213 .PP
214 Some common \fBterminfo\fR parameter sequences, their \fBtermcap\fR
215 equivalents, and some terminal types which commonly have such sequences, are:
216 .
217 .TS
218 center tab(/) ;
219 l c l
220 l l l.
221 \fBterminfo/termcap\fR/Representative Terminals
222 =
223 \fB%p1%c/%.\fR/adm
224 \fB%p1%d/%d\fR/hp, ANSI standard, vt100
225 \fB%p1%'x'%+%c/%+x\fR/concept
226 \fB%i/%i\fRq/ANSI standard, vt100
227 \fB%p1%?%'x'%>%t%p1%'y'%+%;/%>xy\fR/concept
228 \fB%p2\fR is printed before \fB%p1/%r\fR/hp
229 .TE
230 .SS Use= Option [\-u]
231 The \fB\-u\fR option produces a \fBterminfo\fR source description of the first
232 terminal \fItermname\fR which is relative to the sum of the descriptions given
233 by the entries for the other terminals \fItermnames\fR.
234 It does this by
235 analyzing the differences between the first \fItermname\fR and the other
236 \fItermnames\fR and producing a description with \fBuse=\fR fields for the
237 other terminals.
238 In this manner, it is possible to retrofit generic terminfo
239 entries into a terminal's description.
240 Or, if two similar terminals exist, but
241 were coded at different times or by different people so that each description
242 is a full description, using \fB@INFOCMP@\fR will show what can be done to change
243 one description to be relative to the other.
244 .PP
245 A capability will get printed with an at-sign (@) if it no longer exists in the
246 first \fItermname\fR, but one of the other \fItermname\fR entries contains a
247 value for it.
248 A capability's value gets printed if the value in the first
249 \fItermname\fR is not found in any of the other \fItermname\fR entries, or if
250 the first of the other \fItermname\fR entries that has this capability gives a
251 different value for the capability than that in the first \fItermname\fR.
252 .PP
253 The order of the other \fItermname\fR entries is significant.
254 Since the
255 terminfo compiler \fB@TIC@\fR does a left-to-right scan of the capabilities,
256 specifying two \fBuse=\fR entries that contain differing entries for the same
257 capabilities will produce different results depending on the order that the
258 entries are given in.
259 \fB@INFOCMP@\fR will flag any such inconsistencies between
260 the other \fItermname\fR entries as they are found.
261 .PP
262 Alternatively, specifying a capability \fIafter\fR a \fBuse=\fR entry that
263 contains that capability will cause the second specification to be ignored.
264 Using \fB@INFOCMP@\fR to recreate a description can be a useful check to make
265 sure that everything was specified correctly in the original source
266 description.
267 .PP
268 Another error that does not cause incorrect compiled files, but will slow down
269 the compilation time, is specifying extra \fBuse=\fR fields that are
270 superfluous.
271 \fB@INFOCMP@\fR will flag any other \fItermname use=\fR fields that
272 were not needed.
273 .SS Changing Databases [\-A \fIdirectory\fR] [\-B \fIdirectory\fR]
274 Like other \fBncurses\fP utilities,
275 \fB@INFOCMP@\fP looks for the terminal descriptions in several places.
276 You can use the \fBTERMINFO\fP and \fBTERMINFO_DIRS\fP environment variables
277 to override the compiled-in default list of places to search
278 (see \fBcurses\fP(3X) for details).
279 .PP
280 You can also use the options \fB\-A\fR
281 and \fB\-B\fR to override the list of places to search
282 when comparing terminal descriptions:
283 .bP
284 The \fB\-A\fR option sets the location for the first \fItermname\fR
285 .bP
286 The \fB\-B\fR option sets the location for the other \fItermnames\fR.
287 .PP
288 Using these options, it is possible to
289 compare descriptions for a terminal with the same name located in two different
290 databases.
291 For instance,
292 you can use this feature for comparing descriptions for the same terminal
293 created by different people.
294 .SS Other Options
295 .TP 5
296 \fB\-0\fR
297 causes the fields to be printed on one line, without wrapping.
298 .TP 5
299 \fB\-1\fR
300 causes the fields to be printed out one to a line.
301 Otherwise,
302 the fields will be printed several to a line to a maximum width
303 of 60 characters.
304 .TP
305 \fB\-a\fR
306 tells \fB@INFOCMP@\fP to retain commented-out capabilities rather than discarding
307 them.
308 Capabilities are commented by prefixing them with a period.
309 .TP
310 \fB\-D\fR
311 tells \fB@INFOCMP@\fP to print the database locations that it knows about, and exit.
312 .TP 5
313 \fB\-E\fR
314 Dump the capabilities of the given terminal as tables, needed in
315 the C initializer for a
316 TERMTYPE structure (the terminal capability structure in the \fB<term.h>\fR).
317 This option is useful for preparing versions of the curses library hardwired
318 for a given terminal type.
319 The tables are all declared static, and are named according to the type
320 and the name of the corresponding terminal entry.
321 .sp
322 Before ncurses 5.0, the split between the \fB\-e\fP and \fB\-E\fP
323 options was not needed; but support for extended names required making
324 the arrays of terminal capabilities separate from the TERMTYPE structure.
325 .TP 5
326 \fB\-e\fR
327 Dump the capabilities of the given terminal as a C initializer for a
328 TERMTYPE structure (the terminal capability structure in the \fB<term.h>\fR).
329 This option is useful for preparing versions of the curses library hardwired
330 for a given terminal type.
331 .TP 5
332 \fB\-F\fR
333 compare terminfo files.
334 This assumes that two following arguments are filenames.
335 The files are searched for pairwise matches between
336 entries, with two entries considered to match if any of their names do.
337 The report printed to standard output lists entries with no matches in
338 the other file, and entries with more than one match.
339 For entries
340 with exactly one match it includes a difference report.
341 Normally,
342 to reduce the volume of the report, use references are
343 not resolved before looking for differences, but resolution can be forced
344 by also specifying \fB\-r\fR.
345 .TP 5
346 \fB\-f\fR
347 Display complex terminfo strings which contain if/then/else/endif expressions
348 indented for readability.
349 .TP 5
350 \fB\-G\fR
351 Display constant literals in decimal form
352 rather than their character equivalents.
353 .TP 5
354 \fB\-g\fR
355 Display constant character literals in quoted form
356 rather than their decimal equivalents.
357 .TP 5
358 \fB\-i\fR
359 Analyze the initialization (\fBis1\fR, \fBis2\fR, \fBis3\fR), and reset
360 (\fBrs1\fR, \fBrs2\fR, \fBrs3\fR), strings in the entry,
361 as well as those used for starting/stopping cursor-positioning mode
362 (\fBsmcup\fP, \fBrmcup\fP) as well as starting/stopping keymap mode
363 (\fBsmkx\fP, \fBrmkx\fP).
364 .IP
365 For each string, the
366 code tries to analyze it into actions in terms of the other capabilities in the
367 entry, certain X3.64/ISO 6429/ECMA\-48 capabilities, and certain DEC VT-series
368 private modes (the set of recognized special sequences has been selected for
369 completeness over the existing terminfo database).
370 Each report line consists
371 of the capability name, followed by a colon and space, followed by a printable
372 expansion of the capability string with sections matching recognized actions
373 translated into {}-bracketed descriptions.
374 .IP
375 Here is a list of the DEC/ANSI
376 special sequences recognized:
377 .TS
378 center tab(/) ;
379 l l
380 l l.
381 Action/Meaning
382 =
383 RIS/full reset
384 SC/save cursor
385 RC/restore cursor
386 LL/home-down
387 RSR/reset scroll region
388 =
389 DECSTR/soft reset (VT320)
390 S7C1T/7-bit controls (VT220)
391 =
392 ISO DEC G0/enable DEC graphics for G0
393 ISO UK G0/enable UK chars for G0
394 ISO US G0/enable US chars for G0
395 ISO DEC G1/enable DEC graphics for G1
396 ISO UK G1/enable UK chars for G1
397 ISO US G1/enable US chars for G1
398 =
399 DECPAM/application keypad mode
400 DECPNM/normal keypad mode
401 DECANSI/enter ANSI mode
402 =
403 ECMA[+\-]AM/keyboard action mode
404 ECMA[+\-]IRM/insert replace mode
405 ECMA[+\-]SRM/send receive mode
406 ECMA[+\-]LNM/linefeed mode
407 =
408 DEC[+\-]CKM/application cursor keys
409 DEC[+\-]ANM/set VT52 mode
410 DEC[+\-]COLM/132-column mode
411 DEC[+\-]SCLM/smooth scroll
412 DEC[+\-]SCNM/reverse video mode
413 DEC[+\-]OM/origin mode
414 DEC[+\-]AWM/wraparound mode
415 DEC[+\-]ARM/auto-repeat mode
416 .TE
417 .sp
418 It also recognizes a SGR action corresponding to ANSI/ISO 6429/ECMA Set
419 Graphics Rendition, with the values NORMAL, BOLD, UNDERLINE, BLINK, and
420 REVERSE.
421 All but NORMAL may be prefixed with
422 .RS
423 .bP
424 \*(``+\*('' (turn on) or
425 .bP
426 \*(``\-\*('' (turn off).
427 .RE
428 .IP
429 An SGR0 designates an empty highlight sequence (equivalent to {SGR:NORMAL}).
430 .TP 5
431 \fB\-l\fR
432 Set output format to terminfo.
433 .TP 5
434 \fB\-p\fR
435 Ignore padding specifications when comparing strings.
436 .TP 5
437 \fB\-Q\fR \fIn\fR
438 Rather than show source in terminfo (text) format,
439 print the compiled (binary) format in hexadecimal or base64 form,
440 depending on the option's value:
441 .RS 8
442 .TP 3
443 1
444 hexadecimal
445 .TP 3
446 2
447 base64
448 .TP 3
449 3
450 hexadecimal and base64
451 .RE
452 .IP
453 For example, this prints the compiled terminfo value as a string
454 which could be assigned to the \fBTERMINFO\fP environment variable:
455 .NS
456 @INFOCMP@ -0 -q -Q2
457 .NE
458 .TP 5
459 \fB\-q\fR
460 This makes the output a little shorter:
461 .RS
462 .bP
463 Make the comparison listing shorter by omitting subheadings, and using
464 \*(``\-\*('' for absent capabilities, \*(``@\*('' for canceled rather than \*(``NULL\*(''.
465 .bP
466 However, show differences between absent and cancelled capabilities.
467 .bP
468 Omit the \*(``Reconstructed from\*('' comment for source listings.
469 .RE
470 .TP 5
471 \fB\-R\fR\fIsubset\fR
472 Restrict output to a given subset.
473 This option is for use with archaic
474 versions of terminfo like those on SVr1, Ultrix, or HP/UX that do not support
475 the full set of SVR4/XSI Curses terminfo; and variants such as AIX
476 that have their own extensions incompatible with SVr4/XSI.
477 .RS
478 .bP
479 Available terminfo
480 subsets are \*(``SVr1\*('', \*(``Ultrix\*('', \*(``HP\*('', and \*(``AIX\*(''; see \fBterminfo\fR(\*n) for
481 details.
482 .bP
483 You can also choose the subset \*(``BSD\*('' which selects only capabilities
484 with termcap equivalents recognized by 4.4BSD.
485 The \fB\-C\fP option sets the \*(``BSD\*('' subset as a side-effect.
486 .bP
487 If you select any other value for \fB\-R\fP,
488 it is the same as no subset, i.e., all capabilities are used.
489 The \fB\-I\fP option likewise selects no subset as a side-effect.
490 .RE
491 .TP
492 \fB\-s \fR\fI[d|i|l|c]\fR
493 The \fB\-s\fR option sorts the fields within each type according to the argument
494 below:
495 .br
496 .RS 5
497 .TP 5
498 \fBd\fR
499 leave fields in the order that they are stored in the \fIterminfo\fR database.
500 .TP 5
501 \fBi\fR
502 sort by \fIterminfo\fR name.
503 .TP 5
504 \fBl\fR
505 sort by the long C variable name.
506 .TP 5
507 \fBc\fR
508 sort by the \fItermcap\fR name.
509 .RE
510 .IP
511 If the \fB\-s\fR option is not given, the fields printed out will be
512 sorted alphabetically by the \fBterminfo\fR name within each type,
513 except in the case of the \fB\-C\fR or the \fB\-L\fR options, which cause the
514 sorting to be done by the \fBtermcap\fR name or the long C variable
515 name, respectively.
516 .TP 5
517 \fB\-T\fR
518 eliminates size-restrictions on the generated text.
519 This is mainly useful for testing and analysis, since the compiled
520 descriptions are limited (e.g., 1023 for termcap, 4096 for terminfo).
521 .TP
522 \fB\-t\fR
523 tells \fB@TIC@\fP to discard commented-out capabilities.
524 Normally when translating from terminfo to termcap,
525 untranslatable capabilities are commented-out.
526 .TP 5
527 \fB\-U\fR
528 tells \fB@INFOCMP@\fP to not post-process the data after parsing the source file.
529 This feature helps when comparing the actual contents of two source files,
530 since it excludes the inferences that \fB@INFOCMP@\fP makes to fill in missing
531 data.
532 .TP 5
533 \fB\-V\fR
534 reports the version of ncurses which was used in this program, and exits.
535 .TP 5
536 \fB\-v\fR \fIn\fR
537 prints out tracing information on standard error as the program runs.
538 .IP
539 The optional parameter \fIn\fR is a number from 1 to 10, inclusive,
540 indicating the desired level of detail of information.
541 If ncurses is built without tracing support, the optional parameter is ignored.
542 .TP
543 \fB\-W\fR
544 By itself, the \fB\-w\fP option will not force long strings to be wrapped.
545 Use the \fB\-W\fP option to do this.
546 .TP 5
547 \fB\-w\fR \fIwidth\fR
548 changes the output to \fIwidth\fR characters.
549 .TP
550 \fB\-x\fR
551 print information for user-defined capabilities.
552 These are extensions to the terminfo repertoire which can be loaded
553 using the \fB\-x\fR option of \fB@TIC@\fP.
554 .SH FILES
555 .TP 20
556 \*d
557 Compiled terminal description database.
558 .SH EXTENSIONS
559 The
560 \fB\-0\fR,
561 \fB\-1\fR,
562 \fB\-E\fR,
563 \fB\-F\fR,
564 \fB\-G\fR,
565 \fB\-Q\fR,
566 \fB\-R\fR,
567 \fB\-T\fR,
568 \fB\-V\fR,
569 \fB\-a\fR,
570 \fB\-e\fR,
571 \fB\-f\fR,
572 \fB\-g\fR,
573 \fB\-i\fR,
574 \fB\-l\fR,
575 \fB\-p\fR,
576 \fB\-q\fR and
577 \fB\-t\fR
578 options are not supported in SVr4 curses.
579 .PP
580 SVr4 infocmp does not distinguish between absent and cancelled capabilities.
581 Also, it shows missing integer capabilities as \fB\-1\fP
582 (the internal value used to represent missing integers).
583 This implementation shows those as \*(``NULL\*('',
584 for consistency with missing strings.
585 .PP
586 The \fB\-r\fR option's notion of \*(``termcap\*('' capabilities is System V Release 4's.
587 Actual BSD curses versions will have a more restricted set.
588 To see only the
589 4.4BSD set, use \fB\-r\fR \fB\-RBSD\fR.
590 .SH BUGS
591 The \fB\-F\fR option of \fB@INFOCMP@\fR(1M) should be a \fB@TOE@\fR(1M) mode.
592 .SH SEE ALSO
593 \fB@CAPTOINFO@\fR(1M),
594 \fB@INFOTOCAP@\fR(1M),
595 \fB@TIC@\fR(1M),
596 \fB@TOE@\fR(1M),
597 \fBcurses\fR(3X),
598 \fBterminfo\fR(\*n).
599 .sp
600 https://invisible-island.net/ncurses/tctest.html
601 .PP
602 This describes \fBncurses\fR
603 version @NCURSES_MAJOR@.@NCURSES_MINOR@ (patch @NCURSES_PATCH@).
604 .SH AUTHOR
605 Eric S. Raymond <esr@snark.thyrsus.com>
606 and
607 .br
608 Thomas E. Dickey <dickey@invisible-island.net>