home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / pub / wkermit / lckcmd.h < prev    next >
C/C++ Source or Header  |  2020-01-01  |  2KB  |  62 lines

  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.  
  13.  
  14.  
  15. /* Sizes of things */
  16.  
  17. #define HLPLW  78            /* Width of ?-help line */
  18. #define HLPCW  19            /* Width of ?-help column */
  19. #define CMDBL  200            /* Command buffer length */
  20. #define HLPBL  100            /* Help string buffer length */
  21. #define ATMBL  100            /* Command atom buffer length*/
  22.  
  23. /* Special characters */
  24.  
  25. #ifndef NUL
  26. #define NUL  '\0'                       /* Null */
  27. #endif
  28. #define HT   '\t'                       /* Horizontal Tab */
  29. #define NL   '\n'                       /* Newline */
  30. #ifndef CR
  31. #define CR   '\r'
  32. #endif
  33. #define RDIS 0022            /* Redisplay   (^R) */
  34. #define LDEL 0025            /* Delete line (^U) */
  35. #define WDEL 0027            /* Delete word (^W) */
  36. #define RUB  0177            /* Rubout */
  37.  
  38. #ifndef BEL
  39. #define BEL  0007            /* Bell */
  40. #endif
  41.  
  42. #ifndef BS
  43. #define BS   0010            /* Backspace */
  44. #endif
  45.  
  46. #ifndef SP
  47. #define SP   0040            /* Space */
  48. #endif
  49.  
  50. /* Keyword table flags */
  51.  
  52. #define CM_INV 1            /* Invisible keyword */
  53.  
  54. /* Keyword Table Template */
  55.  
  56. struct keytab {             /* Keyword table */
  57.     char *kwd;                /* Pointer to keyword string */
  58.     int val;                /* Associated value */
  59.     int flgs;                /* Flags (as defined above) */
  60. };
  61.  
  62.