1 | <sect2>
|
---|
2 | <title>Contents</title>
|
---|
3 |
|
---|
4 | <para>The Ncurses package contains the ncurses, panel, menu and form
|
---|
5 | libraries. It also contains the clear, infocmp, tic, toe, tput and tset
|
---|
6 | programs.</para>
|
---|
7 |
|
---|
8 | </sect2>
|
---|
9 |
|
---|
10 | <sect2><title>Description</title>
|
---|
11 |
|
---|
12 | <sect3><title>The libraries</title>
|
---|
13 | <para>The libraries that make up the Ncurses library are used to display text
|
---|
14 | (often in a fancy way) on the screen. An example where ncurses is used
|
---|
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
|
---|
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>
|
---|
23 |
|
---|
24 | <sect3><title>Infocmp</title>
|
---|
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>
|
---|
30 |
|
---|
31 | <sect3><title>Tic</title>
|
---|
32 | <para>Tic is the terminfo entry-description compiler. The program translates a
|
---|
33 | terminfo file from source format into the binary format for use with the
|
---|
34 | ncurses library routines. Terminfo files contain information about the
|
---|
35 | capabilities of a terminal.</para></sect3>
|
---|
36 |
|
---|
37 | <sect3><title>toe</title>
|
---|
38 | <para>The toe program lists all available terminal types by primary name with
|
---|
39 | descriptions.</para></sect3>
|
---|
40 |
|
---|
41 | <sect3><title>tput</title>
|
---|
42 | <para>The tput program uses the terminfo database to make the values of
|
---|
43 | terminal-dependent capabilities and information available to the shell,
|
---|
44 | to initialize or reset the terminal, or return the long name of the
|
---|
45 | requested terminal type.</para></sect3>
|
---|
46 |
|
---|
47 | <sect3><title>tset</title>
|
---|
48 | <para>The Tset program initializes terminals so they can be used, but it's not
|
---|
49 | widely used anymore. It's provided for 4.4BSD compatibility.</para></sect3>
|
---|
50 |
|
---|
51 | </sect2>
|
---|
52 |
|
---|