Contents | < Browse | Browse >

>> Go Back to GccGuide. <<

* Menu:

* Introduction   What is termcap?  Why this manual?
* Library      The termcap library functions.
* Data Base    What terminal descriptions in `/etc/termcap' look like.
* Capabilities   Definitions of the individual terminal capabilities:
                 how to write them in descriptions, and how to use
                 their values to do display updating.
* Summary      Brief table of capability names and their meanings.
* Var Index    Index of C functions and variables.
* Cap Index    Index of termcap capabilities.
* Index        Concept index.

 -- The Detailed Node Listing --

The Termcap Library

* Preparation   Preparing to use the termcap library.
* Find         Finding the description of the terminal being used.
* Interrogate   Interrogating the description for particular capabilities.
* Initialize   Initialization for output using termcap.
* Padding      Outputting padding.
* Parameters   Encoding parameters such as cursor positions.

Padding

* Why Pad      Explanation of padding.
* Not Enough   When there is not enough padding.
* Describe Padding   The data base says how much padding a terminal needs.
* Output Padding     Using `tputs' to output the needed padding.

Filling In Parameters

* Encode Parameters   The language for encoding parameters.
* Using Parameters    Outputting a string command with parameters.

Sending Display Commands with Parameters

* tparam       The general case, for GNU termcap only.
* tgoto        The special case of cursor motion.

The Format of the Data Base

* Format       Overall format of a terminal description.
* Capability Format   Format of capabilities within a description.
* Naming       Naming conventions for terminal types.
* Inheriting   Inheriting part of a description from
             a related terminal type.
* Changing     When changes in the data base take effect.

Definitions of the Terminal Capabilities

* Basic        Basic characteristics.
* Screen Size   Screen size, and what happens when it changes.
* Cursor Motion   Various ways to move the cursor.
* Wrapping     What happens if you write a character in the last column.
* Scrolling    Pushing text up and down on the screen.
* Windows      Limiting the part of the window that output affects.
* Clearing     Erasing one or many lines.
* Insdel Line   Making new blank lines in mid-screen; deleting lines.
* Insdel Char   Inserting and deleting characters within a line.
* Standout     Highlighting some of the text.
* Underlining   Underlining some of the text.
* Cursor Visibility   Making the cursor more or less easy to spot.
* Bell         Attracts user's attention; not localized on the screen.
* Keypad       Recognizing when function keys or arrows are typed.
* Meta Key     META acts like an extra shift key.
* Initialization   Commands used to initialize or reset the terminal.
* Pad Specs    Info for the kernel on how much padding is needed.
* Status Line   A status line displays "background" information.
* Half-Line    Moving by half-lines, for superscripts and subscripts.
* Printer      Controlling auxiliary printers of display terminals.