---
name: "Terminfo"
section: "3o"
platform: "linux"
package: "ocaml"
version: "5.5.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Terminfo"
---

# Terminfo(3o)

Basic interface to the terminfo database

## NAME

Terminfo - Basic interface to the terminfo database

## Module

Module   Terminfo

## Documentation

Module **Terminfo**\
  :  **sig end**

Basic interface to the terminfo database

Warning: this module is unstable and part of **Compiler\_libs** .

*type status* =\
  \| Uninitialised\
  \| Bad\_term\
  \| Good\_term

*val setup* :  **out\_channel -\> status**

*val num\_lines* :  **out\_channel -\> int**

*val backup* :  **out\_channel -\> int -\> unit**

*val standout* :  **out\_channel -\> bool -\> unit**

*val resume* :  **out\_channel -\> int -\> unit**
