home *** CD-ROM | disk | FTP | other *** search
/ Jason Aller Floppy Collection / 202.img / SCO386N2.TD0 / usr / include / sys / crtctl.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-05-18  |  2.3 KB  |  66 lines

  1. /*
  2.  *    @(#) crtctl.h 2.1 88/05/18 
  3.  *
  4.  *    Copyright (C) The Santa Cruz Operation, 1984, 1985, 1986, 1987.
  5.  *    Copyright (C) Microsoft Corporation, 1984, 1985, 1986, 1987.
  6.  *    This Module contains Proprietary Information of
  7.  *    The Santa Cruz Operation, Microsoft Corporation
  8.  *    and AT&T, and should be treated as Confidential.
  9.  */
  10.  
  11. /*
  12.     Define the cursor control codes
  13. */
  14. #define ESC    033    /* Escape for command */
  15.  
  16. /* Commands */
  17. #define CUP    0101    /* Cursor up */
  18. #define CDN    0102    /* Cursor down */
  19. #define CRI    0103    /* Cursor right */
  20. #define CLE    0104    /* Cursor left */
  21. #define NL    0134    /* Terminal newline function */
  22. #define HOME    0105    /* Cursor home */
  23. #define VHOME    0106    /* cursor home to variable portion */
  24. #define LCA    0107    /* Load cursor, followed by (x,y) in (col,row) */
  25. #define CRTN    0133    /* Return cursor to beginning of line */
  26.  
  27. #define STB    0110    /* Start blink */
  28. #define SPB    0111    /* Stop blink */
  29. #define CS    0112    /* Clear Screen */
  30. #define CM    0135    /* Clear Memory */
  31. #define EEOL    0113    /* Erase to end of line */
  32. #define EEOP    0114    /* Erase to end of page */
  33. #define DC    0115    /* Delete character */
  34. #define DL    0116    /* Delete line */
  35. #define IC    0117    /* Insert character */
  36. #define IL    0120    /* Insert line */
  37. #define KBL    0121    /* keyboard lock */
  38. #define KBU    0122    /* keyboard unlock */
  39. #define ATAB    0123    /* Set column of tabs */
  40. #define STAB    0124    /* Set single tab */
  41. #define CTAB    0125    /* Clear Tabs */
  42. #define USCRL    0126    /* Scroll up one line */
  43. #define DSCRL    0127    /* Scroll down one line */
  44. #define ASEG    0130    /* Advance segment */
  45. #define BPRT    0131    /* Begin protect */
  46. #define EPRT    0132    /* End   protect */
  47.  
  48. #define SVSCN    0136    /* Define variable portion of screen (OS only) */
  49. #define UVSCN    0137    /* Scroll Up variable portion of screen */
  50. #define DVSCN    0140    /* Scroll Down variable portion of screen */
  51.  
  52. #define SVID    0141    /* Set Video Attributes */
  53. #define CVID    0142    /* Clear Video Attributes */
  54. #define DVID    0143    /* Define Video Attributes */
  55. /* Video Attribute Definitions */
  56. #define VID_NORM    000    /* normal */
  57. #define VID_UL        001    /* underline */
  58. #define VID_BLNK    002    /* blink */
  59. #define VID_REV    004    /* reverse video */
  60. #define VID_DIM    010    /* dim intensity */
  61. #define VID_BOLD    020    /* bright intensity */
  62. #define VID_OFF    040    /* blank out field */
  63.  
  64. #define BRK    000    /* transmit break */
  65. #define HIQ    001    /* Put remainder of write on high priority queue. */
  66.