home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / bbs / inner_s / ctdlcnfg.sys < prev    next >
Text File  |  1988-02-06  |  21KB  |  390 lines

  1. /************************************************************************/
  2. /*            ctdlCnfg.sys            */
  3. /*                           */
  4. /*   configuration file for Citadel bulletin board system.      */
  5. /*   This is >>>NOT<<< a C file!  It is read in by confg.exe    */
  6. /*   which sets up a "CTDLTABL.SYS" binary file recording the local   */
  7. /*   configuration parameters.  (CTDLTABL.SYS is read by the other   */
  8. /*   Citadel programs.)                  */
  9. /*                           */
  10. /*   WARNING WARNING WARNING WARNING WARNING WARNING WARNING!!!!   */
  11. /*   This version of CONFIGUR uses decimal numbers throughout; if   */
  12. /*   you leave the existing hexidecimal numbers in, ugly things   */
  13. /*   will happen to your system.               */
  14. /*                           */
  15. /************************************************************************/
  16.  
  17. /************************************************************************/
  18. /*            History             */
  19. /*                           */
  20. /* 87Apr28 orc   More things are changed around, for added confusion.   */
  21. /* 87Apr05 orc   STadel version 2; gone to decimal numbers.      */
  22. /* 87Feb16 orc   STadel version 1               */
  23. /* 86Jul09 HAW   Added muchos.  The history gets worse.         */
  24. /* 85Nov10 HAW   Reviewed.  Note: This file's history is, uh, execrable. */
  25. /* 85Aug26 HAW   NETDISK, MIRRORMSG, MSG2DISK.            */
  26. /* 85Mar03 HAW   Customize for Sperry PC.            */
  27. /* 85Feb20 HAW   Kill off MDATA.                */
  28. /* 85Feb17 HAW   Install 300/1200 access code.            */
  29. /* 85Jan22 HAW   Modified to read MSDOS clock.            */
  30. /* 84Sep03 HAW   Now fer MS-DOS!                */
  31. /* 84Jun10 HAW   ALLMAIL...                  */
  32. /* 83Feb26 CrT   LOGINOK, ENTEROK & READOK...            */
  33. /* 83Feb06 CrT   Mods to debug ICS files on ODD-DATA machine...      */
  34. /* 82Nov24 CrT   This file now handles H89 with SmartModem @ port D8   */
  35. /* 82Nov21 CrT   Created.                  */
  36. /************************************************************************/
  37.  
  38. /************************************************************************/
  39. /*   This file must be edited to be appropriate to the local environ-   */
  40. /* ment.  It specifies the name of the installation, et cetera.      */
  41. /* This file is then processed by CONFGUR.TOS, which produces the   */
  42. /* ctdlTabl.sys file which is read the other Citadel programs --   */
  43. /* currently CITADEL.TOS and some utilities.            */
  44. /*    Lines not beginning with "#" are ignored by CONFG and may be   */
  45. /* deleted once the file is successfully configured -- they are purely   */
  46. /* documentary.                      */
  47. /************************************************************************/
  48.  
  49. /************************************************************************/
  50. /* GENERAL STRING FORMATTING CONTROLS:               */
  51. /* Strings in CTDLCNFG.SYS can be forcefully formatted by embedding   */
  52. /* certain strings of characters in them. All of these strings of   */
  53. /* characters are started by the use of the '\' character.  When Citadel*/
  54. /* sees '\', it will replace the '\' and the following character(s)   */
  55. /* with the value specified in the following table.         */
  56. /*      "\n": CR-LF                     */
  57. /*      "\t": Tab character                  */
  58. /*      "\b": Non-destructive Backspace            */
  59. /*      "\r": CR                     */
  60. /*      "\f": Formfeed                  */
  61. /*      "\\": Backslash                  */
  62. /*      "\<xxx>": The octal* ASCII value is output         */
  63. /* Strings that are output via the formatter must conform with normal   */
  64. /* formatting conventions in order for the desired effect to be    */
  65. /* achieved. For example, if you wish to force a CR-LF at a certain,   */
  66. /* your string at that point would look like            */
  67. /*   "...\n ..."                     */
  68. /* NOTE THE SPACE following the "\n"!               */
  69. /*   The following strings are output via the formatter:      */
  70. /*     #nodeTitle                     */
  71. /*     #baseRoom                     */
  72. /*   The following strings are not output via the formatter:      */
  73. /*        #modemSetup                     */
  74. /*     #callOutPrefix                  */
  75. /*     #callOutSuffix                  */
  76. /*     #nodeId     <In fact, meaningless here>         */
  77. /*     #nodeName     <In fact, meaningless here>         */
  78. /*     #sysPassword     <In fact, meaningless here>         */
  79. /* Explanations of what these strings do follows in this file      */
  80. /*                           */
  81. /************************************************************************/
  82.  
  83. /* nodeTitle will be printed whenever CITADEL.TOS is run, and should   */
  84. /* identify your local installation, i.e. "Welcome to .."      */
  85. #nodeTitle "Inner Sanctum One"
  86.  
  87. /* nodeName is purely for networking purposes.   Messages which      */
  88. /* originated on your system will have headers looking like      */
  89. /* 82Nov23 From Cynbe ru Taren @ODD-DATA
  90. /* This should be a short (for the sake of the reader!) mnemonic   */
  91. /* identifying your node for humans.               */
  92. #nodeName "Inner Sanctum One"
  93.  
  94. /* nodeId is also purely for networking purposes.  Messages which   */
  95. /* originate on your system will be marked with the nodeId, but it will */
  96. /* not normally be printed out.  It is primarily for the use of the   */
  97. /* networking support software, and forms a globally unique name and   */
  98. /* address of your system.  It consists of a country abbreviation   */
  99. /* followed by area code and phone number.  (The "country codes" listed */
  100. /* in the phone book are >not< fixed, but depend on the country the   */
  101. /* call is originating from.  They are basically routing codes rather   */
  102. /* than addresses.)  Country abbreviation for the US is "US", for   */
  103. /* Canada is "CA".  (For others, see COUNTRY.DOC.)         */
  104. #nodeId "US 206 363 8592"
  105.  
  106. /* We'll use the following for IS networking                */
  107. #COUNTRY "USA"        /* USA, CAN, MEX, EUR, JAP, AUS, etc.        */
  108. #AREACODE "206"
  109. #PHONENUM "363-8592"
  110.  
  111. /************************************************************************/
  112. /* #sysPassword specifies the file that contains a string that will   */
  113. /* act as the password to the remote sysop abilties.  If this      */
  114. /* parameter is not specified, or if the file is not found, or is   */
  115. /* unreadable, then remote sysop abilities are disabled.  Only Aides   */
  116. /* can access remote sysop abilities, and they must* know the exact   */
  117. /* password, up to and including the case of the individual letters.   */
  118. /* Since a hacker could badly damage a system by gaining access to the   */
  119. /* remote Sysop capabilities, use of this feature is not      */
  120. /* recommended.  To access sysop abilities from remote, type CTRL-L   */
  121. /* at any room prompt. A password will be requested if you are an   */
  122. /* aide. If the correct password is given, then you have access to   */
  123. /* sysop capabilities, plus some of the room editing capabilities   */
  124. /* normally restricted to sysConsole aides.            */
  125. #sysPassword "citpass.sys"    /* No remote sysop capabilities       */
  126.  
  127. /* baseRoom is the homeroom of the Citadel in operation, the place you   */
  128. /* go when there are no more rooms with unread messages left.  This is   */
  129. /* usually known as the Lobby> on most systems.  It's simply a nice,   */
  130. /* easy way to customize and give character to your system..      */
  131. #baseRoom "Lobby"
  132.  
  133. /* LOGSIZE is the number of entries that you want in your log. Once   */
  134. /* you've selected a log size and have configured, you may NOT shrink   */
  135. /* the log except by destroying the log totally. There is a utility   */
  136. /* available for expanding the log, called LEXPAND.  Each log entry   */
  137. /* needs ??? bytes on disk (I know that a 180 entry log requires app.   */
  138. /* 88K), so plan accordingly.                  */
  139.  
  140. #define LOGSIZE 512
  141.  
  142. /* CRYPTSEED is a number used in encrypting the password file.   Change   */
  143. /* it once when you install the system, but not thereafter -- or you   */
  144. /* won't be able to read the existing files any more.         */
  145.  
  146. #define CRYPTSEED  9428
  147.  
  148. /* MESSAGEK sizes "ctdlmsg.sys", the file message text is stored in.   */
  149. /* The size of this parameter together with the rate message text is   */
  150. /* entered at determines message lifetime.  ICS ran for a few months   */
  151. /* with 87K, and message lifetime sometimes dropped below 3 days,   */
  152. /* upsetting the weekly callers.  A one-week minimum seems the target   */
  153. /* to try for.   ICS is currently (82Nov26) running a 250K message file. */
  154.  
  155. #define MESSAGEK  1024      /* number of Kbyte to use in ctdlmsg.sys*/
  156.  
  157. /* The following 3 parameters specify on what directories STadel should   */
  158. /* look for its personal data files. These parameters take the form of   */
  159. /* drive:pathname.  (a:\help, c:\system, etc)            */
  160. /*                           */
  161. /* helpDir: Location of all .HLP, .BLB, and .MNU files (i.e., all of   */
  162. /*   the help files), which is generated by CONFIGUR.TOS and kept up   */
  163. /*   to date by CITADEL.TOS.                  */
  164. /* msgDir: Location of CTDLMSG.SYS, the message file. (This is the   */
  165. /*   primary message file; see the parameter MIRRORMSG later in this   */
  166. /*   file.)                        */
  167. /* sysDir: Location of CTDLLOG.SYS and CTDLROOM.SYS.         */
  168.  
  169. #helpDir "e:\help\"
  170. #sysDir "d:\sys\"
  171. #msgDir "d:\msg\"
  172.  
  173. #WXYPATH "d:\wxytr.prg"    /* Where we go for file transfers */
  174. #KERMIT "d:\kermit.prg"    /* Where we go for kermit file transfers */
  175. #ZMODEMSEND "d:\sz.ttp" /* Where we go for zmodem file sends */
  176. #ZMODEMRCV "d:\rz.tos"  /* Where we go for zmodem file receives */
  177.  
  178. /* The following two configuration parameters are designed to help    */
  179. /* us stay in synch as far as time goes.  The following values are     */
  180. /* recognized as timezones at this point:  ATLANTIC, EASTERN, CENTRAL,    */
  181. /* MOUNTAIN, PACIFIC, ALASKA, HAWAII, and BERING.            */
  182.  
  183. #TIMEZONE "PACIFIC"     /* What timezone are we in? */
  184. #define DSTFLAG 0       /* Are we using daylight savings time ? */
  185.             /* Yes = 1, No = 0            */
  186.  
  187. /* the trailing \ is not necessary -- configur strips them off the path   */
  188. /* and Citadel puts a \ between the pathname and the appropriate file.   */
  189.  
  190. /* MIRRORMSG: This parameter should be used when you have a RAM disk   */
  191. /* that contains the message file, and want to have the message file   */
  192. /* continuously backed up. Setting MIRRORMSG to 1 tells Citadel-86 to   */
  193. /* expect the file to be both read from and written to be on      */
  194. /* directory msgDir (and this should specify the RAM disk), and the   */
  195. /* file to only be written on to be on mirrorDir (described below).   */
  196. /* This should save wear 'n tear on your message drive while (almost)   */
  197. /* ensuring no loss of message data due to crash/power loss.      */
  198. #define MIRRORMSG 0      /* Change it to 1 if you want the above */
  199.  
  200. /* mirrorDir is the location of the file that should only be written to.*/
  201. /* This SHOULD be a normal disk rather than a RAM drive. This parameter */
  202. /* is only used if MIRRORMSG is 1. Drive specification is as the same   */
  203. /* as msgDir, sysDir, etc....                  */
  204. #mirrorDir ""
  205.  
  206. /* netDir specifies the location of all net files: scratch files,   */
  207. /* any and all *.ML files, and CTDLNET.SYS. PLEASE do not* specify   */
  208. /* a RAM disk; crashes may leave you with using *.ML files that    */
  209. /* shouldn't exist any longer (a lesson learned at Dog House). Also,   */
  210. /* don't let this disk fill up if you ARE in networking mode; loss of   */
  211. /* data can occur if you do.                  */
  212. #netDir "d:\net\"
  213.  
  214. /* tmpDir specifies the location for temporary work files to hang out    */
  215. /* these files will come and go.  This directory will be used primarily    */
  216. /* by network drivers and doors applications.                */
  217. #tmpDir "c:\tmp\"
  218.  
  219. /* Where we keep our bulletins                        */
  220. #bullDir "e:\bull\"    /* NOW USED!!!!                    */
  221.  
  222. /* Do we allow graphics at the console? (VT52) */
  223. #define CONSOLEGRAPH 1    /* 1 = yes, 0 = no */
  224.  
  225. /* Shall we generate profile messages for new users? */
  226. #define USEINTROS 1                /* 1 = yes, 0 = no */
  227. #INTRODUCTIONS "Introductions"    /* What room do we use? */
  228.  
  229. /* Are we booting up from the GEM desktop?  And do we want to register    */
  230. /* with GEM as an official application?  (Useful for GEM doors!)    */
  231. #define USEGEM 1        /* 1 = yes, 0 = no */
  232.  
  233. /* Do we want to suppress console I/O?                    */
  234. #define QUIETMODE 0        /* 1 = yes, 0 = no */
  235.  
  236. /* Do we allow display of graphics messages? (ANSI and VT52) */
  237. #define MSGGRAPH 1        /* 1 = yes, 0 = no */
  238.  
  239. /* The CALL-LOG parameter allows the optional generation of the    */
  240. /* CALLLOG.SYS file.  If nonzero, the parameter #auditDir is where   */
  241. /* the calllog is placed, and if zero, no calllog is generated.      */
  242. #define CALL-LOG 1         /* Feature disabled      */
  243.  
  244. /* if CALL-LOG is nonzero, the audit file is found in the directory   */
  245. /* specified in auditDir.                  */
  246. #auditDir "d:\audit"
  247.  
  248. /* shell defines the command-line interpreter that Citadel runs when   */
  249. /* you try to do an [O]utside command.  It must be the full pathname   */
  250. /* to the shell program.                  */
  251. #shell "e:\bin\msh.prg"        /* Doors work better for this        */
  252.  
  253. /* LOGINOK, ENTEROK and READOK are configuration switches used to set   */
  254. /* the privileges of new callers.               */
  255. /*   If LOGINOK is TRUE (nonzero), callers can establish a name and   */
  256. /* password for themselves without sysop intervention.   If it is   */
  257. /* FALSE (zero), new accounts can only be established from the system   */
  258. /* console.                        */
  259. /*   If ENTEROK is TRUE callers can enter messages without logging   */
  260. /* in.   Such messages will have nameless headers but the date will be   */
  261. /* intact.  Setting ENTEROK to FALSE can reduce vandalism, or keep   */
  262. /* nonpaying folks off commercial systems.            */
  263. /*   If READOK is TRUE, callers can read messages without logging   */
  264. /* in.   This provides a friendly first contact.  Setting READOK to   */
  265. /* FALSE may again be appropriate in commercial installations.      */
  266. #define LOGINOK 1      /* user-established accounts      */
  267. #define READOK 0      /* no anonymous message-reading    */
  268. #define ENTEROK 0      /* no anonymous message-entry      */
  269.  
  270. /* ROOMOK is a configuration switch setting the room-creation privileges*/
  271. /* of established callers.  If ROOMOK is TRUE (nonzero) then regular   */
  272. /* folks can create new rooms, else only those with aide privileges   */
  273. /* can do so.                        */
  274. #define ROOMOK 0      /* general room-creation privileges   */
  275.  
  276. /* ALLMAIL is a configuration switch which lets the sysop decide whether*/
  277. /* all people should be allowed to send private mail to each other, or   */
  278. /* if only aides should have access to private mail and the ordinary   */
  279. /* folk can only send mail to the Sysop.  If ALLMAIL is TRUE, all get   */
  280. /* privileges; FALSE and only aides have the privilege.       */
  281. #define ALLMAIL 1      /* Everybody can send mail      */
  282.  
  283. /* SEARCHBAUD tells Citadel whether the user wants to do 300/1200/2400   */
  284. /* access via a flip flop search between the bauds while the user   */
  285. /* types Carriage Returns or not.               */
  286. /* If SEARCHBAUD is set to 1, the system will quickly flip through the  */
  287. /* baud rates for about 60 seconds, spending half a second at each baud   */
  288. /* looking for a <C/R>.                     */
  289. /* If SEARCHBAUD is set to 0, SYSBAUD is the /only/ baud rate the   */
  290. /* system uses.                        */
  291. #define SEARCHBAUD     1      /* 1 == autosearch, 0 == don't   */
  292.  
  293. /* SYSBAUD is the baud setting of this system.   300 only is 0, 300/1200 */
  294. /* is 1, 3/12/24 is 2. (unless SEARCHBAUD is 0, then 0 == 300 baud,   */
  295. /* 1 == 1200 baud, and 2 == 2400 baud.)               */                     */
  296. #define SYSBAUD 2         /* A 3/12/24 system.      */
  297.  
  298. /* CONNECTPROMPT tells Citadel whether you want the system to prompt   */
  299. /* callers to 'type return' after they connect.            */
  300. #define CONNECTPROMPT   0      /* silly prompting.      */
  301.  
  302. /* Some modems/dialing areas will hang up if you send characters to   */
  303. /* your modem too soon after establishing a connection. This will kill   */
  304. /* any system using AUTOBAUD, because a bug in the ST's hardware flushes*/
  305. /* a imaginary character whenever you change the baudrate.      */
  306. /* So, Citadel will delay CONNECTDELAY seconds after somebody calls in   */
  307. /* before it starts to check for your baud rate.         */
  308. #define CONNECTDELAY 0      /* don't delay            */
  309.  
  310. /* Here is how we control the message-pause default when a user logs in */
  311. #define MSGPAUSE 2          /* 0 means pause-between-msgs is disabled    */
  312.                 /* 1 means pause-between-msgs is OFF    */
  313.                 /* 2 means pause-between-msgs is ON        */
  314.  
  315. /* This option has been de-activated for the time being.  But you     */
  316. /* should still have it in here set to '0'.                */
  317. #define INTERFACE 0         /* 0 means Citadel only                     */
  318.  
  319. /* Here we can decide to use Hayes modem result values for         */
  320. /* automatically determining baud rate.  (If we have 'em available!)    */
  321. /* If you use this feature, make sure your modem is set up to return    */
  322. /* the appropriate result stuff via the modem init string!        */
  323. #define HAYESCODES 1        /* 0 means we will use normal citadel style    */
  324.                 /* 1 means we will use numeric result codes    */
  325.                 /* 2 means we will use "CONNECT n" strings    */
  326.  
  327. /* Here we can set a time limit on a particular call for non-aides    */
  328. /* If defined as 0, the feature is disabled.  Otherwise the number is    */
  329. /* the number of minutes allowed for the caller.            */
  330. #define CALLLIMIT 90        /* 90 minutes max per call            */
  331.  
  332. /* Here we can set a time limit on a particular call for twits        */
  333. /* If defined as 0, the feature is disabled.  Otherwise the number is    */
  334. /* the number of minutes allowed for the twit.                */
  335. #define TWITLIMIT 5        /* 5 minutes max per call            */
  336.  
  337. /* Here we can set a time limit on a particular call for new callers    */
  338. /* If defined as 0, the feature is disabled.  Otherwise the number is    */
  339. /* the number of minutes allowed for the new user.            */
  340. #define NEWLIMIT  30        /* 30 minutes max per call            */
  341.  
  342. #define MAXNEW  5        /* maximum msg entries for new folks    */
  343. #define MAXTWIT 1        /* maximum msg entries for twits        */
  344. #define MAXREG 18        /* maximum msg entries for regular users    */
  345. #define TWITZAP 3        /* shall we be obnoxious to twits? Yes!    */
  346. #define TWITDELAY 300        /* number secs offline after zap        */
  347.  
  348. /* Here we can decide to use a trailing '>' on room names to signal    */
  349. /* the user that he/she has access to additional halls from said room    */
  350. /* or by setting it to '0' we can leave them in the dark :)        */
  351. #define HALLPROMPT 1        /* Use auto hall prompts at room names    */
  352.  
  353. /************************************************************************/
  354. /* #callOutPrefix determines what is output to the modem prior to   */
  355. /* the phone number to be dialed.  It must send all commands necessary   */
  356. /* to put the modem into dial out mode.  Additionally, it must contain   */
  357. /* what is neceessary in the way of special commands dealing with PBX's,*/
  358. /* etc.                         */
  359. /*   For instance, a simple setup of a Hayes/compatible in a simple home*/
  360. /* setting which has Touch Tone would require:            */
  361. /*    #callOutPrefix "ATDT"                  */
  362. /*   A more complicated example of a Hayes/compatible in an office   */
  363. /* that requires a 9 and then a pause before gaining an outside line   */
  364. /* would require                     */
  365. /*    #callOutPrefix "ATDT9,"                  */
  366. /*                           */
  367. /* #callOutSuffix determines what is output to the modem after      */
  368. /* #callOutPrefix and the phone number has been output.  Graphically,   */
  369. /*     <#callOutPrefix><phone#><#callOutSuffix>          */
  370. /* is the sequence in which data is out when the networker tries   */
  371. /* to dial out.  Since nothing is automatically appended to the    */
  372. /* number when it is being output to the modem during networking,   */
  373. /* the typical value for an installation using a Hayes/compatible is   */
  374. /*    #callOutSuffix "\r"                  */
  375. /* since Hayes/compatibles require a C/R to end a command string.   */
  376. /* This may not hold true for other brands of modems.         */
  377. /************************************************************************/
  378. #callOutPrefix "ATDT"      /* Normal Hayes installation w/o TT.   */
  379. #callOutSuffix "\r"      /* Typical Hayes suffix       */
  380.  
  381.  
  382. /************************************************************************/
  383. /* the modemSetup string is sent to your modem every time you start       */
  384. /* citadel.prg and every time you do a ^LR from the console.          */
  385. /* This string must typically be adjusted for your modem.  The string    */
  386. /* here works with a Smarteam 2400 baud modem.                */
  387. /************************************************************************/
  388. #modemSetup "ATM0X1V0Q0F1E0B1S0=1S2=255S9=4\r"
  389.  
  390.