The routines described in this chapter provide interactive cursor control. When supported by the terminal, the Tektronix Graphics Inputs (GIN), BITCURSOR or GETCURSOR, routines can be used. If the terminal has a VT100-compatible text mode, the routines CURMOTION, CURRECT, and CURBAND, can be used to simulate a GIN device. These routines use the VT100 keypad and cursor keys. They rely on a machine-dependent routine (INXTCHR) to read escape characters from the terminal. CURMOTION, CURRECT, and CURBAND return the internal screen "resolution" used in computing the location of the cursor. This may not correspond to the actual hardware resolution of the terminal screen.
The routine CURLOCATE provides a technique for placing a fixed "cursor mark" on the screen.
A program CURTEST is provided to test and evaluate these cursor routines.