The VTM Model
This section describes a virtual terminal management (VTM) model whose architecture not only derives from a quest for device-independent, terminal-oriented communications, but more importantly from a desire to provide effective human-machine interfaces.
The VTM architecture is a multi-user structure which spans several building blocks. The underlying foundation to this structure is provided by the cooperating virtual terminals. Under the VTM model, these cooperating virtual terminals are viewed as device abstractions, all with a common architecture, exchanging virtual terminal protocol items to update each other's view of the world. Resting on this foundation lie the adaptation units. Associated with a single end-user, an adaptation unit provides the step transformation between user and virtual domains. In a sense the adaptation unit is also a virtual terminal, although one which is much closer to the architecture of the end-user. Finally, on top of this supporting structure are the end-users, the application and human processes, all interacting towards a common goal.
Before embarking on a description of the VTM model components, we present the set of capabilities the VTM model provides its end-users, either human or application. After all, the motivation for the model and its underlying concepts stems from our desire to provide productive user environments.
HUMAN <---> WORKSTATION
-
Multiplexing the workstation physical display both in time and space.
The workstation assigns to each user conversation a logical terminal with a well-distinguished logical display. Under the user control, the workstation maps these logical displays on non-overlapping areas of the physical display, providing a dedicated workspace between user and correspondents. Limited only by the area of the display, many logical displays could be mapped at one time, each providing display updates when so required. Since the area of the display is a scarce resource, not all logical displays need be mapped at the same time. Therefore, the workstation may roll-out and roll-in selected displays under the user control, thereby also multiplexing the physical display in time.
-
Multiplexing the workstation input devices in time.
The input devices always map to a single user conversation (i.e., a single logical terminal). However, the user can select a new logical terminal by some well-defined interaction (e.g., depressing a function key, using a pointing device, and such), effectively switching the ownership of the input tools.
-
Concurrent multi-mode use of the workstation.
The capabilities of the workstation limit the scope and character of the individual conversations. If the workstation supports rubout processing (i.e., erase operations on lines and characters), then the logical terminals can be independent, scrolling "terminals," some page-oriented, others line-oriented. If the architecture of the workstation supports graphics objects as primitive objects then so can the individual logical terminals. As a consequence, while some logical terminal displays may be dedicated to alphanumeric output, others may include raster graphics and imaging data together with positioned text.
-
The sharing of a single logical terminal among several users.
Several end-users may link to a single logical terminal. All linked parties are viewed by the shared "device" as both input sources and output sinks. As a consequence this device sharing need not be limited only to the sharing of device output. In general, each linked party may have full read and write access to the logical terminal, if it so desires.
-
Selective viewing on a logical terminal display.
In the user's view, a logical terminal display is a user-specified window on a potentially larger structure, the "device" display. This window provides the "peephole" through which the device display is viewed. The portion of the device display mapped on this window is not limited to its "present contents." Under the user control, the workstation may invoke the viewing of past activity on a logical terminal display when the device display is I/O file-extended. Since the window mechanism is an integral part of the device architecture, it is available on all logical terminal displays. Furthermore, the viewing of past activity does not affect others sharing access to the device.
-
Discarding, suspending, and resuming the output of a logical terminal always under user control.
As part of the user interface, the workstation provides simple "keys" through which the user controls the output on a logical terminal display. These workstation "keys" need not be physical keys, but could be other input tools used for this purpose (e.g., analog dials, hit-sensitive areas on the physical display, and such). In any event, through the auspices of the workstation, the user's control requests translate into the proper commands to the "device" associated with the logical terminal.
APPLICATION <---> ADAPTATION UNIT
-
A logical view of real devices.
For each real terminal architecture, one canonical representation: a logical device.
-
For a particular logical device, several possible interaction paradigms.
Some logical devices are intrinsically half-duplex (e.g., a page-oriented logical device), some are full-duplex (e.g., communicating processes using a stream-oriented logical device), and some may be either half or full-duplex (e.g., a line-oriented logical device). Some full-duplex logical devices can provide no echoing, remote echoing, or local echoing. Those that interface with applications that support command completion (e.g., command-line interpreters) can shift the locus of echoing as a function of a dynamic break character set.
-
One application communicating with several logical devices.
As part of an application's model of interaction, an application may "own" several logical devices. For example, an editor could use a line-oriented logical device to gather top-level commands, and a page-oriented logical device to provide editing workspace.