2016-02-18 07:11:59 -08:00
|
|
|
(**************************************************************************)
|
|
|
|
(* *)
|
|
|
|
(* OCaml *)
|
|
|
|
(* *)
|
|
|
|
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 1996 Institut National de Recherche en Informatique et *)
|
|
|
|
(* en Automatique. *)
|
|
|
|
(* *)
|
|
|
|
(* All rights reserved. This file is distributed under the terms of *)
|
|
|
|
(* the GNU Lesser General Public License version 2.1, with the *)
|
|
|
|
(* special exception on linking described in the file LICENSE. *)
|
|
|
|
(* *)
|
|
|
|
(**************************************************************************)
|
1995-08-09 08:06:35 -07:00
|
|
|
|
1995-05-04 03:15:53 -07:00
|
|
|
(* Basic interface to the terminfo database *)
|
|
|
|
|
1998-09-02 11:21:48 -07:00
|
|
|
type status =
|
|
|
|
| Uninitialised
|
|
|
|
| Bad_term
|
|
|
|
| Good_term of int
|
|
|
|
;;
|
2004-01-01 08:42:43 -08:00
|
|
|
external setup : out_channel -> status = "caml_terminfo_setup";;
|
|
|
|
external backup : int -> unit = "caml_terminfo_backup";;
|
|
|
|
external standout : bool -> unit = "caml_terminfo_standout";;
|
|
|
|
external resume : int -> unit = "caml_terminfo_resume";;
|