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: };
Defined struct's
keytab
defined in line
65; used 66 times
- in /usr/src/new/kermit/ckucmd.c line
556(2),
788(2)
- in /usr/src/new/kermit/ckudia.c line
401(2),
417(2)
- in /usr/src/new/kermit/ckuus2.c line
24-25(4)
- in /usr/src/new/kermit/ckuus3.c line
60(2),
68-73(4),
79-83(4),
91-103(8),
112-129(10),
136-141(4),
148(2)
- in /usr/src/new/kermit/ckuusr.c line
379(2),
409-413(4),
437-442(4),
452-454(4),
460(2),
467(2),
1099(2)
Defined macros
ATMBL
defined in line
28; used 2 times
BEL
defined in line
48; used 14 times
- in line 47
- in /usr/src/new/kermit/ckucmd.c line
326-331(2),
347,
455,
521,
608,
615,
702,
923,
946,
974
- in /usr/src/new/kermit/ckuus3.c line
471,
619
BS
defined in line
52; used 3 times
CMDBL
defined in line
26; used 7 times
CM_INV
defined in line
61; used 12 times
CR
defined in line
38; used 5 times
ESC
defined in line
44; used 2 times
FF
defined in line
40; used 1 times
HLPBL
defined in line
27; used 1 times
HLPCW
defined in line
25; used 1 times
HLPLW
defined in line
24; used 1 times
HT
defined in line
35; used 1 times
LDEL
defined in line
42; used 1 times
NL
defined in line
36; used 6 times
NUL
defined in line
33; used 49 times
- in line 32
- in /usr/src/new/kermit/ckucmd.c line
109-112(2),
119,
147-148(2),
212,
282,
366,
446,
459,
496,
525,
602,
643,
724,
736-739(2),
747,
757,
855,
893,
907-912(2),
921,
932,
953-957(2),
964,
986-991(2),
1002-1008(3)
- in /usr/src/new/kermit/ckuus3.c line
450-456(3),
468,
476-481(2),
538
- in /usr/src/new/kermit/ckuusr.c line
648-653(4),
813,
824,
842,
984
RDIS
defined in line
41; used 1 times
RUB
defined in line
45; used 1 times
SP
defined in line
56; used 11 times
WDEL
defined in line
43; used 1 times
Usage of this include