1Exec : module { 2 PATH : con "/dis/acme/exec.dis"; 3 4 snarfbuf : ref Bufferm->Buffer; 5 6 init : fn(mods : ref Dat->Mods); 7 8 fontx : fn(et : ref Textm->Text, t : ref Textm->Text, argt : ref Textm->Text, arg : string, narg : int); 9 get : fn(et, t, argt : ref Textm->Text, flag1 : int, arg : string, narg : int); 10 put : fn(et, argt : ref Textm->Text, arg : string, narg : int); 11 cut : fn(et, t : ref Textm->Text, flag1, flag2 : int); 12 paste : fn(et, t : ref Textm->Text, flag1 : int, flag2: int); 13 14 getarg : fn(t : ref Textm->Text, m : int, n : int) : (string, string, int); 15 execute : fn(t : ref Textm->Text, aq0, aq1, external : int, argt : ref Textm->Text); 16 run : fn(w : ref Windowm->Window, s : string, rdir : string, ndir : int, newns : int, argaddr : string, arg : string, ise: int); 17 undo: fn(t: ref Textm->Text, flag: int); 18 putfile: fn(f: ref Filem->File, q0: int, q1: int, r: string); 19};