[0d9eda9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-ncurses-widec" role="wrap">
|
---|
| 9 | <?dbhtml filename="ncurses-widec.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Ncurses-&ncurses-version; Widec</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-ncurses-widec">
|
---|
| 14 | <primary sortas="a-Ncurses">Ncurses Widec</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The Ncurses package contains libraries for terminal-independent
|
---|
| 21 | handling of character screens.</para>
|
---|
| 22 |
|
---|
| 23 | </sect2>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="installation">
|
---|
| 26 | <title>Installation of Ncurses</title>
|
---|
| 27 |
|
---|
| 28 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 29 | href="ncurses.xml"
|
---|
| 30 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
| 31 |
|
---|
| 32 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 33 | href="ncurses.xml"
|
---|
| 34 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
| 35 |
|
---|
| 36 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 37 | href="ncurses.xml"
|
---|
| 38 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 39 |
|
---|
| 40 | <screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib \
|
---|
[1b69e8f] | 41 | --with-shared --without-debug --enable-widec \
|
---|
| 42 | --includedir=/usr/include/ncursesw</userinput></screen>
|
---|
[0d9eda9] | 43 |
|
---|
| 44 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 45 | href="ncurses.xml"
|
---|
| 46 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 47 |
|
---|
| 48 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 49 | href="ncurses.xml"
|
---|
| 50 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 51 |
|
---|
| 52 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 53 | href="ncurses.xml"
|
---|
| 54 | xpointer="xpointer(//*[@os='e'])"/>
|
---|
| 55 |
|
---|
| 56 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 57 | href="ncurses.xml"
|
---|
| 58 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 59 |
|
---|
| 60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 61 | href="ncurses.xml"
|
---|
| 62 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 63 |
|
---|
| 64 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 65 | href="ncurses.xml"
|
---|
| 66 | xpointer="xpointer(//*[@os='h'])"/>
|
---|
| 67 |
|
---|
| 68 | <screen os="i"><userinput>mv -v /lib/lib{panelw,menuw,formw,ncursesw,ncurses++w}.a /usr/lib</userinput></screen>
|
---|
| 69 |
|
---|
| 70 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 71 | href="ncurses.xml"
|
---|
| 72 | xpointer="xpointer(//*[@os='j'])"/>
|
---|
| 73 |
|
---|
| 74 | <screen os="k"><userinput>rm -v /lib/lib{ncursesw,menuw,panelw,formw,cursesw}.so
|
---|
| 75 | ln -svf ../../lib/libncursesw.so.5 /usr/lib/libcursesw.so
|
---|
| 76 | ln -svf ../../lib/libncursesw.so.5 /usr/lib/libncursesw.so
|
---|
| 77 | ln -svf ../../lib/libmenuw.so.5 /usr/lib/libmenuw.so
|
---|
| 78 | ln -svf ../../lib/libpanelw.so.5 /usr/lib/libpanelw.so
|
---|
| 79 | ln -svf ../../lib/libformw.so.5 /usr/lib/libformw.so</userinput></screen>
|
---|
| 80 |
|
---|
| 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <sect2 id="contents-ncurses-widec" role="content">
|
---|
| 84 | <title>Contents of Ncurses Widec</title>
|
---|
| 85 |
|
---|
| 86 | <segmentedlist>
|
---|
| 87 | <segtitle>Installed programs</segtitle>
|
---|
| 88 | <segtitle>Installed libraries</segtitle>
|
---|
| 89 |
|
---|
| 90 | <seglistitem>
|
---|
| 91 | <seg>captoinfo (link to tic), clear, infocmp, infotocap (link to tic),
|
---|
| 92 | ncursesw5-config, reset (link to tset), tack, tic, toe, tput, and tset</seg>
|
---|
| 93 | <seg>libcursesw.so (link to libncurses.so), libformw.[a,so],
|
---|
| 94 | libmenuw.[a,so], libncurses++w.a, libncursesw.[a,so], and
|
---|
| 95 | libpanelw.[a,so]</seg>
|
---|
| 96 | </seglistitem>
|
---|
| 97 | </segmentedlist>
|
---|
| 98 |
|
---|
| 99 | <variablelist>
|
---|
| 100 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 101 | <?dbfo list-presentation="list"?>
|
---|
| 102 | <?dbhtml list-presentation="table"?>
|
---|
| 103 |
|
---|
| 104 | <varlistentry id="captoinfo">
|
---|
| 105 | <term><command>captoinfo</command></term>
|
---|
| 106 | <listitem>
|
---|
| 107 | <para>Converts a termcap description into a terminfo description</para>
|
---|
| 108 | <indexterm zone="ch-system-ncurses-widec captoinfo">
|
---|
| 109 | <primary sortas="b-captoinfo">captoinfo</primary>
|
---|
| 110 | </indexterm>
|
---|
| 111 | </listitem>
|
---|
| 112 | </varlistentry>
|
---|
| 113 |
|
---|
| 114 | <varlistentry id="clear">
|
---|
| 115 | <term><command>clear</command></term>
|
---|
| 116 | <listitem>
|
---|
| 117 | <para>Clears the screen, if possible</para>
|
---|
| 118 | <indexterm zone="ch-system-ncurses-widec clear">
|
---|
| 119 | <primary sortas="b-clear">clear</primary>
|
---|
| 120 | </indexterm>
|
---|
| 121 | </listitem>
|
---|
| 122 | </varlistentry>
|
---|
| 123 |
|
---|
| 124 | <varlistentry id="infocmp">
|
---|
| 125 | <term><command>infocmp</command></term>
|
---|
| 126 | <listitem>
|
---|
| 127 | <para>Compares or prints out terminfo descriptions</para>
|
---|
| 128 | <indexterm zone="ch-system-ncurses-widec infocmp">
|
---|
| 129 | <primary sortas="b-infocmp">infocmp</primary>
|
---|
| 130 | </indexterm>
|
---|
| 131 | </listitem>
|
---|
| 132 | </varlistentry>
|
---|
| 133 |
|
---|
| 134 | <varlistentry id="infotocap">
|
---|
| 135 | <term><command>infotocap</command></term>
|
---|
| 136 | <listitem>
|
---|
| 137 | <para>Converts a terminfo description into a termcap description</para>
|
---|
| 138 | <indexterm zone="ch-system-ncurses-widec infotocap">
|
---|
| 139 | <primary sortas="b-infotocap">infotocap</primary>
|
---|
| 140 | </indexterm>
|
---|
| 141 | </listitem>
|
---|
| 142 | </varlistentry>
|
---|
| 143 |
|
---|
| 144 | <varlistentry id="ncursesw5-config">
|
---|
| 145 | <term><command>ncursesw5-config</command></term>
|
---|
| 146 | <listitem>
|
---|
| 147 | <para>Provides configuration information for ncurses</para>
|
---|
| 148 | <indexterm zone="ch-system-ncurses-widec ncursesw5-config">
|
---|
| 149 | <primary sortas="b-ncursesw5-config">ncursesw5-config</primary>
|
---|
| 150 | </indexterm>
|
---|
| 151 | </listitem>
|
---|
| 152 | </varlistentry>
|
---|
| 153 |
|
---|
| 154 | <varlistentry id="reset">
|
---|
| 155 | <term><command>reset</command></term>
|
---|
| 156 | <listitem>
|
---|
| 157 | <para>Reinitializes a terminal to its default values</para>
|
---|
| 158 | <indexterm zone="ch-system-ncurses-widec reset">
|
---|
| 159 | <primary sortas="b-reset">reset</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
| 164 | <varlistentry id="tack">
|
---|
| 165 | <term><command>tack</command></term>
|
---|
| 166 | <listitem>
|
---|
| 167 | <para>The terminfo action checker; it is mainly used to test the
|
---|
| 168 | accuracy of an entry in the terminfo database</para>
|
---|
| 169 | <indexterm zone="ch-system-ncurses-widec tack">
|
---|
| 170 | <primary sortas="b-tack">tack</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
| 175 | <varlistentry id="tic">
|
---|
| 176 | <term><command>tic</command></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>The terminfo entry-description compiler that translates a
|
---|
| 179 | terminfo file from source format into the binary format needed for the
|
---|
| 180 | ncurses library routines. A terminfo file contains information on the
|
---|
| 181 | capabilities of a certain terminal</para>
|
---|
| 182 | <indexterm zone="ch-system-ncurses-widec tic">
|
---|
| 183 | <primary sortas="b-tic">tic</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | <varlistentry id="toe">
|
---|
| 189 | <term><command>toe</command></term>
|
---|
| 190 | <listitem>
|
---|
| 191 | <para>Lists all available terminal types, giving the primary name and
|
---|
| 192 | description for each</para>
|
---|
| 193 | <indexterm zone="ch-system-ncurses-widec toe">
|
---|
| 194 | <primary sortas="b-toe">toe</primary>
|
---|
| 195 | </indexterm>
|
---|
| 196 | </listitem>
|
---|
| 197 | </varlistentry>
|
---|
| 198 |
|
---|
| 199 | <varlistentry id="tput">
|
---|
| 200 | <term><command>tput</command></term>
|
---|
| 201 | <listitem>
|
---|
| 202 | <para>Makes the values of terminal-dependent capabilities available to
|
---|
| 203 | the shell; it can also be used to reset or initialize a terminal or
|
---|
| 204 | report its long name</para>
|
---|
| 205 | <indexterm zone="ch-system-ncurses-widec tput">
|
---|
| 206 | <primary sortas="b-tput">tput</primary>
|
---|
| 207 | </indexterm>
|
---|
| 208 | </listitem>
|
---|
| 209 | </varlistentry>
|
---|
| 210 |
|
---|
| 211 | <varlistentry id="tset">
|
---|
| 212 | <term><command>tset</command></term>
|
---|
| 213 | <listitem>
|
---|
| 214 | <para>Can be used to initialize terminals</para>
|
---|
| 215 | <indexterm zone="ch-system-ncurses-widec tset">
|
---|
| 216 | <primary sortas="b-tset">tset</primary>
|
---|
| 217 | </indexterm>
|
---|
| 218 | </listitem>
|
---|
| 219 | </varlistentry>
|
---|
| 220 |
|
---|
| 221 | <varlistentry id="libcursesw">
|
---|
| 222 | <term><filename class="libraryfile">libcursesw</filename></term>
|
---|
| 223 | <listitem>
|
---|
| 224 | <para>A link to <filename>libncursesw</filename></para>
|
---|
| 225 | <indexterm zone="ch-system-ncurses-widec libcursesw">
|
---|
| 226 | <primary sortas="c-libcursesw">libcursesw</primary>
|
---|
| 227 | </indexterm>
|
---|
| 228 | </listitem>
|
---|
| 229 | </varlistentry>
|
---|
| 230 |
|
---|
| 231 | <varlistentry id="libncursesw">
|
---|
| 232 | <term><filename class="libraryfile">libncursesw</filename></term>
|
---|
| 233 | <listitem>
|
---|
| 234 | <para>Contains functions to display text in many complex ways on a
|
---|
| 235 | terminal screen; a good example of the use of these functions is the
|
---|
| 236 | menu displayed during the kernel's
|
---|
| 237 | <command>make menuconfig</command></para>
|
---|
| 238 | <indexterm zone="ch-system-ncurses-widec libncursesw">
|
---|
| 239 | <primary sortas="c-libncursesw">libncursesw</primary>
|
---|
| 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
| 244 | <varlistentry id="libformw">
|
---|
| 245 | <term><filename class="libraryfile">libformw</filename></term>
|
---|
| 246 | <listitem>
|
---|
| 247 | <para>Contains functions to implement forms</para>
|
---|
| 248 | <indexterm zone="ch-system-ncurses-widec libformw">
|
---|
| 249 | <primary sortas="c-libform">libformw</primary>
|
---|
| 250 | </indexterm>
|
---|
| 251 | </listitem>
|
---|
| 252 | </varlistentry>
|
---|
| 253 |
|
---|
| 254 | <varlistentry id="libmenuw">
|
---|
| 255 | <term><filename class="libraryfile">libmenuw</filename></term>
|
---|
| 256 | <listitem>
|
---|
| 257 | <para>Contains functions to implement menus</para>
|
---|
| 258 | <indexterm zone="ch-system-ncurses-widec libmenuw">
|
---|
| 259 | <primary sortas="c-libmenuw">libmenuw</primary>
|
---|
| 260 | </indexterm>
|
---|
| 261 | </listitem>
|
---|
| 262 | </varlistentry>
|
---|
| 263 |
|
---|
| 264 | <varlistentry id="libpanelw">
|
---|
| 265 | <term><filename class="libraryfile">libpanelw</filename></term>
|
---|
| 266 | <listitem>
|
---|
| 267 | <para>Contains functions to implement panels</para>
|
---|
| 268 | <indexterm zone="ch-system-ncurses-widec libpanelw">
|
---|
| 269 | <primary sortas="c-libpanelw">libpanelw</primary>
|
---|
| 270 | </indexterm>
|
---|
| 271 | </listitem>
|
---|
| 272 | </varlistentry>
|
---|
| 273 |
|
---|
| 274 | </variablelist>
|
---|
| 275 |
|
---|
| 276 | </sect2>
|
---|
| 277 |
|
---|
| 278 | </sect1>
|
---|