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