home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
new
/
comm
/
bbs
/
4d-bbsdemo
/
docs
/
text
/
03.getting_started
< prev
next >
Wrap
Text File
|
1993-12-28
|
20KB
|
522 lines
Chapter 3: Getting Started
3.1 Command Line Parameters (CLP)
4D-BBS uses command line parameters (CLP) to allow you to customize
its behavior to suit your needs right from startup! CLPs are arguments
used in normal DOS commands.
4D-BBS also uses a configuration file that imitates the CLPs, however
a CLP will always override the setting of the configuration file.
All parameters are preceeded with a "/" or "-" and should be spaced
apart BETWEEN THE PARAMETERS. NO spaces should be between the "/" or "-"
and the actual command itself. CLPs CAN NOT be stacked by using a single
"/" or "-" with multiple commands.
A "#" following a CLP should be replaced by a numerical value, and a
"$" should be replaced by a character string. The "!" following a CLP
indicates the CLP is a switch. A blank or a "0" following the CLP is
considered off, while a "1" is considered on.
In the event a space is needed for a parameter, enclose JUST that
parameter including the "/" or "-" within quotation marks. The commands
ARE case sensitive.
3.1.1 CLP Descriptions
CLP DESCRIPTION
A! Enter ARexx Port Server Mode, Wait for Commands
Brings the BBS up in WAIT mode and does NOT monitor the serial port. This
mode is used mainly as an ARexx server. (Refer to Chapter 10.)
Example: 4D-BBS -A
a$ ARexx Port Name
Allows you to change the base ARexx port name created when 4D-BBS is
started up. All ARexx doors and scripts should address this name if you
want 4D-BBS to recognize the commands. (Refer to Chapter 10.)
Example: 4D-BBS -aARexxName
B# True Baud Rate of "/o" Call
Lets 4D-BBS know the true baud rate if different than the serial baud rate.
Used for login and transfer time calculations. This command only has an
affect when used with the "b" CLP.
Example: 4D-BBS -o1 -b19200 -B2400 Range: 300-115,200
b# Lock the Serial Baud Rate
Allows 4D-BBS and your modem to send information at a fixed serial rate.
This is only needed for modems which have data compression capabilities.
(Refer to Chapter 12.)
Without "/o" CLP: Lock Serial Port at rate With "/o" CLP: Serial Baud
rate for call
Example: 4D-BBS -b38400 Range: 300-115,200
C# Number of Last Callers Saved
Allows you to set the number of callers saved to the file "BBS:lastcall.t".
If you have low memory try to keep this number as low as possible.
Example: 4D-BBS -C10 Range: 1-30
c# Number of Bitplanes to Use (Colors = 2^#)
If you have low memory, run multiple lines, or are running on an
unaccelerated Amiga, use "1" or "2" here not only to save memory, but to
speed up the BBS. This setting has NO affect on the user's color, as they
will see the full set of colors.
Example: 4D-BBS -c2 Range: 1-4 (2-16 colors)
D$ Filename of Directories Data File
A data file containing a list of alternative paths for 4D-BBS to use. The
order of the paths or assigns is as follows:
BBS Path or Assign FILE Path or Assign MENU Path or Assign TEXT Path or
Assign USERS Path or Assign BOARDS Path or Assign DOORS Path or Assign
Example: 4D-BBS -DBBS:AltPaths.Dat
d# Hang-up Behavior of BBS
0: Don't do anything to hang-up (used in a spawn mode)
1: Drop DTR to hang up modem
2: Use "+++,,,ATH" to hang-up modem
Example: 4D-BBS -d1
f$ Font to Use with 4D-BBS
You can use just about any font you wish with 4D-BBS. It will look in your
"FONTS:" directory and append the ".font" on the end if it is not already
there. If the requested font is already open in RAM, it will use it. If
not, it will open your diskfont and use it.
Example: 4D-BBS -fGraphics.font
G$ Configuration File to Use
Instead of using the default "S:4D.Config" file, you can specify an
optional file for 4D-BBS to get its configuration settings from. The FULL
path must be given.
Example: 4D-BBS -GS:4D2.config
h! Reset to System High Baud After Every Caller
This is mostly used in conjunction with the other serial and baud related
CLPs. When the BBS is running in continuous answer modem, it will reset
BACK to the system high baud after each call when this parameter is given.
Normally it will stay at the last caller's baud rate, until another call at
a different baud rate comes in.
Example: 4D-BBS -h1
H! Hide Screen and Don't Make Active when Starting
Tells 4D-BBS to open its custom screen in the back, and NOT make it the
active screen. Normally used with "/o1" when being spawned by another
program.
Example: 4D-BBS -H1
I! Open 4D-BBS in Iconified Mode Instead of Full Screen
This is a very handy memory saving option. The user receives a slightly
faster response time as local screens and windows are not updated. A small
title bar will appear to give you system status reports including on-line
users name and their activity. You can un-iconify 4D-BBS by quickly
clicking the left then right mouse buttons while pointing in the small
window. The close gadget will completely shutdown the BBS, so be careful
when using it.
Example: 4D-BBS -I
K! Turn Keyboard Input Off when 4D-BBS is Started
Allows you to switch off normal keyboard input, the AMIGA key commands, and
function keys. Your mouse or an ARexx script is the only way to turn
keyboard input back on.
NOTE: If you use the CLP of "-M" to switch your pull down menus OFF to
save memory and do not have an ARexx script to turn your keyboard back ON
4D-BBS will not recognize keystrokes. Use the option in "Defs" pull down
menu to toggle this option.
Example: 4D-BBS -K1
L# Number of Screen Lines to Use
Sets the number of displayable lines to the SysOp. If your screen/window
is not large enough 4D-BBS will increase the size. A number greater than
32 will cause an interlaced screen to be opened.
Example: 4D-BBS -L50 Range: 20-60
M! Disable Pull-Down Menus
Saves memory by disabling the pull-down menus. You cannot use the
pull-down menus or the AMIGA keys if you set this CLP. The function keys
will NOT be disabled.
Example: 4D-BBS -M1
m$ Replacement File for BBS:Modem.dat
In the event that you are running multiple modems, allows you to use a
different modem data file without editing the same file for each change of
modem. Can also be used in a multi-line situation, when different modems
are being used. Will only be in effect is auto-detect is enabled in the
configuration editor.
Example: 4D-BBS -mBBS:ModemUSR.dat
N$ Forced User Name if Using "/o"
The string following N will be used as the user name, and the user will not
be prompted for one. The CLP "-P" is normally associated with this
command. If BOTH "-N" and "-P" are given with the "/o1" or "/os" CLP, and
the name or password is incorrect, 4D-BBS will quit returning an error
code. If just "-N" and "/o1" or "/os" is given the user will be prompted
for a password. If the password is given incorrectly three times, 4D-BBS
will quit returning an error.
In the event the BBS is spawned from another program (i.e. the BBS is not
responsible for responding to the phone line) a script can be written to
automatically log you into the BBS using the "/os", "-N" and "-P"
parameters. This will function as pressing F10 for the SysOp local logon
from the BBS wait screen.
If the user name contains a space in it, surround just this CLP with double
quotation marks.
Example: 4D-BBS -os "-NJohn Doe" "-Pjane"
o! Logon Once Remote, Without a Waiting Screen
os Logon Once Local, Without a Waiting Screen (can also be -o2)
This is mainly used by a network front end program to call up 4D-BBS when a
carrier is present. 4D-BBS will send the opening logon screen, and act as
if it had responded to the phone. Once the call is complete, the BBS will
shut down, and return control to the calling program.
For a remote spawn, the calling program will need to pass the "-b" CLP to
tell 4D-BBS what serial rate to use. The "-B" CLP should also be passed to
tell 4D-BBS what the true carrier rate is.
For a local spawn ("/os") 4D-BBS will not actually open the serial port.
The serial I/O will not checked during the session, but everything else
will function as a normal call. (Refer to Chapter 14 for more information
on Networking.)
Example: 4D-BBS -o1 -b19200 -B14400
P$ Forced User Pa