Oberon || Library || Module Index || Search Engine || Definition || Module
PROCEDURE OpenByName(VAR s: Streams.Stream; devicename, tiname: ARRAY OF CHAR; errors: RelatedEvents.Object): BOOLEAN;
PROCEDURE Open(VAR s: Streams.Stream; instream, outstream: Streams.Stream; tiname: ARRAY OF CHAR; errors: RelatedEvents.Object): BOOLEAN;
OpenByName opens the terminal given by devicename. The device must not be opened already. tiname is the name of the associated terminfo file. Both names must be 0X-terminated strings. In case of an empty terminfo name the name given by the environment variable TERM is used. The name of the device must not be an empty string.
UnixTerminals connects Terminals.console to the controlling terminal of the process, i.e. the terminal the user logged in.
Before exiting the program all opened terminals must be closed explicitely by the user. As an alternative Process.Terminate can be called.
Oberon || Library || Module Index || Search Engine || Definition || Module