source: trunk/third/kermit/ckcasc.h @ 10780

Revision 10780, 2.9 KB checked in by brlewis, 27 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r10779, which included commits to RCS files with non-trunk default branches.
Line 
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, 1996, 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 Ctrl-@*/
21#define SOH    1        /* Start of header Ctrl-A */
22#define STX    2        /* Ctrl-B */
23#define ETX    3        /* Ctrl-C */
24#define EOT    4        /* Ctrl-D */
25#define ENQ    5        /* ENQ Ctrl-E */
26#define ACK    6        /* Ctrl-F */
27#define BEL    7        /* Bell (Beep) Ctrl-G */
28#define BS     8        /* Backspace Ctrl-H */
29#define HT     9        /* Horizontal Tab Ctrl-I */
30#define LF    10        /* Linefeed Ctrl-J */
31#define VT    11        /* Vertical Tab Ctrl-K */
32#define NL   '\n'       /* Newline */
33#define FF    12        /* Formfeed Ctrl-L */
34#define CR    13        /* Carriage Return Ctrl-M */
35#define SO    14        /* Shift Out Ctrl-N */
36#define SI    15        /* Shift In Ctrl-O */
37#define DLE   16        /* Datalink Escape Ctrl-P */
38#define XON   17        /* XON Ctrl-Q */
39#define DC1   17     
40#define DC2   18        /* Ctrl-R */
41#define XOFF  19        /* XOFF Ctrl-S */
42#define DC3   19
43#define DC4   20        /* Ctrl-T */
44#define NAK   21        /* Ctrl-U */
45#define SYN   22        /* SYN, Ctrl-V */
46#define ETB   23        /* Ctrl-W */
47#define CAN   24        /* CAN, Ctrl-X */
48#define EM    25        /* Ctrl-Y */
49#define SUB   26        /* SUB Ctrl-Z */
50#define ESC   27        /* Escape Ctrl-[ */
51#define XFS   28        /* Field Separator,  Ctrl-Backslash */
52#define XGS   29        /* Group Separator,  Ctrl-Rightbracket */
53#define XRS   30        /* Record Separator, Ctrl-Circumflex */
54#define US    31        /* Unit Separator,   Ctrl-Underscore */
55#define SP    32        /* Space */
56#define DEL  127        /* Delete (Rubout) */
57#define RUB  127        /* Delete (Rubout) */
58
59#ifdef OS2
60/*
61  These are needed in OS/2, so let's not cause any unnecessary conflicts.
62*/
63#define CSI  0233     /* 8-bit Control Sequence Introducer */
64#define SS2  0216     /* 8-bit Single Shift 2 */
65#define SS3  0217     /* 8-bit Single Shift 3 */
66#define DCS  0220     /* 8-bit Device Control String Introducer */
67#define ST8  0234     /* 8-bit String Terminator */
68#define OSC  0235     /* 8-bit Operating System Command */
69#define PM8  0236     /* 8-bit Privacy Message */
70#define APC  0237     /* 8-bit Application Program Command */
71#endif /* OS2 */
72#endif /* CKCASC_H */
73
Note: See TracBrowser for help on using the repository browser.