home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
archives
/
ckc192.zip
/
CKCASC.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-06-13
|
3KB
|
74 lines
/*
File CKCASC.H
Mnemonics for ASCII control characters (and Space) for use with C-Kermit.
*/
/*
Author: Frank da Cruz (fdc@columbia.edu, FDCCU@CUVMA.BITNET),
Columbia University Academic Information Systems, New York City.
Copyright (C) 1985, 1996, Trustees of Columbia University in the City of New
York. The C-Kermit software may not be, in whole or in part, licensed or
sold for profit as a software product itself, nor may it be included in or
distributed with commercial products or otherwise distributed by commercial
concerns to their clients or customers without written permission of the
Office of Kermit Development and Distribution, Columbia University. This
copyright notice must not be removed, altered, or obscured.
*/
#ifndef CKCASC_H
#define CKCASC_H
#define NUL '\0' /* Null Ctrl-@*/
#define SOH 1 /* Start of header Ctrl-A */
#define STX 2 /* Ctrl-B */
#define ETX 3 /* Ctrl-C */
#define EOT 4 /* Ctrl-D */
#define ENQ 5 /* ENQ Ctrl-E */
#define ACK 6 /* Ctrl-F */
#define BEL 7 /* Bell (Beep) Ctrl-G */
#define BS 8 /* Backspace Ctrl-H */
#define HT 9 /* Horizontal Tab Ctrl-I */
#define LF 10 /* Linefeed Ctrl-J */
#define VT 11 /* Vertical Tab Ctrl-K */
#define NL '\n' /* Newline */
#define FF 12 /* Formfeed Ctrl-L */
#define CR 13 /* Carriage Return Ctrl-M */
#define SO 14 /* Shift Out Ctrl-N */
#define SI 15 /* Shift In Ctrl-O */
#define DLE 16 /* Datalink Escape Ctrl-P */
#define XON 17 /* XON Ctrl-Q */
#define DC1 17
#define DC2 18 /* Ctrl-R */
#define XOFF 19 /* XOFF Ctrl-S */
#define DC3 19
#define DC4 20 /* Ctrl-T */
#define NAK 21 /* Ctrl-U */
#define SYN 22 /* SYN, Ctrl-V */
#define ETB 23 /* Ctrl-W */
#define CAN 24 /* CAN, Ctrl-X */
#define EM 25 /* Ctrl-Y */
#define SUB 26 /* SUB Ctrl-Z */
#define ESC 27 /* Escape Ctrl-[ */
#define XFS 28 /* Field Separator, Ctrl-Backslash */
#define XGS 29 /* Group Separator, Ctrl-Rightbracket */
#define XRS 30 /* Record Separator, Ctrl-Circumflex */
#define US 31 /* Unit Separator, Ctrl-Underscore */
#define SP 32 /* Space */
#define DEL 127 /* Delete (Rubout) */
#define RUB 127 /* Delete (Rubout) */
#ifdef OS2
/*
These are needed in OS/2, so let's not cause any unnecessary conflicts.
*/
#define CSI 0233 /* 8-bit Control Sequence Introducer */
#define SS2 0216 /* 8-bit Single Shift 2 */
#define SS3 0217 /* 8-bit Single Shift 3 */
#define DCS 0220 /* 8-bit Device Control String Introducer */
#define ST8 0234 /* 8-bit String Terminator */
#define OSC 0235 /* 8-bit Operating System Command */
#define PM8 0236 /* 8-bit Privacy Message */
#define APC 0237 /* 8-bit Application Program Command */
#endif /* OS2 */
#endif /* CKCASC_H */