%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 Compile the package: make This package does not come with a test suite. 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: rm -v /lib/lib{ncursesw,menuw,panelw,formw}.so ln -svf ../../lib/libncursesw.so.5 /usr/lib/libncursesw.so ln -svf ../../lib/libmenuw.so.5 /usr/lib/libmenuw.so ln -svf ../../lib/libpanelw.so.5 /usr/lib/libpanelw.so ln -svf ../../lib/libformw.so.5 /usr/lib/libformw.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 Now we will create a symlink for /usr/share/terminfo in /usr/lib for compatibility: ln -sfv ../../usr/share/terminfo /usr/lib/terminfo Contents of Ncurses Installed programs Installed libraries captoinfo (link to tic), clear, infocmp, infotocap (link to tic), ncursesw5-config, reset (link to tset), tack, tic, toe, tput, and tset libcursesw.so (link to libncurses.so), libformw.[a,so], libmenuw.[a,so], libncurses++w.a, libncursesw.[a,so], and libpanelw.[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 ncursesw5-config Provides configuration information for ncurses ncursesw5-config 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 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