%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 The following patch contains updates from the &ncurses-version; branch by the Ncurses developers: patch -Np1 -i ../&ncurses-branch_update-patch; Prepare Ncurses for compilation: ./configure --prefix=/usr --libdir=/lib \ --with-shared --without-debug --enable-widec \ --with-manpage-format=normal \ --with-default-terminfo-dir=/usr/share/terminfo Compile the package: make This package has a test suite, and can be ran after the package is installed. The tests are in the test/ directory. See the README file in that directory for details. Install the package: make install Move the Ncurses static libraries to the proper location: mv -v /lib/lib{panelw,menuw,formw,ncursesw,ncurses++w}.a /usr/lib Create symlinks in /usr/lib: ln -svf ../../lib/$(readlink /lib/libncursesw.so) /usr/lib/libncursesw.so ln -svf ../../lib/$(readlink /lib/libmenuw.so) /usr/lib/libmenuw.so ln -svf ../../lib/$(readlink /lib/libpanelw.so) /usr/lib/libpanelw.so ln -svf ../../lib/$(readlink /lib/libformw.so) /usr/lib/libformw.so rm -v /lib/lib{ncursesw,menuw,panelw,formw}.so Now we will make our Ncurses compatible for older and non-widec compatible programs can build properly: for lib in curses ncurses form panel menu ; do echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a done ln -sfv libncursesw.so /usr/lib/libcursesw.so ln -sfv libncursesw.a /usr/lib/libcursesw.a ln -sfv libncurses++w.a /usr/lib/libncurses++.a ln -sfv ncursesw5-config /usr/bin/ncurses5-config Contents of Ncurses Installed programs Installed libraries Installed directories captoinfo (link to tic), clear, infocmp, infotocap (link to tic), ncursesw5-config, reset (link to tset), tabs, tic, toe, tput, tset libcursesw.so (link to libncursesw.so), libformw.[a,so], libmenuw.[a,so], libncurses++w.a, libncursesw.[a,so], libpanelw.[a,so] /usr/share/tabset, /usr/share/terminfo 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 ncursesw5-config Provides configuration information for ncurses ncursesw5-config reset Reinitializes a terminal to its default values reset tabs Sets and clears tab stops on a terminal tabs 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 libcursesw A link to libncursesw libcursesw libncursesw 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 libncursesw libformw Contains functions to implement forms libformw libmenuw Contains functions to implement menus libmenuw libpanelw Contains functions to implement panels libpanelw