The Workstation Model
The workstation model is composed of one or more adaptation units, and a workstation monitor, which we will call the executive. Each will be described in turn below. In addition, the model includes input and output handlers, and an underlying multi-tasking operating system of unspecified architecture.
2.3.1 The Adaptation Unit
An adaptation unit embodies an instance of a virtual terminal, and since the workstation model postulates possibly many different such instances per physical workstation, then potentially many adaptation units will be co-located at a workstation.
The adaptation unit can be viewed as the workstation agent which provides the mapping between instance workspace and device workspace. To define this mapping, we introduce the notion of a viewport as a rectangular area of the physical screen allocated for the viewing of a virtual terminal instance. An adaptation unit has the task of mapping the totality of the instance workspace onto the viewport, a mapping which is a device-specific concern totally removed from the domain of discourse of the virtual terminal. Thus the position of the viewport determines the relocation of the selected data structure elements on the viewing unit, and the viewport dimensions a (potential) scaling transformation.
The adaptation unit also produces virtual input to the virtual terminal by translating the user input into virtual terminal commands. It implements the service side of the interface to the virtual terminal.
2.3.2 The Executive
This conceptual entity performs the task and resource management required to create and destroy virtual terminal instances, and to map these virtual terminal instances to the screen viewports.
It must provide at least a minimal user command interface so that its tools may be accessed (one of them being the management of screen real estate).
Finally, the executive provides the mechanism for the end-user to switch viewport contexts through the use of some input device (e.g., function key, pointing or positioning device). Following a user interaction which indicates a change of context, the executive makes the newly selected virtual terminal instance the dedicated owner of the input devices.