getcursor(3) — Unix Programmer’s Manual
NAME
getcursor - return the cursor characteristics
SYNOPSIS
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
Pascal
procedure getcursor (var index: Short;
var color, wtm: Colorindex; var b: Boolean);
DESCRIPTION
Getcursor returns the index of the cursor glyph, the color and the writemask associated with the cursor, and a boolean indicating whether the cursor is automatically displayed and updated by the system. The arguments to the command are addresses of four locations where the four cursor attributes are to be returned. The default is the glyph at location 0 in the cursor table, displayed with the color 1, drawn in the first available plane, and automatically updated and displayed on each vertical retrace. This command is undefined in RGB mode.
SEE ALSO
defcursor, setcursor
NOTE
This command can only be used in immediate mode.
Silicon Graphics — R1c