1 (*************************************************************************)
3 (* Objective Caml LablTk library *)
5 (* Jacques Garrigue, Kyoto University RIMS *)
7 (* Copyright 1999 Institut National de Recherche en Informatique et *)
8 (* en Automatique and Kyoto University. All rights reserved. *)
9 (* This file is distributed under the terms of the GNU Library *)
10 (* General Public License, with the special exception on linking *)
11 (* described in file ../../../LICENSE. *)
13 (*************************************************************************)
15 (* $Id: shell.mli 5044 2002-07-25 22:51:47Z garrigue $ *)
20 val mutable count : int
21 val mutable history : 'a list
22 method add : 'a -> unit
31 textw:Widget.text Widget.widget -> prog:string ->
32 args:string array -> env:string array -> history:string history ->
36 method interrupt : unit
37 method insert : string -> unit
38 method send : string -> unit
39 method history : [`Next|`Previous] -> unit
42 val kill_all : unit -> unit
43 val get_all : unit -> (string * shell) list
44 val warnings : string ref
46 val f : prog:string -> title:string -> unit