ncurses-desc.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <sect2><title>Contents of Ncurses</title>
  2. <para>Last checked against version &ncurses-contversion;.</para>
  3. <sect3><title>Program Files</title>
  4. <para>captoinfo (link to tic), clear, infocmp, infotocap (link to tic),
  5. reset (link to tset), tack, tic, toe, tput and tset.</para></sect3>
  6. <sect3><title>Descriptions</title>
  7. <sect4><title>captoinfo</title>
  8. <para>captoinfo converts a termcap description into a terminfo
  9. description.</para></sect4>
  10. <sect4><title>clear</title>
  11. <para>clear clears the screen if this is possible. It looks in
  12. the environment for the terminal type and then in the terminfo database
  13. to figure out how to clear the screen.</para></sect4>
  14. <sect4><title>infocmp</title>
  15. <para>infocmp can be used to compare a binary terminfo entry with
  16. other terminfo entries, rewrite a terminfo description to
  17. take advantage of the use= terminfo field, or print out a
  18. terminfo description from the binary file (term) in a variety of
  19. formats (the opposite of what tic does).</para></sect4>
  20. <sect4><title>infotocap</title>
  21. <para>info to cap converts a terminfo description into a termcap
  22. description.</para></sect4>
  23. <sect4><title>reset</title>
  24. <para>reset sets cooked and echo modes, turns off cbreak and raw modes,
  25. turns on new-line translation and resets any unset special characters to
  26. their default values before doing terminal initialization the same way
  27. as tset.</para></sect4>
  28. <sect4><title>tack</title>
  29. <para>tack is the terminfo action checker.</para></sect4>
  30. <sect4><title>tic</title>
  31. <para>tic is the terminfo entry-description compiler. The program translates a
  32. terminfo file from source format into the binary format for use with the
  33. ncurses library routines. Terminfo files contain information about the
  34. capabilities of a terminal.</para></sect4>
  35. <sect4><title>toe</title>
  36. <para>toe lists all available terminal types by primary name with
  37. descriptions.</para></sect4>
  38. <sect4><title>tput</title>
  39. <para>tput uses the terminfo database to make the values of
  40. terminal-dependent capabilities and information available to the shell,
  41. to initialize or reset the terminal, or return the long name of the
  42. requested terminal type.</para></sect4>
  43. <sect4><title>tset</title>
  44. <para>tset initializes terminals so they can be used, but it's not
  45. widely used anymore. It's provided for 4.4BSD compatibility.</para></sect4>
  46. </sect3>
  47. <sect3><title>Library Files</title>
  48. <para>libcurses.[a,so] (link to libncurses.[a,so]), libform.[a,so],
  49. libform_g.a, libmenu.[a,so], libmenu_g.a, libncurses++.a,
  50. libncurses.[a,so], libncurses_g.a, libpanel.[a,so] and
  51. libpanel_g.a</para>
  52. <sect4><title>libcurses, libncurses++, libncurses, libncurses_g</title>
  53. <para>These libraries are the base of the system and are used to display
  54. text (often in a fancy way) on the screen. An example where ncurses is used
  55. is in the kernel's <quote>make menuconfig</quote> process.</para></sect4>
  56. <sect4><title>libform, libform_g</title>
  57. <para>libform is used to implement forms in ncurses.</para></sect4>
  58. <sect4><title>libmenu, libmenu_g</title>
  59. <para>libmenu is used to implement menus in ncurses.</para></sect4>
  60. <sect4><title>libpanel, libpanel_g</title>
  61. <para>libpanel is used to implement panels in ncurses.</para></sect4>
  62. </sect3>
  63. </sect2>