ncurses-desc.xml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <sect2>
  2. <title>Contents</title>
  3. <para>
  4. The Ncurses package contains the ncurses, panel, menu and form
  5. libraries. It also contains the tic, infocmp, clear, tput, toe and tset
  6. programs.
  7. </para>
  8. </sect2>
  9. <sect2><title>Description</title>
  10. <sect3><title>The libraries</title>
  11. <para>
  12. The libraries that make up the Ncurses library are used to display text
  13. (often in a fancy way) on the screen. An example where ncurses is used
  14. is in the kernel's <quote>make menuconfig</quote> process. The libraries
  15. contain routines to create panels, menu's, form and general text display
  16. routines.
  17. </para>
  18. </sect3>
  19. <sect3><title>Tic</title>
  20. <para>
  21. Tic is the terminfo entry-description compiler. The program translates a
  22. terminfo file from source format into the binary format for use with the
  23. ncurses library routines. Terminfo files contain information about the
  24. capabilities of a terminal.
  25. </para>
  26. </sect3>
  27. <sect3><title>Infocmp</title>
  28. <para>
  29. The infocmp program can be used to compare a binary terminfo entry with
  30. other
  31. terminfo entries, rewrite a terminfo description to take advantage of
  32. the
  33. use= terminfo field, or print out a terminfo description from the
  34. binary
  35. file (term) in a variety of formats (the opposite of what tic does).
  36. </para>
  37. </sect3>
  38. <sect3><title>clear</title>
  39. <para>
  40. The clear program clears the screen if this is possible. It looks in
  41. the environment for the terminal type and then in the terminfo database
  42. to
  43. figure out how to clear the screen.
  44. </para>
  45. </sect3>
  46. <sect3><title>tput</title>
  47. <para>
  48. The tput program uses the terminfo database to make the values of
  49. terminal-dependent capabilities and information available to the shell,
  50. to
  51. initialize or reset the terminal, or return the long name of the
  52. requested
  53. terminal type.
  54. </para>
  55. </sect3>
  56. <sect3><title>toe</title>
  57. <para>
  58. The toe program lists all available terminal types by primary name with
  59. descriptions.
  60. </para>
  61. </sect3>
  62. <sect3><title>tset</title>
  63. <para>
  64. The Tset program initializes terminals so they can be used, but it's not
  65. widely used anymore. It's provided for 4.4BSD compatibility.
  66. </para>
  67. </sect3>
  68. </sect2>