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 Center for Computing Activities. 8: First released January 1985. 9: Copyright (C) 1985, 1992, Trustees of Columbia University in the City of New 10: York. Permission is granted to any individual or institution to use this 11: software as long as it is not sold for profit. This copyright notice must be 12: retained. This software may not be included in commercial products without 13: written permission of Columbia University. 14: */ 15: #ifndef CKCASC_H 16: #define CKCASC_H 17: 18: #define NUL '\0' /* Null */ 19: #define SOH 001 /* Start of header */ 20: #define STX 002 /* Ctrl-B */ 21: #define ENQ 005 /* ENQ */ 22: #define BEL 007 /* Bell (Beep) */ 23: #define BS 010 /* Backspace */ 24: #define HT 011 /* Horizontal Tab */ 25: #define LF 012 /* Linefeed */ 26: #define NL '\n' /* Newline */ 27: #define FF 014 /* Formfeed */ 28: #define CR 015 /* Carriage Return */ 29: #define SO 016 /* Shift Out */ 30: #define SI 017 /* Shift In */ 31: #define DLE 020 /* Datalink Escape */ 32: #define ESC 033 /* Escape */ 33: #define XON 021 /* XON */ 34: #define XOFF 023 /* XOFF */ 35: #define SUB 032 /* SUB */ 36: #define XGS '\x1D' /* Group Separator, Ctrl-Rightbracket */ 37: #define US '\x1F' /* Unit Separator, Ctrl-Underscore */ 38: #define XFS '\x1C' /* Field Separator, Ctrl-Backslash */ 39: #define XRS 036 /* Record Separator, Ctrl-Circumflex */ 40: #define SYN '\x16' /* SYN, Ctrl-V */ 41: #define CAN 030 /* CAN, Ctrl-X */ 42: #define SP 040 /* Space */ 43: #define DEL 0177 /* Delete (Rubout) */ 44: #define RUB 0177 /* Delete (Rubout) */ 45: #ifdef COMMENT 46: /* 47: These aren't needed yet, so let's not cause any unnecessary conflicts. 48: */ 49: #define CSI 0233 /* 8-bit Control Sequence Introducer */ 50: #define SS2 0216 /* 8-bit Single Shift 2 */ 51: #define SS3 0217 /* 8-bit Single Shift 3 */ 52: #define DCS 0220 /* 8-bit Device Control String Introducer */ 53: #define ST8 0234 /* 8-bit String Terminator */ 54: #define OSC 0235 /* 8-bit Operating System Command */ 55: #define PM8 0236 /* 8-bit Privace Message */ 56: #define APC 0237 /* 8-bit Application Program Command */ 57: #endif /* COMMENT */ 58: #endif /* CKCASC_H */