ncurses-desc.xml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <sect2>
  2. <title>Contents</title>
  3. <para>The Ncurses package contains the ncurses, panel, menu and form
  4. libraries. It also contains the clear, infocmp, tic, toe, tput 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></sect3>
  14. <sect3><title>clear</title>
  15. <para>The clear program clears the screen if this is possible. It looks in
  16. the environment for the terminal type and then in the terminfo database
  17. to figure out how to clear the screen.</para></sect3>
  18. <sect3><title>infocmp</title>
  19. <para>The infocmp program can be used to compare a binary terminfo entry with
  20. other terminfo entries, rewrite a terminfo description to
  21. take advantage of the use= terminfo field, or print out a
  22. terminfo description from the binary file (term) in a variety of
  23. formats (the opposite of what tic does).</para></sect3>
  24. <sect3><title>tic</title>
  25. <para>Tic is the terminfo entry-description compiler. The program translates a
  26. terminfo file from source format into the binary format for use with the
  27. ncurses library routines. Terminfo files contain information about the
  28. capabilities of a terminal.</para></sect3>
  29. <sect3><title>toe</title>
  30. <para>The toe program lists all available terminal types by primary name with
  31. descriptions.</para></sect3>
  32. <sect3><title>tput</title>
  33. <para>The tput program uses the terminfo database to make the values of
  34. terminal-dependent capabilities and information available to the shell,
  35. to initialize or reset the terminal, or return the long name of the
  36. requested terminal type.</para></sect3>
  37. <sect3><title>tset</title>
  38. <para>The Tset program initializes terminals so they can be used, but it's not
  39. widely used anymore. It's provided for 4.4BSD compatibility.</para></sect3>
  40. </sect2>