[bdc08c1] | 1 | <sect2><title>Contents</title>
|
---|
[6370fa6] | 2 |
|
---|
[bdc08c1] | 3 | <sect3><title>Program Files</title>
|
---|
| 4 | <para>captoinfo (link to tic), clear, infocmp, infotocap (link to tic),
|
---|
| 5 | reset (link to tset), tack, tic, toe, tput and tset.</para></sect3>
|
---|
[6370fa6] | 6 |
|
---|
[bdc08c1] | 7 | <sect3><title>Descriptions</title>
|
---|
[6370fa6] | 8 |
|
---|
[bdc08c1] | 9 | <sect4><title>captoinfo</title>
|
---|
| 10 | <para>captoinfo converts a termcap description into a terminfo
|
---|
| 11 | description.</para></sect4>
|
---|
[53ad30a] | 12 |
|
---|
[bdc08c1] | 13 | <sect4><title>clear</title>
|
---|
| 14 | <para>clear clears the screen if this is possible. It looks in
|
---|
[53ad30a] | 15 | the environment for the terminal type and then in the terminfo database
|
---|
[bdc08c1] | 16 | to figure out how to clear the screen.</para></sect4>
|
---|
[6370fa6] | 17 |
|
---|
[bdc08c1] | 18 | <sect4><title>infocmp</title>
|
---|
| 19 | <para>infocmp can be used to compare a binary terminfo entry with
|
---|
[53ad30a] | 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
|
---|
[bdc08c1] | 23 | formats (the opposite of what tic does).</para></sect4>
|
---|
| 24 |
|
---|
| 25 | <sect4><title>infotocap</title>
|
---|
| 26 | <para>info to cap converts a terminfo description into a termcap
|
---|
| 27 | description.</para></sect4>
|
---|
| 28 |
|
---|
| 29 | <sect4><title>reset</title>
|
---|
| 30 | <para>reset sets cooked and echo modes, turns off cbreak and raw modes,
|
---|
| 31 | turns on new-line translation and resets any unset special characters to
|
---|
| 32 | their default values before doing terminal initialization the same way
|
---|
| 33 | as tset.</para></sect4>
|
---|
[6370fa6] | 34 |
|
---|
[bdc08c1] | 35 | <sect4><title>tack</title>
|
---|
| 36 | <para>tack is the terminfo action checker.</para></sect4>
|
---|
| 37 |
|
---|
| 38 | <sect4><title>tic</title>
|
---|
| 39 | <para>tic is the terminfo entry-description compiler. The program translates a
|
---|
[6370fa6] | 40 | terminfo file from source format into the binary format for use with the
|
---|
| 41 | ncurses library routines. Terminfo files contain information about the
|
---|
[bdc08c1] | 42 | capabilities of a terminal.</para></sect4>
|
---|
[6370fa6] | 43 |
|
---|
[bdc08c1] | 44 | <sect4><title>toe</title>
|
---|
| 45 | <para>toe lists all available terminal types by primary name with
|
---|
| 46 | descriptions.</para></sect4>
|
---|
[6370fa6] | 47 |
|
---|
[bdc08c1] | 48 | <sect4><title>tput</title>
|
---|
| 49 | <para>tput uses the terminfo database to make the values of
|
---|
| 50 | terminal-dependent capabilities and information available to the shell,
|
---|
[53ad30a] | 51 | to initialize or reset the terminal, or return the long name of the
|
---|
[bdc08c1] | 52 | requested terminal type.</para></sect4>
|
---|
[6370fa6] | 53 |
|
---|
[bdc08c1] | 54 | <sect4><title>tset</title>
|
---|
| 55 | <para>tset initializes terminals so they can be used, but it's not
|
---|
| 56 | widely used anymore. It's provided for 4.4BSD compatibility.</para></sect4>
|
---|
[6370fa6] | 57 |
|
---|
[bdc08c1] | 58 | </sect3>
|
---|
| 59 |
|
---|
| 60 | <sect3><title>Library Files</title>
|
---|
| 61 | <para>libcurses.[a,so] (link to libncurses.[a,so]), libform.[a,so],
|
---|
| 62 | libform_g.a, libmenu.[a,so], libmenu_g.a, libncurses++.a,
|
---|
| 63 | libncurses.[a,so], libncurses_g.a, libpanel.[a,so] and
|
---|
| 64 | libpanel_g.a</para>
|
---|
[6370fa6] | 65 |
|
---|
[c5ba0d6] | 66 | <sect4><title>libcurses, libncurses++, libncurses, libncurses_g</title>
|
---|
[bdc08c1] | 67 | <para>The libraries that make up the Ncurses library are used to display
|
---|
| 68 | text (often in a fancy way) on the screen. An example where ncurses is used
|
---|
| 69 | is in the kernel's <quote>make menuconfig</quote> process. The
|
---|
| 70 | libncurses libraries are the base of the system.</para></sect4>
|
---|
| 71 |
|
---|
[c5ba0d6] | 72 | <sect4><title>libform, libform_g</title>
|
---|
[bdc08c1] | 73 | <para>libform is used to implement forms in ncurses.</para></sect4>
|
---|
| 74 |
|
---|
[c5ba0d6] | 75 | <sect4><title>libmenu, libmenu_g</title>
|
---|
[bdc08c1] | 76 | <para>libmenu is used to implement menus in ncurses.</para></sect4>
|
---|
| 77 |
|
---|
[c5ba0d6] | 78 | <sect4><title>libpanel, libpanel_g</title>
|
---|
[bdc08c1] | 79 | <para>libpanel is used to implement panels in ncurses.</para></sect4>
|
---|
| 80 |
|
---|
| 81 | </sect3>
|
---|
| 82 |
|
---|
| 83 | </sect2>
|
---|