home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 8.ddi / usr / include / sys / crtctl.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  2.5 KB  |  71 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10. #ifndef _SYS_CRTCTL_H
  11. #define _SYS_CRTCTL_H
  12.  
  13. #ident    "@(#)/usr/include/sys/crtctl.h.sl 1.1 4.0 12/08/90 16580 AT&T-USL"
  14. /*
  15.  *    Define the cursor control codes
  16.  */
  17. #define ESC    033    /* Escape for command */
  18.  
  19. /* Commands */
  20. #define CUP    0101    /* Cursor up */
  21. #define CDN    0102    /* Cursor down */
  22. #define CRI    0103    /* Cursor right */
  23. #define CLE    0104    /* Cursor left */
  24. #define NL    0134    /* Terminal newline function */
  25. #define HOME    0105    /* Cursor home */
  26. #define VHOME    0106    /* cursor home to variable portion */
  27. #define LCA    0107    /* Load cursor, followed by (x,y) in (col,row) */
  28. #define CRTN    0133    /* Return cursor to beginning of line */
  29.  
  30. #define STB    0110    /* Start blink */
  31. #define SPB    0111    /* Stop blink */
  32. #define CS    0112    /* Clear Screen */
  33. #define CM    0135    /* Clear Memory */
  34. #define EEOL    0113    /* Erase to end of line */
  35. #define EEOP    0114    /* Erase to end of page */
  36. #define DC    0115    /* Delete character */
  37. #define DL    0116    /* Delete line */
  38. #define IC    0117    /* Insert character */
  39. #define IL    0120    /* Insert line */
  40. #define KBL    0121    /* keyboard lock */
  41. #define KBU    0122    /* keyboard unlock */
  42. #define ATAB    0123    /* Set column of tabs */
  43. #define STAB    0124    /* Set single tab */
  44. #define CTAB    0125    /* Clear Tabs */
  45. #define USCRL    0126    /* Scroll up one line */
  46. #define DSCRL    0127    /* Scroll down one line */
  47. #define ASEG    0130    /* Advance segment */
  48. #define BPRT    0131    /* Begin protect */
  49. #define EPRT    0132    /* End   protect */
  50.  
  51. #define SVSCN    0136    /* Define variable portion of screen (OS only) */
  52. #define UVSCN    0137    /* Scroll Up variable portion of screen */
  53. #define DVSCN    0140    /* Scroll Down variable portion of screen */
  54.  
  55. #define SVID    0141    /* Set Video Attributes */
  56. #define CVID    0142    /* Clear Video Attributes */
  57. #define DVID    0143    /* Define Video Attributes */
  58. /* Video Attribute Definitions */
  59. #define VID_NORM    000    /* normal */
  60. #define VID_UL        001    /* underline */
  61. #define VID_BLNK    002    /* blink */
  62. #define VID_REV    004    /* reverse video */
  63. #define VID_DIM    010    /* dim intensity */
  64. #define VID_BOLD    020    /* bright intensity */
  65. #define VID_OFF    040    /* blank out field */
  66.  
  67. #define BRK    000    /* transmit break */
  68. #define HIQ    001    /* Put remainder of write on high priority queue. */
  69.  
  70. #endif    /* _SYS_CRTCTL_H */
  71.