include "sys.m"; sys: Sys; NEWFD, Qid, FD, create, read, fstat, fildes, pctl, sleep, stat, QTDIR, OREAD, OWRITE, OTRUNC, print, open, dup, chdir, pipe, fprint, seek, write, tokenize, NEWPGRP, sprint: import sys; include "draw.m"; include "arg.m"; arg: Arg; include "env.m"; env: Env; getenv, setenv: import env; include "readdir.m"; readdir: Readdir; NAME: import readdir; include "names.m"; names: Names; include "daytime.m"; daytime: Daytime; now: import daytime; include "workdir.m"; workdir: Workdir; include "string.m"; str: String; splitl: import str; include "error.m"; err: Error; checkload, stderr, error, kill: import err; include "sh.m"; sh: Sh; system: import sh; include "panel.m"; panels: Panels; Panel: import panels; include "io.m"; io: Io; readfile: import io; include "tblks.m"; tblks: Tblks; strchr, Blks: import tblks; include "xedit.m"; oxedit: Oxedit; include "xex.m"; oxex: Oxex; include "samlog.m"; samlog: Samlog; include "sam.m"; sam: Sam; include "samcmd.m"; samcmd: Samcmd; include "regx.m"; regx: Regx; include "xdat.m"; dat: Oxdat; initmods(m: Oxdat->Mods) { sys = m.sys; env = m.env; daytime = m.daytime; err = m.err; io = m.io; names = m.names; oxedit = m.oxedit; oxex = m.oxex; panels = m.panels; readdir = m.readdir; regx = m.regx; sam = m.sam; samcmd = m.samcmd; samlog = m.samlog; sh = m.sh; str = m.str; tblks = m.tblks; workdir = m.workdir; }