home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_100
/
125_01
/
setcur.nro
< prev
next >
Wrap
Text File
|
1985-03-10
|
1KB
|
38 lines
.in 10
.rm 70
.he " SETCUR(3)
.fo " 09/29/82
NAME
.br
.ti +5
setcur - set the cursor to coordinate position
.sp
SYNOPSIS
.br
.ti +5
setcur(x,y)
.br
.ti +5
int x, y;
.sp
DESCRIPTION
.br
.in +5
SETCUR generates the appropriate code sequence to cause the
cursor to be moved to the character position described by the
parameters X and Y.
This routine considers the display screen to occupy the first
quadrant of the X,Y coordinate space.
As such, cursor position 0,0 is located in the lower left corner
of the display area.
It should be noted that most terminals address the cursor in terms
of a row and column address rather than an x,y position.
The row,column addressing tends to place the display screen in the
fourth quadrant and although this may be useful for text applications,
it seems cumbersome for graphics applications.
.sp
.ti -5
SEE ALSO
.br
libvt52(3),
libo1(3)