ncurses-desc.xml 2.0 KB

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