%general-entities; ]> Ncurses-&ncurses-version; Ncurses <para>The Ncurses package contains libraries for terminal-independent handling of character screens.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem><seg>0.6 SBU</seg><seg>27 MB</seg></seglistitem> </segmentedlist> <segmentedlist> <segtitle>Ncurses installation depends on</segtitle> <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Sed</seg></seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Ncurses Prepare Ncurses for compilation: ./configure --prefix=/usr --with-shared --without-debug Compile the package: make Install the package: make install Give the Ncurses libraries execute permissions: chmod 755 /usr/lib/*.&ncurses-version; Now fix a library that shouldn't be executable: chmod 644 /usr/lib/libncurses++.a Move the libraries to the /lib directory, where they're expected to reside: mv /usr/lib/libncurses.so.5* /lib Because the libraries have been moved, a few symlinks are pointing to non-existent files. Recreate those symlinks: ln -sf ../../lib/libncurses.so.5 /usr/lib/libncurses.so ln -sf libncurses.so /usr/lib/libcurses.so Contents of Ncurses Installed programs: captoinfo (link to tic), clear, infocmp, infotocap (link to tic), reset (link to tset), tack, tic, toe, tput and tset Installed libraries: libcurses.[a,so] (link to libncurses.[a,so]), libform.[a,so], libmenu.[a,so], libncurses++.a, libncurses.[a,so], libpanel.[a,so] Short descriptions captoinfo captoinfo converts a termcap description into a terminfo description. clear clear clears the screen, if this is possible. infocmp infocmp compares or prints out terminfo descriptions. infotocap infotocap converts a terminfo description into a termcap description. reset reset reinitializes a terminal to its default values. tack tack is the terminfo action checker. It is mainly used to test the correctness of an entry in the terminfo database. tic tic is the terminfo entry-description compiler. It 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. toe toe lists all available terminal types, for each giving its primary name and its description. tput 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. tset tset can be used to initialize terminals. libncurses* libncurses* contains functions to display text in many complicated ways on a terminal screen. A good example of the use of these functions is the menu displayed during the kernel's make menuconfig. libform* libform* contains functions to implement forms. libmenu* libmenu* contains functions to implement menus. libpanel* libpanel* contains functions to implement panels.