Penguin
Blame: captoinfo(1)
EditPageHistoryDiffInfoLikePages
Annotated edit history of captoinfo(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 captoinfo
2 !!!captoinfo
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 FILES
7 TRANSLATIONS FROM NONSTANDARD CAPABILITIES
8 NOTES
9 SEE ALSO
10 AUTHOR
11 ----
12 !!NAME
13
14
15 __captoinfo__ - convert a ''termcap'' description into a ''terminfo'' description
16 !!SYNOPSIS
17
18
19 __captoinfo__ [[__-v__''n width''] [[__-V__]
20 [[__-1__] [[__-w__ ''width''] ''file'' . .
21 .
22 !!DESCRIPTION
23
24
25 __captoinfo__ looks in ''file'' for __termcap__
26 descriptions. For each one found, an equivalent
27 __terminfo__ description is written to standard output.
28 Termcap __tc__ capabilities are translated directly to
29 terminfo __use__ capabilities.
30
31
32 If no ''file'' is given, then the environment variable
33 __TERMCAP__ is used for the filename or entry. If
34 __TERMCAP__ is a full pathname to a file, only the
35 terminal whose name is specified in the environment variable
36 __TERM__ is extracted from that file. If the environment
37 variable __TERMCAP__ is not set, then the file
38 __/usr/share/terminfo__ is read.
39
40
41 __-v__
42
43
44 print out tracing information on standard error as the
45 program runs.
46
47
48 __-V__
49
50
51 print out the version of the program in use on standard
52 error and exit.
53
54
55 __-1__
56
57
58 cause the fields to print out one to a line. Otherwise, the
59 fields will be printed several to a line to a maximum width
60 of 60 characters.
61
62
63 __-w__
64
65
66 change the output to ''width'' characters.
67 !!FILES
68
69
70 /usr/share/terminfo
71
72
73 Compiled terminal description database.
74 !!TRANSLATIONS FROM NONSTANDARD CAPABILITIES
75
76
77 Some obsolete nonstandard capabilities will automatically be
78 translated into standard (SVr4/XSI Curses) terminfo
79 capabilities by __captoinfo__. Whenever one of these
80 automatic translations is done, the program will issue an
81 notification to stderr, inviting the user to check that it
82 has not mistakenly translated a completely unknown and
83 random capability and/or syntax error.
84
85
86 XENIX termcap also used to have a set of extension capabilities for forms drawing, designed to take advantage of the IBM PC high-half graphics. They were as follows:
87
88
89 If the single-line capabilities occur in an entry, they will automatically be composed into an __acsc__ string. The double-line capabilities and __GG__ are discarded with a warning message.
90
91
92 IBM's AIX has a terminfo facility descended from SVr1
93 terminfo but incompatible with the SVr4 format. The
94 following AIX extensions are automatically
95 translated:
96
97
98 Additionally, the AIX __box1__ capability will be automatically translated to an __acsc__ string.
99
100
101 Hewlett-Packard's terminfo library supports two nonstandard
102 terminfo capabilities __meml__ (memory lock) and
103 __memu__ (memory unlock). These will be discarded with a
104 warning message.
105 !!NOTES
106
107
108 This utility is actually a link to ''tic''(1M), running
109 in ''-I'' mode. You can use other ''tic'' options such
110 as __-f__ and __-x__.
111
112
113 The trace option isn't identical to SVr4's. Under SVr4,
114 instead of following the -v with a trace level n, you repeat
115 it n times.
116 !!SEE ALSO
117
118
119 __curses__(3X), __infocmp__(1M),
120 terminfo(5)
121 !!AUTHOR
122
123
124 Eric S. Raymond
125 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.