Interaction with the Displayed Picture
The problem of interaction with the displayed picture has yet to be addressed, so this will be an attempt to elicit some more discussion in this area. The use of a keyboard or function keys poses no problem in that both can be handled as a standard message from the graphics terminal. The use of devices that interact with the picture or the screen such as light pens, mice, joysticks, or tablets presents a different and more complex problem. This problem is the standard one of making an association between the point selected and some meaningful entity such as a list or a primitive. This association should be made at the receiving host since the NGDS has been changed in unknown ways.
To allow the transmitting host to identify the object pointed at, the stack of suspended lists and the current value of the NGDLP will qualify the object to any level in a hierarchical structure. In addition, normalized x,y coordinates should be returned, as well as a character displacement if a string was pointed at. This structure will serve a light pen device very well since the light pen mechanism allows the determination of the currently executing primitive. Other devices interact with the picture in an asynchronous fashion and the association of an x,y pair to a structure is a more difficult problem. This may require that the host generating the graphic data stream be responsible for making that association. A further complication arises when it is desired to use a light pen in an area where no beam motion occurs, then some directive to periodically sweep the screen and "find" the pen must be provided. This might be a sub-list which is executed periodically for this function.