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