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