home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / archives / ckc190.zip / ckcasc.h < prev    next >
C/C++ Source or Header  |  1994-06-01  |  3KB  |  62 lines

  1. /*
  2.   File CKCASC.H
  3.   Mnemonics for ASCII control characters (and Space) for use with C-Kermit.
  4. */
  5. /*
  6.   Author: Frank da Cruz (fdc@columbia.edu, FDCCU@CUVMA.BITNET),
  7.   Columbia University Academic Information Systems, New York City.
  8.  
  9.   Copyright (C) 1985, 1993, Trustees of Columbia University in the City of New
  10.   York.  The C-Kermit software may not be, in whole or in part, licensed or
  11.   sold for profit as a software product itself, nor may it be included in or
  12.   distributed with commercial products or otherwise distributed by commercial
  13.   concerns to their clients or customers without written permission of the
  14.   Office of Kermit Development and Distribution, Columbia University.  This
  15.   copyright notice must not be removed, altered, or obscured.
  16. */
  17. #ifndef CKCASC_H
  18. #define CKCASC_H
  19.  
  20. #define NUL  '\0'     /* Null */
  21. #define SOH  001      /* Start of header */
  22. #define STX  002      /* Ctrl-B */
  23. #define ENQ  005      /* ENQ */
  24. #define BEL  007      /* Bell (Beep) */
  25. #define BS   010      /* Backspace */
  26. #define HT   011      /* Horizontal Tab */
  27. #define LF   012      /* Linefeed */
  28. #define NL   '\n'     /* Newline */
  29. #define FF   014      /* Formfeed */
  30. #define CR   015      /* Carriage Return */
  31. #define SO   016      /* Shift Out */
  32. #define SI   017      /* Shift In */
  33. #define DLE  020      /* Datalink Escape */
  34. #define ESC  033      /* Escape */
  35. #define XON  021      /* XON */
  36. #define XOFF 023      /* XOFF */
  37. #define SUB  032      /* SUB */
  38. #define XGS  '\x1D'   /* Group Separator,  Ctrl-Rightbracket */
  39. #define US   '\x1F'   /* Unit Separator,   Ctrl-Underscore */
  40. #define XFS  '\x1C'   /* Field Separator,  Ctrl-Backslash */
  41. #define XRS  036      /* Record Separator, Ctrl-Circumflex */
  42. #define SYN  '\x16'   /* SYN, Ctrl-V */
  43. #define CAN  030      /* CAN, Ctrl-X */
  44. #define SP   040      /* Space */
  45. #define DEL  0177     /* Delete (Rubout) */
  46. #define RUB  0177     /* Delete (Rubout) */
  47. #ifdef COMMENT
  48. /*
  49.   These aren't needed yet, so let's not cause any unnecessary conflicts.
  50. */
  51. #define CSI  0233     /* 8-bit Control Sequence Introducer */
  52. #define SS2  0216     /* 8-bit Single Shift 2 */
  53. #define SS3  0217     /* 8-bit Single Shift 3 */
  54. #define DCS  0220     /* 8-bit Device Control String Introducer */
  55. #define ST8  0234     /* 8-bit String Terminator */
  56. #define OSC  0235     /* 8-bit Operating System Command */
  57. #define PM8  0236     /* 8-bit Privacy Message */
  58. #define APC  0237     /* 8-bit Application Program Command */
  59. #endif /* COMMENT */
  60. #endif /* CKCASC_H */
  61.  
  62.