home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume16 / conf2 / part02 / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1988-09-14  |  2.6 KB  |  106 lines

  1. /*
  2.  * System type.  Define only the *ONE* system that applies to you
  3.  * the most.
  4.  */
  5.  
  6. #define SYSV                /* System V and Xenix.  SCO Xenix */
  7. /*#define BSD                /* Any of the Berkeley clan */
  8.  
  9. /*
  10.  * Define SENDER as the local command to use to SEND a message.
  11.  * :rings will popen() this command giving it one user on the
  12.  * command line and its message through standard input.
  13.  *
  14.  * If you do not have a local SEND program then define this as
  15.  * "write".
  16.  */
  17.  
  18. #define SENDER    "write"        /* the local send program */
  19.  
  20. /*
  21.  * The default pager
  22.  *    maybe "more", "less", or "cat"
  23.  */
  24.  
  25. #define    DEF_PAGER    "less"        /* local pager */
  26. #define    DEF_SHELL    "csh"        /* default shell*/
  27.  
  28. /*
  29.  * User settable files.
  30.  *    Someday these files will be definable at any time during conf
  31.  */
  32.  
  33. #define    CONFLOG        "/usr/lib/conf/conflog"   /* conversation log */
  34. #define    CONFUSERS    "/usr/lib/conf/confusers" /* user log */
  35. #define    CONFHELP    "/usr/lib/conf/confhelp"  /* help file */
  36. #define    CONFLOCK    "/usr/lib/conf/conf.lock" /* lock file */
  37.  
  38. #define    DEF_RECFILE    "conf.rec"     /* default record file */
  39. #define    CONFRC        ".confrc"     /* default rc file */
  40.  
  41. #define    CONFOPTS    "CONFOPTS"          /* environment variable */
  42.  
  43. #define    FILEMASK    0600         /* filemask for CONF{USERS,LOG} */
  44.  
  45. /* Some buffer length stuff */
  46. #define    MAXNAMELEN    21
  47. #define    MAXTTYLEN    21
  48. #define    MAXCONFLINES    100     /* number of conference lines */
  49.  
  50. #define    PAGESIZ        512     /* alloc this amount at a time */
  51.  
  52. #define TABAGE        2        /* space between columns */
  53.  
  54. /*
  55.  * Some important influences.
  56.  *
  57.  * Thanks should also go out to Neil Pert for awesome percussion. -MQH
  58.  */
  59.  
  60. #define SIGNIFICANT_OTHER    "Marla Gabryelski"
  61.  
  62. #define    MUSICIAN        "Brian_Eno"
  63. #define    SONG            "Third_Uncle"
  64.  
  65. #define VERNUM            2
  66. #define PATCHLEVEL        0
  67.  
  68. #define AUTHOR            "Keith M. Gabryelski"
  69. #define ADDRESS            "ag@elgar.UUCP"
  70. #define ALTPATH            "ag@portnoy.UUCP"
  71. #define THANKS1            "ford@kenobi.UUCP (Mike Ditto)"
  72.  
  73. /*
  74.  * form strings
  75.  *
  76.  *    Meta characters for form string:
  77.  *
  78.  *    %N - Your conference name.
  79.  *    %n - Name of user sending message.
  80.  *    %m - Message users sent.
  81.  *    %T - Your tty.
  82.  *    %t - Tty of user that sent message.
  83.  *    %% - The character '%'
  84.  *
  85.  */
  86.  
  87. #define    DEF_FORM_NORM    ";;; %n (%t) - %m\n"
  88. #define    DEF_FORM_SEND    ">>> %n (%t) - %m\n"
  89. #define    DEF_FORM_INFORM    "::: %n (%t) [%m]\n"
  90. #define    DEF_FORM_LINE    "::: %n (%t) - %m\n"
  91. #define    DEF_FORM_SHOUT    "*** %n (%t) - %m\n"
  92.  
  93. /*
  94.  * You probably don't need to modify anything after this line
  95.  * unless you are debugging.
  96.  */
  97.  
  98. /*
  99.  * DEBUGx are debugging defines.
  100.  *
  101.  */
  102.  
  103. /*#define DEBUG0        /* insignificant checks around conf */
  104. /*#define DEBUG1        /* temporary debug messages */
  105.  
  106.