1 DEFINITION MODULE Terminal;
3 Module: Input/Output to/from terminals
4 From: "Programming in Modula-2", 3rd, corrected edition, by N. Wirth
5 Version: $Id: Terminal.def,v 1.3 1994/06/24 12:50:16 ceriel Exp $
8 PROCEDURE Read(VAR ch : CHAR);
9 (* Read a character from the terminal and leave it in ch
12 PROCEDURE BusyRead(VAR ch : CHAR);
13 (* Read a character from the terminal and leave it in ch.
14 This is a non-blocking call. It returns 0C in ch if no
19 (* Causes the last character read to be returned again upon the
23 PROCEDURE Write(ch : CHAR);
24 (* Write character ch to the terminal.
31 PROCEDURE WriteString(s : ARRAY OF CHAR);
32 (* Write string s to the terminal.