getcpo(3G)
getcpo - returns the current character position
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME getcpo - returns the current character position FORTRAN 77 SPECIFICATION subroutine getcpo(ix, iy) integer*2 ix, iy PARAMETERS ix expects the variable into which to write the x coordinate of the current character position. iy expects the variable into which to write the y coordinate of the current character position. DESCRIPTION getcpos gets the current character position and writes it into the parameters. For purely historical reasons, the returned values are offset by the window origin; i.e. they are absolute screen coordinates. When the current character position is undefined, the action of this routine is undefined. SEE ALSO charst, cmov, getgpo NOTE This routine is available only in immediate mode.