Skip to main content

Interaction with the Displayed Picture

The problem of interacting with the displayed picture has yet to be addressed since this is a more complicated area. Interaction may occur in two fashions: the first, and the easiest to handle, are those kinds of events which are separate from the picture itself. This encompasses key boards and function key types of devices. These can be handled as standard messages from the graphics device to the serving host. The second class of interactions is with the picture itself. This is more difficult because of the problem of associating the point selected with some meaningful entity such as a list. This association can probably only be made by the serving host since the using host, or a Form Machine, may have transformed the NGDS in unknown ways, and the NGDS may no longer exist at the using host's site.

There are essentially two classes of devices that can interact with the picture. The first class is synchronous devices, ones who only cause some attention to occur while a given display item is being executed. Light pens are synchronous devices. Asynchronous devices are those which can interact regardless of which, or even when no, display item is being executed. Asynchronous devices make associations more difficult since no relationship can be easily inferred as they can for synchronous devices.

The NGES is created for the interaction with the picture. For synchronous devices the current values for the list name, origin, and NGLP, as well as the contents of the NGES provides a hierarchical structure where associations can be made. For asynchronous devices, the structure is probably not as necessary as the name and coordinates within the image space in which the interaction occurred. It will be necessary for the using host to understand which type of devices are available and to supply proper type of interaction information to the serving host.

The form of the interaction information for synchronous devices follows:

INTERACTION (type, cia, cln, cor, clp, n, l1, or1, lp1, ...ln, orn, lpn)

Where

  • type describes the interaction type 0 = synchronous
  • cia current image area name
  • cln current list name
  • cor current origin value
  • clp current NGLP value
  • n number of entries in NGES, higher value of n is older entry
  • li list name of the i th entry
  • ori origin of the i th entry
  • lpi NGLP of the i th entry

The form for asynchronous interaction is:

INTERACTION (type, cia, iax, iay, sx, sy)

Where

  • type = 1 for asynchronous interactions
  • cia current image name
  • iax image area x coordinate
  • iay image area y coordinate
  • sx,sy screen x,y coordinates
NETWORK  |    Using Host
| +-------+
| | |
| | NGDL | +--------+ +-------+
+--------+ | |--------->| | | |
| |------>| | | NGLI |------>| NGS |
| NGDS | +-------+ | | | |
| | +-------+ | | | |
| |------>| |--------->| | +-------+
+--------+ |IMAGE | +--------+
| |AREA | ^
| |DEFINI-| |
| |TIONS | V
| +-------+ *--------+
| | NGLES |
| | & |
| | NGLP |
| +--------+

[This RFC was put into machine readable form for entry] [into the online RFC archives by Kelly Tardif, Viagénie 12/1999]