home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast2.iso
/
citadel
/
k2ne603c.zip
/
CTDLCNFG.DOC
< prev
next >
Wrap
Text File
|
1991-10-20
|
13KB
|
305 lines
A Line by Line Explanation of CTDLCNFG.SYS (V5.18 update, May 1991)
- ---- -- ---- ----------- -- ------------
In the following I will explain the meaning of each line in the
CTDLCNFG.SYS file by putting the explanation immediately following
the line it deals with.
#nodeTitle "the Jersey Devil"
This line tells Citadel the name of your BBS. If you do not
use a BANNER.BLB file, then the string between the quotes will
be displayed to your callers in the phrase "Welcome to ...".
#nodeId "US 609 893 2152"
This is the telephone number that your bbs uses. The networker
uses this to identify your bbs to others that you may be netting with.
#baseRoom "Lobby"
The "baseRoom" is the first room your users will see when they log in.
#MainFloor "Main"
The MainFloor is the "first floor" of your system. It will ALWAYS
contain your baseRoom, the Mail room and the Aide room. Other rooms
may also be on this floor, or can be moved to other floors once they
are created by you or one of your Aides.
#CRYPTSEED 64
Cryptseed was originally used by file encryption algorithms which
are no longer supported. We left it in the code for a possible future
use, so you should leave it in your CTDLCNFG.SYS file. The value may
be any non-zero two-digit number.
#AIDESEEALL 0
If you want your Aides to automatically "know" any hidden rooms on your
system, you should set AideSeeAll to 1, otherwise 0.
#ROOMOK 1
This determines whether anyone can create rooms, or only Aides. If you
want only Aides to create rooms, set this to 0.
#ALLMAIL 1
If you want only Aides to be able to send mail to all users, set this to
0. If you want all your users to be able to use private mail, set it to 1.
#sysopName "Vince Quaresima"
Put the name you want your users to know you by on this line.
#NEVERCHAT 0
This replaces the "nochatatall" load-line parameter in CTDL.EXE.
To completely disable CHAT, use a 1 here. This option is NEW
as of version 5.18.
#SESSIONTIMELIMIT 60
This defines the maximum time permitted for any one logged session.
The variable (60 in this example) is in minutes. This option is NEW
as of version 5.18.
#NEWDOORPRIVS 1
If you want your new users to automatically get door privileges, use
1. Otherwise, use 0. This option is NEW as of version 5.18.
#LOGTRY 3
This determines how many times a caller can enter a bad password before
the system drops carrier on him. 3 seems like a reasonable number. It
gives chances to correct honest mistakes and yet still eliminates most
hacking. This option is NEW as of version 5.18.
#ANSICONSOLE 1
This replaces the ANSI parameter in the load-line for CTDL.EXE, and when
set to 0 it disables ANSI color support to the system console. When set
to 1, ANSI colors are used at the console, and the COLTB= "color palette"
is utilized. See the relevant INCREM file for a description of COLTB=.
This option is NEW as of version 5.18.
#MODEMSPEED 1
If your modem can respond properly when your computer "dumps" control
commands at full speed, set this to 1. If your modem requires a slower
rate, set it to 0. Note: True Hayes modems cannot respond to high-speed
dumps, so use 0 if you have a "real Hayes." Most other modems can use 1.
This option is NEW as of version 5.18.
#LOGINOK 0
If you want folks to be able to login and set up their own accounts without
bothering to be validated, set LOGINOK to 1, otherwise, when it is 0, they
can only send mail to the sysop.
#ENTEROK 0
If you set ENTEROK to 1, then users will be able to enter messages without
being logged in. Some folks like it that way.
#READOK 0
If READOK is set to 1, then an unlogged user can wander around your system
and read messages in any room he can get to. Otherwise, with READOK 0, the
only room an unlogged user can read is your baseRoom.
#MSG-SLOTS 95
This is the maximum number of messages in any one room other than Mail>.
#MAIL-SLOTS 58
This is the maximum number of messages in the Mail> room for each user.
#MAXROOMS 80
This is the maximum number of rooms on your system. DO NOT EXCEED 127!!
#MESSAGEK 700
This is the size of your CTDLMSG.SYS file in KiloBytes.
#LOGSIZE 200
This is the number of user-accounts you want to be able to handle.
#HELPAREA "c:helparea"
This is where your .HLP, .MNU, and .BLB files go.
#LOGAREA "c:system"
#ROOMAREA "c:system"
#MSGAREA "c:system"
#FLOORAREA "c:system"
#CALLAREA "c:system"
#HOLDAREA "c:system"
These variables tell Citadel where to find the files it needs to maintain
your BBS in an orderly fashion. You should not have to change these. Once
you are "up and running" you should NEVER change these.
#IBM 1
This variable should always be a 1. It tells Citadel you are running on a
machine compatible with the IBM PC (XT or AT). There are a few machines out
there that simply refuse to run this software. If you are unfortunate enough
to own one of these, there is only one solution short of buying a new computer,
and that is to obtain the source code to Citadel:K2NE and hack it to suit your
operating platform. Most "plain vanilla" clones, from ordinary XT machines
through and including '386 monsters run this software just fine, so chances
are very much in your favor.
#COM 1
The COM port you are using (COM1 and COM2 are supported).
#SYSBAUD 2
This tells Citadel the maximum baudrate your modem can handle.
(0=300, 1=1200, 2=2400, 4=9600)
#SEARCHBAUD 0
If you want your users to have to press ENTER until Citadel figures
out their baudrate, set SEARCHBAUD to 1. When it is set to 0, Citadel
will read the modem result codes to determine the speed of the incoming
caller.
#RESULT-300 "1"
#RESULT-1200 "5"
#RESULT-2400 "10"
#RING "2"
These tell Citadel how your modem responds when it sends result messages
or codes. The examples above indicate that the modem in use is sending
numeric or "terse" result codes. This is very strongly recommended.
Consult your modem manual for the codes your modem uses. The ones in
the lines above are compatible with the Hayes Smartmodem-2400.
#MODEMSETUP "string"
This is the string used to configure your modem prior to going online.
If you have a Hayes-compatible modem, this string should start off with
"AT" and contain the commands peculiar to your hardware. Note that
Citadel MUST be sent NUMERIC result codes! It would also be helpful to
NOT echo-back your commands. Beginning with Citadel:K2NE V6.01, the
presence of this command (#MODEMSETUP) is MANDATORY!
#MODEMRESET "string"
If your modem has problems resetting to the proper baudrate in between
calls (or after networking) then perhaps it needs a bit of help! You can
put a modem reset string here. This command is OPTIONAL. If you leave it
out, Citadel:K2NE will DEFAULT to a reset-string of "AT", which will be
sent after each carrier-session and prior to resending the MODEMSETUP string.
This option is NEW with Citadel:K2NE Version 6.01.
#DTR-DELAY n
Some modems need a bit of a waiting period after pulling DTR down in order
to allow carrier to drop. If your modem is having a problem hanging up the
phone at the end of a call, then try using this command. You do NOT need
to have this command in order for Citadel:K2NE to configure itself properly.
If you leave it out, Citadel will default to a value of 0, otherwise the
DTR-DELAY value will assume whatever INTEGER you type for "n" (1 to 99).
Delay introduced is approximately 20 milliseconds times the value of n.
This option is NEW with Citadel:K2NE Version 6.01.
#nodeName "Jersey Devil"
This string is what gets used in networked messages (the "@Jersey Devil"
that you see in messages from Jersey Devil in networked rooms, for example).
#NETWORK 1
Set to 0 if you are not participating in networking.
#LONG-HAUL 1
Set to 0 if you are not participating in networking.
#NewNetPrivs 1
Set to 0 if you do not want new users to have net privileges.
#NETAREA "c:system"
Tells Citadel where to put net-related stuff, and where to find
messages coming in from other systems you may network with.
#NETLOG 1
Set to 0 if you are not in the net or if you don't want a
logfile of your net sessions kept on disk. This replaces
the command-line parameter "+netlog" beginning with V5.18.
#SHARED-ROOMS 25
Maximum number of networked rooms on your system.
#NET-ARCH-ROOMS 25
Maximum number of net-archive rooms on your system (obviously, this
can't be greater than the number in the previous line!).
#NET_RECEPT_AREA "c:\k2ne\net"
If another system sends you a file via the network, this is where Citadel
will store it for you.
#NET_AREA_SIZE 1000
Total size of the network for any one session (in kilobytes).
#MAX_NET_FILE 750
This is the maximum file-size that your BBS will accept from another system
during networking (in kilobytes).
#callOutPrefix "ATM1DT"
Rather obvious, eh?
#callOutSuffix "\r"
The "\r" tells Citadel that everytime your modem is dialed, it should end
the dial instruction with a RETURN.
/* sample event line */
-#event <days> <time> <class> <type> <duration> <warning string> <depends>
/* External event processor */
#event All 00:01 external preempt 1 "Nightly Housekeeping" 9
/* Regular Network schedules */
#event All 04:00 network preempt 15 "Networking" 1
/* Anytime-Net time-frames */
#event All 6:01 anytime-net quiet 118 "" 9 /* 6:01am to 7:59am - daily */
#event All 08:00 anytime-net quiet 1139 "" 8 /* 8:00am to 2:59am - daily */
#event All 03:00 anytime-net quiet 45 "" 8 /* 3:00am to 3:45am - daily */
/* Download time limits */
#event All 14:00 dl-time quiet 749 "" 30 /* 2:00pm to 2:29am */
#event All 2:30 dl-time quiet 270 "" 1 /* 2:30am to 7:00am */
#event All 7:01 dl-time quiet 418 "" 60 /* 7:01am to 1:59pm */
The preceeding lines control "what happens when" while your bbs is running.
For additional information, please consult CTDL_MANual's files.
#sysPassword "c:fleegle.sys"
This tells Citadel the name of the FILE containing the Sysop PASSWORD.
This is NOT the actual password. The password in this example would
go in a file called FLEEGLE.SYS located in the same directory as CTDL.EXE.
The actual password MUST be at LEAST 15 characters in length.
#MIRRORMSG 0
Set this to 1 if you are going to use a RAMdisk to hold your message file.
#MSG2AREA "c:system"
This tells Citadel where to store your RAMdisk (if used).
/******* patch file for external Hayes 2400 clones ********/
/* This collection of routines is absolutely essential if */
/* you are using ANY type of 2400bps modem which claims */
/* Hayes compatibility. They won't hurt you if you are */
/* running at slower baudrates, and are probably needed */
/* for proper functioning of auto-baudrate detection. */
/* ++NOTE++ Be sure to set the proper value for LOADI */
/* in the lines where baudrate dependency is commented! */
/**********************************************************/
#start HANGUP x
#code LOADI 0
#code OUTP 3FC /* change to 2FC for COM2 */
#code PAUSEI 25 /* this wait holds DTR down for 250 ms */
#code LOADI 1
#code OUTP 3FC /* change to 2FC for COM2 */
#code LOADI 83
#code OUTP 3FB /* change to 2FB for COM2 */
#code LOADI 30 /* 30h = 2400 baud 60h = 1200 baud */
/* 18h = 4800 baud 0Ch = 9600 baud */
#code OUTP 3F8 /* change to 2F8 for COM2 */
#code LOADI 0
#code OUTP 3F9 /* change to 2F9 for COM2 */
#code LOADI 3
#code OUTP 3FB /* change to 2FB for COM2 */
#code OUTSTRING "AT" /* wake up modem at baudrate, then... */
#code PAUSEI 20 /* this 250 ms wait gives modem chance to settle */
#code OUTSTRING "ATS2=255E0V0X3M1S0=2&D2" /* your modem reset string! */
#code PAUSEI 20 /* this 250 ms wait gives modem chance to settle */
#code RET x /* irrelevant return value I */
#start INITPORT x /* this routine is now dummied to keep CTDL happy */
#code RET x /* don't care about x */
#alldone x x /* end of file */
That last line, "#alldone x x", MUST be the last line of
the CTDLCNFG.SYS file. That is ABSOLUTELY essential!!
And that is all there is to it! Dump a copy of this file to your printer
so that you can have it as a reference should you need to make adjustments
to CTDLCNFG.SYS somewhere down the road when all this stuff has been
long forgotten!