Changeset 3f0c882 for chapter06/ncurses.xml
- Timestamp:
- 12/21/2004 07:38:32 PM (19 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 3d36131c
- Parents:
- aaa3260
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/ncurses.xml
raaa3260 r3f0c882 11 11 12 12 <sect2 role="package"><title/> 13 <para>The Ncurses package contains libraries for terminal-independent14 handling of character screens.</para>15 13 16 14 <segmentedlist> … … 20 18 </segmentedlist> 21 19 22 <segmentedlist>23 <segtitle>Ncurses installation depends on</segtitle>24 <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,25 Gawk, GCC, Glibc, Grep, Make, Sed</seg></seglistitem>26 </segmentedlist>27 20 </sect2> 28 21 … … 46 39 <screen><userinput>chmod 755 /usr/lib/*.&ncurses-version;</userinput></screen> 47 40 48 <para>Now fix a library that shouldn't be executable:</para>41 <para>Now fix a library:</para> 49 42 50 43 <screen><userinput>chmod 644 /usr/lib/libncurses++.a</userinput></screen> 51 44 52 <para>Move the libraries to the <filename class="directory">/lib</filename> directory, 53 where they're expected to reside:</para> 45 <para>Move the libraries to the <filename class="directory">/lib</filename> directory:</para> 54 46 55 47 <screen><userinput>mv /usr/lib/libncurses.so.5* /lib</userinput></screen> 56 48 57 <para>Because the libraries have been moved, a few symlinks are pointing to 58 non-existent files. Recreate those symlinks:</para> 49 <para>Recreate some symlinks:</para> 59 50 60 51 <screen><userinput>ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so … … 65 56 <sect2 id="contents-ncurses" role="content"><title>Contents of Ncurses</title> 66 57 67 <segmentedlist> 68 <segtitle>Installed programs</segtitle> 69 <segtitle>Installed libraries</segtitle> 70 <seglistitem><seg>captoinfo (link to tic), clear, infocmp, infotocap (link to tic), 71 reset (link to tset), tack, tic, toe, tput and tset</seg> 72 <seg>libcurses.[a,so] (link to libncurses.[a,so]), libform.[a,so], libmenu.[a,so], 73 libncurses++.a, libncurses.[a,so], libpanel.[a,so]</seg></seglistitem> 74 </segmentedlist> 75 76 <variablelist><title>Short descriptions</title> 77 78 <varlistentry id="captoinfo"> 79 <term><command>captoinfo</command></term> 80 <listitem> 81 <indexterm zone="ch-system-ncurses captoinfo"><primary sortas="b-captoinfo">captoinfo</primary></indexterm> 82 <para>converts a termcap description into a terminfo description.</para> 83 </listitem> 84 </varlistentry> 85 86 <varlistentry id="clear"> 87 <term><command>clear</command></term> 88 <listitem> 89 <indexterm zone="ch-system-ncurses clear"><primary sortas="b-clear">clear</primary></indexterm> 90 <para>clears the screen, if this is possible.</para> 91 </listitem> 92 </varlistentry> 93 94 <varlistentry id="infocmp"> 95 <term><command>infocmp</command></term> 96 <listitem> 97 <indexterm zone="ch-system-ncurses infocmp"><primary sortas="b-infocmp">infocmp</primary></indexterm> 98 <para>compares or prints out terminfo descriptions.</para> 99 </listitem> 100 </varlistentry> 101 102 <varlistentry id="infotocap"> 103 <term><command>infotocap</command></term> 104 <listitem> 105 <indexterm zone="ch-system-ncurses infotocap"><primary sortas="b-infotocap">infotocap</primary></indexterm> 106 <para>converts a terminfo description into a termcap description.</para> 107 </listitem> 108 </varlistentry> 109 110 <varlistentry id="reset"> 111 <term><command>reset</command></term> 112 <listitem> 113 <indexterm zone="ch-system-ncurses reset"><primary sortas="b-reset">reset</primary></indexterm> 114 <para>reinitializes a terminal to its default values.</para> 115 </listitem> 116 </varlistentry> 117 118 <varlistentry id="tack"> 119 <term><command>tack</command></term> 120 <listitem> 121 <indexterm zone="ch-system-ncurses tack"><primary sortas="b-tack">tack</primary></indexterm> 122 <para>is the terminfo action checker. It is mainly 123 used to test the correctness of an entry in the terminfo database.</para> 124 </listitem> 125 </varlistentry> 126 127 <varlistentry id="tic"> 128 <term><command>tic</command></term> 129 <listitem> 130 <indexterm zone="ch-system-ncurses tic"><primary sortas="b-tic">tic</primary></indexterm> 131 <para>is the terminfo entry-description compiler. 132 It translates a terminfo file from source format into the binary format needed 133 for the ncurses library routines. A terminfo file contains information on the 134 capabilities of a certain terminal.</para> 135 </listitem> 136 </varlistentry> 137 138 <varlistentry id="toe"> 139 <term><command>toe</command></term> 140 <listitem> 141 <indexterm zone="ch-system-ncurses toe"><primary sortas="b-toe">toe</primary></indexterm> 142 <para>lists all available terminal types, for each 143 giving its primary name and its description.</para> 144 </listitem> 145 </varlistentry> 146 147 <varlistentry id="tput"> 148 <term><command>tput</command></term> 149 <listitem> 150 <indexterm zone="ch-system-ncurses tput"><primary sortas="b-tput">tput</primary></indexterm> 151 <para>makes the values of terminal-dependent 152 capabilities available to the shell. It can also be used to reset or initialize 153 a terminal, or report its long name.</para> 154 </listitem> 155 </varlistentry> 156 157 <varlistentry id="tset"> 158 <term><command>tset</command></term> 159 <listitem> 160 <indexterm zone="ch-system-ncurses tset"><primary sortas="b-tset">tset</primary></indexterm> 161 <para>can be used to initialize terminals.</para> 162 </listitem> 163 </varlistentry> 164 165 <varlistentry id="libncurses"> 166 <term><filename class="libraryfile">>libncurses*</filename></term> 167 <listitem> 168 <indexterm zone="ch-system-ncurses libncurses"><primary sortas="c-libncurses*">libncurses*</primary></indexterm> 169 <para>contains functions to display text in 170 many complicated ways on a terminal screen. A good example of the use of these 171 functions is the menu displayed during the kernel's <command>make menuconfig</command>.</para> 172 </listitem> 173 </varlistentry> 174 175 <varlistentry id="libform"> 176 <term><filename class="libraryfile">libform*</filename></term> 177 <listitem> 178 <indexterm zone="ch-system-ncurses libform"><primary sortas="c-libform*">libform*</primary></indexterm> 179 <para>contains functions to implement forms.</para> 180 </listitem> 181 </varlistentry> 182 183 <varlistentry id="libmenu"> 184 <term><filename class="libraryfile">libmenu*</filename></term> 185 <listitem> 186 <indexterm zone="ch-system-ncurses libmenu"><primary sortas="c-libmenu*">libmenu*</primary></indexterm> 187 <para>contains functions to implement menus.</para> 188 </listitem> 189 </varlistentry> 190 191 <varlistentry id="libpanel"> 192 <term><filename class="libraryfile">libpanel*</filename></term> 193 <listitem> 194 <indexterm zone="ch-system-ncurses libpanel"><primary sortas="c-libpanel*">libpanel*</primary></indexterm> 195 <para>contains functions to implement panels.</para> 196 </listitem> 197 </varlistentry> 198 </variablelist> 58 <para>See testing</para> 199 59 200 60 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.