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

Defined macros

ATMBL defined in line 28; used 2 times
BEL defined in line 48; used 14 times
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
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
getchar defined in line 19; used 2 times

Usage of this include

Last modified: 1985-08-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 793
Valid CSS Valid XHTML 1.0 Strict