RFC 336 (rfc336) - Page 2 of 2
Level 0 Graphic Input Protocol
Alternative Format: Original Text Document
NIC 9929
NWG/RFC# 336
Level 0 Graphic Input Protocol
Count is an integer number indicating the number of
characters (bytes) which follow.
Text String is a string of "Count" bytes of characters
in network ASCII.
Position Input
Simple position data will be conveyed in the
following format:
POSIT : DEVICE : COUNT : x : y
POSIT is a protocol code indicating that this string
contains position data. For the present this code is
defined to be 2.
DEVICE is a code indicating the input device on which
this data was generated. The codes are as defined
above.
COUNT is an integer number indicating the number of
bytes of data which follow. This includes data for
both x and y coordinates. Thus, the number of bytes of
x coordinate data is COUNT divided by 2. At level 0,
COUNT should always be 4, since at this level all
coordinates are expressed in 2 bytes of data.
x and y coordinate data are represented as signed
fractions in the same fashion that position data is
represented in the Level 0 graphic output protocol.
It should be emphasized that input data from a level 0
graphics user which is not in a format described above should
be sent on a different link than the graphics input link.
This may be desirable for certain applications to avoid the
overhead of the protocol.
[ This RFC was put into machine readable form for entry ]
[ into the online RFC archives by BBN Corp. under the ]
[ direction of Alex McKenzie. 12/96 ]