home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0020 - 0029 / ibm0020-0029 / ibm0028.tar / ibm0028 / INSTALL2.TD0 / SOURCES.LIF / CONTROL.H < prev    next >
Encoding:
C/C++ Source or Header  |  1990-09-27  |  2.4 KB  |  82 lines

  1. /*=============================================================================
  2.  
  3.      The INSTALL program source code, object code, sample  script files,
  4.      executable  program,  and  documentation  are  subject to copyright
  5.      protection under the laws of the United States and other countries.
  6.  
  7.      This software is licensed, not sold, and may only be  redistributed
  8.      in  executable format and only in accordance with the provisions of
  9.      the INSTALL Source Code License Agreement.
  10.  
  11.         INSTALL is Copyright(C) 1987-1990 by Knowledge Dynamics Corp
  12.        Highway Contract 4 Box 185-H, Canyon Lake, TX (USA) 78133-3508
  13.               512-964-3994 (Voice)   512-964-3958 (24-hr FAX)
  14.  
  15.                       All rights reserved worldwide.
  16.  
  17. ===============================================================================
  18.  
  19. FILENAME:
  20.     control.h
  21.  
  22. AUTHOR:
  23.     eric jon heflin
  24.  
  25. PUBLIC FUNCTIONS:
  26.     n/a
  27.  
  28. LOCAL FUNCTIONS:
  29.     n/a
  30.  
  31. DESCRIPTION:
  32.     This file contains #defines for control characters (e.g. '\x1b' is
  33.     defined as ESC).
  34.  
  35. REVISION HISTORY:
  36.     DATE:    AUTHOR:            DESCRIPTION OF CHANGES:
  37.     891211    allyn jordan    documentation
  38.     900102    ejh                Cosmetic changes.
  39.  
  40. ==============================================================================*/
  41.  
  42. #ifndef CONTROL_H
  43.  
  44. #    define CONTROL_H
  45.  
  46.     /* control characters */
  47. #    define SOH     ((byte)'\x1')        /* start of header */
  48. #    define STX     ((byte)'\x2')        /* start of text */
  49. #    define ETX     ((byte)'\x3')        /* */
  50. #    define EOT     ((byte)'\x4')        /* end of text */
  51. #    define ENQ     ((byte)'\x5')        /* enquire */
  52. #    define ACK     ((byte)'\x6')        /* acknowledge */
  53. #    define BEL    ((byte)'\x7')
  54. #    define BS    ((byte)'\x8')
  55. #    define HT    ((byte)'\x9')
  56. #    define LF    ((byte)'\xa')
  57. #    define VT    ((byte)'\xb')
  58. #    define FF    ((byte)'\xc')
  59. #    define CR    ((byte)'\xd')
  60. #    define SO    ((byte)'\xe')
  61. #    define SI    ((byte)'\xf')
  62. #    define DLE    ((byte)'\x10')
  63. #    define DC1    ((byte)'\x11')
  64. #    define DC2    ((byte)'\x12')
  65. #    define DC3    ((byte)'\x13')
  66. #    define DC4    ((byte)'\x14')
  67. #    define NAK     ((byte)'\x15')        /* negative acknowledge */
  68. #    define SYN     ((byte)'\x16')        /* sync */
  69. #    define CAN     ((byte)'\x18')        /* cancel */
  70. #    define EM    ((byte)'\x19')
  71. #    define SUB    ((byte)'\x1a')
  72. #    define ESC    ((byte)'\x1b')
  73. #    define FS    ((byte)'\x1c')
  74. #    define GS    ((byte)'\x1d')
  75. #    define RS    ((byte)'\x1e')
  76. #    define US    ((byte)'\x1f')
  77.  
  78. #endif /* CONTROL_H */
  79.  
  80. /* end-of-file */
  81.  
  82.