|
|
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: #define getchar() coninc(0) ! 20: #endif ! 21: ! 22: /* Sizes of things */ ! 23: ! 24: #define HLPLW 78 /* Width of ?-help line */ ! 25: #define HLPCW 19 /* Width of ?-help column */ ! 26: #define CMDBL 200 /* Command buffer length */ ! 27: #define HLPBL 100 /* Help string buffer length */ ! 28: #define ATMBL 100 /* Command atom buffer length*/ ! 29: ! 30: /* Special characters */ ! 31: ! 32: #ifndef NUL ! 33: #define NUL '\0' /* Null */ ! 34: #endif ! 35: #define HT '\t' /* Horizontal Tab */ ! 36: #define NL '\n' /* Newline */ ! 37: #ifndef CR ! 38: #define CR '\r' ! 39: #endif ! 40: #define FF 0014 /* Formfeed (^L) */ ! 41: #define RDIS 0022 /* Redisplay (^R) */ ! 42: #define LDEL 0025 /* Delete line (^U) */ ! 43: #define WDEL 0027 /* Delete word (^W) */ ! 44: #define ESC 0033 /* Escape */ ! 45: #define RUB 0177 /* Rubout */ ! 46: ! 47: #ifndef BEL ! 48: #define BEL 0007 /* Bell */ ! 49: #endif ! 50: ! 51: #ifndef BS ! 52: #define BS 0010 /* Backspace */ ! 53: #endif ! 54: ! 55: #ifndef SP ! 56: #define SP 0040 /* Space */ ! 57: #endif ! 58: ! 59: /* Keyword table flags */ ! 60: ! 61: #define CM_INV 1 /* Invisible keyword */ ! 62: ! 63: /* Keyword Table Template */ ! 64: ! 65: struct keytab { /* Keyword table */ ! 66: char *kwd; /* Pointer to keyword string */ ! 67: int val; /* Associated value */ ! 68: int flgs; /* Flags (as defined above) */ ! 69: };
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.