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
|
|
|
|
2018-09-12 00:51:47 -07:00
|
|
|
(** Basic interface to the terminfo database
|
|
|
|
|
|
|
|
{b Warning:} this module is unstable and part of
|
2018-09-12 06:36:40 -07:00
|
|
|
{{!Compiler_libs}compiler-libs}.
|
2018-09-12 00:51:47 -07:00
|
|
|
|
|
|
|
*)
|
1995-05-04 03:15:53 -07:00
|
|
|
|
1998-09-02 11:21:48 -07:00
|
|
|
type status =
|
|
|
|
| Uninitialised
|
|
|
|
| Bad_term
|
2017-11-26 06:49:31 -08:00
|
|
|
| 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
|