home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0010 - 0019 / ibm0010-0019 / ibm0010.tar / ibm0010 / UNIX3862.ZIP / U386-06.ZIP / U386-6.TD0 / usr / include / sys / crtctl.h < prev    next >
Encoding:
Text File  |  1988-06-26  |  2.3 KB  |  66 lines

  1. /*    Copyright (c) 1984, 1986, 1987, 1988 AT&T    */
  2. /*      All Rights Reserved      */
  3.  
  4. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T    */
  5. /*    The copyright notice above does not evidence any       */
  6. /*    actual or intended publication of such source code.    */
  7.  
  8.  
  9. #ident    "@(#)head.sys:crtctl.h    1.3"
  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.