%general-entities; ]> Ncurses-&ncurses-version; Ncurses <para>The Ncurses package contains libraries for terminal-independent handling of character screens.</para> </sect2> <sect2 role="installation"> <title>Installation of Ncurses This patch fixes an issue with some bash versions: patch -Np1 -i ../&ncurses-bashfix-patch; Prepare Ncurses for compilation: ./configure --build=${CLFS_HOST} --host=${CLFS_TARGET} \ --prefix=/usr --libdir=/lib --with-shared \ --without-debug --without-ada --with-build-cc=gcc Compile the package: make Install the package: make DESTDIR=${CLFS} install Move the Ncurses static libraries to the proper location: mv -v ${CLFS}/lib/lib{panel,menu,form,ncurses,ncurses++,curses}.a \ ${CLFS}/usr/lib Create symlinks in /usr/lib: rm -v ${CLFS}/lib/lib{ncurses,menu,panel,form,curses}.so ln -svf ../../lib/libncurses.so.&ncurses-version2; ${CLFS}/usr/lib/libcurses.so ln -svf ../../lib/libncurses.so.&ncurses-version2; ${CLFS}/usr/lib/libncurses.so ln -svf ../../lib/libmenu.so.&ncurses-version2; ${CLFS}/usr/lib/libmenu.so ln -svf ../../lib/libpanel.so.&ncurses-version2; ${CLFS}/usr/lib/libpanel.so ln -svf ../../lib/libform.so.&ncurses-version2; ${CLFS}/usr/lib/libform.so Give the Ncurses libraries execute permissions: chmod -v 755 ${CLFS}/lib/lib{panel,menu,form,ncurses}.so.&ncurses-version; Contents of Ncurses Installed programs Installed libraries captoinfo (link to tic), clear, infocmp, infotocap (link to tic), reset (link to tset), tack, tic, toe, tput, and tset libcurses.[a,so] (link to libncurses.[a,so]), libform.[a,so], libmenu.[a,so], libncurses++.a, libncurses.[a,so], and libpanel.[a,so] Short Descriptions captoinfo Converts a termcap description into a terminfo description captoinfo clear Clears the screen, if possible clear infocmp Compares or prints out terminfo descriptions infocmp infotocap Converts a terminfo description into a termcap description infotocap reset Reinitializes a terminal to its default values reset tack The terminfo action checker; it is mainly used to test the accuracy of an entry in the terminfo database tack tic The terminfo entry-description compiler that translates a terminfo file from source format into the binary format needed for the ncurses library routines. A terminfo file contains information on the capabilities of a certain terminal tic toe Lists all available terminal types, giving the primary name and description for each toe tput Makes the values of terminal-dependent capabilities available to the shell; it can also be used to reset or initialize a terminal or report its long name tput tset Can be used to initialize terminals tset libcurses A link to libncurses libcurses libncurses Contains functions to display text in many complex ways on a terminal screen; a good example of the use of these functions is the menu displayed during the kernel's make menuconfig libncurses libform Contains functions to implement forms libform libmenu Contains functions to implement menus libmenu libpanel Contains functions to implement panels libpanel