getcursor(3G) getcursor(3G)
NAME
getcursor - returns the cursor characteristics
SPECIFICATION
C getcursor(index, color, wtm, b)
short *index;
Colorindex *color, *wtm;
Boolean *b;
FORTRAN subroutine getcur(index, color, wtm, b)
integer*2 index, color, wtm
logical b
DESCRIPTION
getcursor returns two values: the cursor glyph (index) and a
boolean value (b) that indicates whether the cursor is
visible. (Note that in future releases the cursor will
always be visible.)
Note: index, color, wtm, and b are the addresses of
locations where the cursor variables are returned. color and
wtm are included for compatibility with previous systems;
they return no useful information in the current system.
The default is the glyph index 0 in the cursor table,
displayed in red and automatically updated on each vertical
retrace.
SEE ALSO
defcursor, setcursor
Programming Guide, Section 6.5, Cursors
NOTE
This routine is available only in immediate mode.
Page 1 (printed 8/20/87)