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 >
Text File  |  1985-03-10  |  1KB  |  38 lines

  1. .in 10
  2. .rm 70
  3. .he "          SETCUR(3)
  4. .fo "          09/29/82
  5. NAME
  6. .br
  7. .ti +5
  8. setcur - set the cursor to coordinate position
  9. .sp
  10. SYNOPSIS
  11. .br
  12. .ti +5
  13. setcur(x,y)
  14. .br
  15. .ti +5
  16. int x, y;
  17. .sp
  18. DESCRIPTION
  19. .br
  20. .in +5
  21. SETCUR generates the appropriate code sequence to cause the
  22. cursor to be moved to the character position described by the
  23. parameters X and Y.
  24. This routine considers the display screen to occupy the first
  25. quadrant of the X,Y coordinate space.
  26. As such, cursor position 0,0 is located in the lower left corner
  27. of the display area.
  28. It should be noted that most terminals address the cursor in terms
  29. of a row and column address rather than an x,y position.
  30. The row,column addressing tends to place the display screen in the
  31. fourth quadrant and although this may be useful for text applications,
  32. it seems cumbersome for graphics applications.
  33. .sp
  34. .ti -5
  35. SEE ALSO
  36. .br
  37. libvt52(3),
  38. libo1(3)