|
|
1.1 ! root 1: /* C K U C M D . H -- Header file for Unix cmd package */ ! 2: ! 3: /* ! 4: Author: Frank da Cruz (SY.FDC@CU20B), ! 5: Columbia University Center for Computing Activities, January 1985. ! 6: Copyright (C) 1985, Trustees of Columbia University in the City of New York. ! 7: Permission is granted to any individual or institution to use, copy, or ! 8: redistribute this software so long as it is not sold for profit, provided this ! 9: copyright notice is retained. ! 10: */ ! 11: ! 12: /* Special getchars... */ ! 13: ! 14: #ifdef vax11c ! 15: #define getchar() vms_getchar() ! 16: #endif ! 17: ! 18: #ifdef aegis ! 19: #undef getchar ! 20: #define getchar() coninc(0) ! 21: #endif ! 22: ! 23: #ifdef AMIGA ! 24: #undef getchar ! 25: #define getchar() coninc(0) ! 26: #endif ! 27: ! 28: /* Sizes of things */ ! 29: ! 30: #define HLPLW 78 /* Width of ?-help line */ ! 31: #define HLPCW 19 /* Width of ?-help column */ ! 32: #define CMDBL 200 /* Command buffer length */ ! 33: #define HLPBL 100 /* Help string buffer length */ ! 34: #define ATMBL 100 /* Command atom buffer length*/ ! 35: ! 36: /* Special characters */ ! 37: ! 38: #ifndef NUL ! 39: #define NUL '\0' /* Null */ ! 40: #endif ! 41: #define HT '\t' /* Horizontal Tab */ ! 42: #define NL '\n' /* Newline */ ! 43: #ifndef CR ! 44: #define CR '\r' ! 45: #endif ! 46: #define FF 0014 /* Formfeed (^L) */ ! 47: #define RDIS 0022 /* Redisplay (^R) */ ! 48: #define LDEL 0025 /* Delete line (^U) */ ! 49: #define WDEL 0027 /* Delete word (^W) */ ! 50: #define ESC 0033 /* Escape */ ! 51: #define RUB 0177 /* Rubout */ ! 52: ! 53: #ifndef BEL ! 54: #define BEL 0007 /* Bell */ ! 55: #endif ! 56: ! 57: #ifndef BS ! 58: #define BS 0010 /* Backspace */ ! 59: #endif ! 60: ! 61: #ifndef SP ! 62: #define SP 0040 /* Space */ ! 63: #endif ! 64: ! 65: /* Keyword table flags */ ! 66: ! 67: #define CM_INV 1 /* Invisible keyword */ ! 68: ! 69: /* Keyword Table Template */ ! 70: ! 71: struct keytab { /* Keyword table */ ! 72: char *kwd; /* Pointer to keyword string */ ! 73: int val; /* Associated value */ ! 74: int flgs; /* Flags (as defined above) */ ! 75: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.