t3x.org / t3x / t3x-manual / 3B2.html
 
T3X - A Minimum Procedural Language
Version 8.1.5, Online Edition
Copyright(C) 1996-2004
Nils M Holm
 
Previous:
3.11.1 TTYCTL Class Usage
TOC | Index | Back Next:
3.11.3 CLEAR

3.11.2 INIT

TTY.INIT() ! => 0

Initialize the TTY control structures. This routine must be called before any other procedures of this class can be used. It performs the following steps (depending on the used operating system, some of these steps may be skipped):

INIT may fail for any of the following reasons:

In any of the above cases, an appropriate message will be printed and the calling program will be terminated.

On Plan 9 systems, this is basically a null operation. A VT102 compatible terminal is assumed. TTYCtl programs must be run under the vt(1) emulator. 24x80 characters and raw mode must be selected manually using the button-3 menu of vt(1).

See also: MODE

Previous:
3.11.1 TTYCTL Class Usage
TOC | Index | Back Next:
3.11.3 CLEAR