DIRECTORY
	MStream USING [Handle],
	Window USING [Handle];
	
UnixDefs: DEFINITIONS = {

  numOpenFiles: INTEGER = 10;
  handleType: TYPE = {unused, window, stream};
  fileInfo: TYPE = RECORD [
      type: handleType,
      streamHandle: MStream.Handle,
      windowHandle: Window.Handle ];

  openFiles: ARRAY [0..numOpenFiles) OF fileInfo;
  ttyWindow: Window.Handle;

  GetArgs: PROCEDURE [argc: LONG POINTER TO LONG INTEGER,
    argv: LONG POINTER TO LONG POINTER TO LONG POINTER TO INTEGER];
  
  }.