home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
VRAC
/
THP111.ZIP
/
TINYHOST.CFG
< prev
next >
Wrap
Text File
|
1993-08-13
|
15KB
|
471 lines
#
# This is a typical Configuration file for TinyHost Plus V1.11
#
# It is *strongly* suggested that embedded spaces in any
# descriptor fields be avoided!
#
# All text after a pound sign ('#') on a line is ignored. So lines
# that begin with a pound sign are completely ignored. If a desired
# function is on a commented-out line, simply remove the '#'.
#
# Descriptors *must* begin in the first column of a line.
#
# Descriptors are listed here in the same order as they are
# described in the manual.
#
# This file assumes that TinyHost Plus is executed from C:\TINYHOST\BIN
#
# THPxxx.EXE, TINYHOST.CFG, etc. files should be placed in this
# directory
#
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#
# > > > Communications specific descriptors < < <
#
# # # # # # # # # #
#
# BAUD specifies starting COM port baud rate. (This can be very different
# from the modem-to-modem connect rate.) Legal values are 300, 1200, 2400,
# 4800, 7200, 9600, 14400, 19200, 38400, 57600, and 115200. Note that
# many modems *do*not* support a COM port rate of 7200 or 14400.
#
BAUD:2400 # Initial speed of modem
# # # # # # # # # #
#
# CARRIER tells TinyHost whether or not the modem's Carrier Detect (CD)
# handshake is supplied by the modem. Choices are [Y]es or [N]o. Enabling
# CARRIER permits TinyHost to better detect a disconnect (hangup).
#
CARRIER:Y # Monitor Carrier Detect (CD)
# # # # # # # # # #
#
# HANGUP is the modem command string that hangs up the modem after a
# call (puts the modem on-hook). HANGUP is necessary if CARRIER is set
# to [N]o, otherwise TinyHost may not disconnect. Presently commented
# out.
#
#HANGUP:ATH # Modem hangup string
# # # # # # # # # #
#
# INIT is the modem initialization string. The one included here is a
# good place to start, but may not work well with high-speed modems.
# The INIT string *must* include E0Q0V1 or TinyHost may not work.
#
INIT:ATE0M0Q0V1X2S0=0S2=43 # Modem Initialization string
# # # # # # # # # #
#
# IRQ can be used to specify a non-standard COM port IRQ. Legal values
# for IRQ are 2, 3, 4, 5, or 7. Presently commented out.
#
#IRQ:2
# # # # # # # # # #
#
# ISDN enables support for an ISDN phone connection. Refer to the
# manual for further details. Presently commented out.
#
#ISDN:Y # ISDN support (Y or N)
# # # # # # # # # #
#
# PORT specifies the COM port to be used (1,2,3, or 4). The standard
# DOS IRQs are assumed (IRQ4 for COM1 and COM3; IRQ3 for COM2 and COM4.
#
PORT:1 # COM port number (1,2,3, or 4)
# # # # # # # # # #
#
# RESET is for setting the modem reset command string. Optional.
# Presently commented out.
#
#RESET:ATZ #
# # # # # # # # # #
#
# RINGBACK enables or disables Ringback mode (see manual for further
# details). Setting Ringback to [N]o will allow TinyHost to answer
# an incoming call on the first ring.
#
RINGBACK:N # Ringback enabled? (Y or N)
#
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#
# > > > Security Level descriptors < < <
#
#
# # # # # # # # # #
#
# The following are example uses of the ACCESS descriptor to
# restrict user movement around the system. Typical format is:
#
# ACCESS:<directory path>,<security level>
#
# where <directory path> is the directory to be made available or
# protected, and <security level> is the minimum necessary for
# access to that directory. Up to 25 ACCESS descriptors can be
# defined.
#
# There is also a special case of setting an access level:
#
# ACCESS:DEFAULT,<security level>
#
# This sets the minimum security level needed to access a drive or
# path that is not specified by an ACCESS descriptor.
#
ACCESS:DEFAULT,9 # System-wide default directory access
ACCESS:C:\TINYHOST\BIN,9 # Access to execution directory
ACCESS:C:\TINYHOST\UPLOADS,9 # Access to default upload directory
ACCESS:C:\,9 # Access to root directory of C drive
ACCESS:A:,10 # Lock out A drive to everybody
ACCESS:B:,10 # Lock out B drive to everybody
# # # # # # # # # #
#
# BOOT is the minimum security level need to execute a Warm Boot.
# Normally, this is the same as that of the SysOp security level.
#
BOOT:9 # Warm boot security
# # # # # # # # # #
#
# CHDIR is the minimum security level needed to be able to Change
# Directories.
#
CHDIR:8 # Change directory security level
# # # # # # # # # #
#
# DOWNLOAD sets the minimum security level needed to download a file.
# Defaults to level 0 (anyone can download).
#
DOWNLOAD:7 # Minimum security level to download
# # # # # # # # # #
#
# OVERWRITE is the minimum security level needed to overwrite an
# existing file when uploading.
#
OVERWRITE:9 # File overwrite security
# # # # # # # # # #
#
# PRIVATE is the minimum security level needed to leave a Private
# message to another user. Defaults to 0 (zero).
#
PRIVATE:3 # Level 3+ needed to leave a message
# # # # # # # # # #
#
# PUBLIC is the minimum security level needed to leave a Public
# message. Defaults to 0 (zero).
#
PUBLIC:3 # Level 3+ needed to leave a Public msg.
# # # # # # # # # #
#
# SHELL is the minimum security level needed to execute the Shell-
# -to-DOS command. The file THREMOTE.BAT must also be in the
# directory that the user is currently in for the Shell command to
# successfully execute.
#
SHELL:9 # Set Shell-to-DOS to SysOp level (9+)
# # # # # # # # # #
#
# SYSOP is the minimum security level needed to execute SysOp
# specific functions such as the Quit command.
#
SYSOP:9 # Set SysOp level at 9+
# # # # # # # # # #
#
# TYPE sets the minimum security level needed to [T]ype (display) a
# file. Defaults to 0 (zero).
#
TYPE:3 # Set [T]ype at 3+
# # # # # # # # # #
#
# UPLOAD is the minimum security level needed to Upload a file.
#
UPLOAD:7 # Minimum security level to upload
# # # # # # # # # #
#
# UPLOAD_DIR permits defining a directory where all uploads will be
# stored. The format for this descriptor is:
#
# UPLOAD_DIR:<directory path>,<security level>
#
# where <directory path> is the complete path to the directory where
# the uploads are to be placed, and <security> is the minimum security
# level needed to override this feature. The following sample would
# place the uploads of everyone with security levels less than 9 into
# the C:\TINYHOST\UPLOADS directory. Users with a level of 9 or
# greater would have their uploads placed in the current TinyHost
# directory.
#
UPLOAD_DIR:C:\TINYHOST\UPLOADS,9
# # # # # # # # # #
#
# The following are user account definitions. Up to 100 user accounts
# can be defined in the registered version of TinyHost (the Shareware
# version permits up to 10). The format for a USER definition is:
#
# USER:<first name>,<last name>,<password>,<security level>
#
# <first name> - User's first name, up to 15 characters
# <last name> - User's last name, up to 30 characters
# <password> - User's password, up to 8 characters
# <security level> - User's security level, 0-10
#
# Embedded spaces are *not* permitted in any of the USER data fields.
#
USER:Sam,Sysop,GODLIKE,9 # SysOp account
USER:Joe,Shmoe,JOEUSER,7 # Average user account
USER:New,User,GUEST,1 # Possible new user account
# # # # # # # # # #
#
# VIEW is the minimum security level needed to View the user list.
# If not specified, defaults to a level of 0 (zero).
#
VIEW:3 # Set View User List at 3+
#
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#
# > > > General descriptors < < <
#
#
# # # # # # # # # #
#
# CHAT sets the default Operator Chat mode (enabled or disabled).
#
CHAT:Y # Enable Operator Chat (Y or N)
# # # # # # # # # #
#
# DBUG enables the display of modem result codes on the local TinyHost
# screen. This can be useful when trying to troubleshoot a modem
# problem. Defaults to NO (off). Presently commented out.
#
#DBUG:Y # Enables debug mode
# # # # # # # # # #
#
# EVENT specifies a time-of-day for TinyHost to quit to DOS. The
# time must be specified in 24-hour format (midnight equals 0000).
# Presently commented out.
#
#EVENT:1449 # Would cause TH to exit at 2:49PM
# # # # # # # # # #
#
# EXTERNAL permits installing an external file transfer protocol (such
# as DSZ's ZModem) into TinyHost. The descriptor format is:
#
# EXTERNAL:<protocol name>,<download batch>,<upload batch>
#
# For more information on implementing External protocols, see
# Section 4.3 of the TinyHost manual.
#
# The sample EXTERNAL descriptor is commented out.
#
#EXTERNAL:Zmodem,ZMXMIT,ZMRCV
# # # # # # # # # #
#
# LOG enables or disables the logging of user activity to the
# TINYHOST.LOG file.
#
LOG:Y # Log user activity (Y or N)
# # # # # # # # # #
#
# SCRNSAVER enables the built-in screen saver and specifies the
# number of seconds delay before the local screen is blanked. This
# function is enabled in the Registered version of TinyHost only.
#
SCRNSAVER:Y,300 # Enables screensaver with a 5 minute delay
# # # # # # # # # #
#
# SOUND permits disabling the program sounds at the local system.
# This feature is also enabled in the Registered version only.
#
SOUND:N # Turns off the program beeps.
# # # # # # # # # #
#
# START specified the directory that a remote user will be placed in
# upon logon.
#
START:C:\TINYHOST # Start-up directory
#
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#
# > > > TinyHost Plus specific descriptors < < <
#
#
# # # # # # # # # #
#
# CALLDBUG will display the progress of the call on the local screen.
# This can be useful when trying to debug a Call Out event. No other
# information is needed for enabling this feature - simply adding the
# descriptor is sufficient.
CALLDBUG # Enables Call Out event local display
# # # # # # # # # #
#
# PERSONAL specifies the path and minimum security necessary for access
# to a Personal Directory (one which only the user and SysOp can access
# remotely). Descriptor format is:
#
# PERSONAL:<path>,<security>
#
# where
# <path> is the system path where the personal directories are to be
# located. TinyHost Plus will create them automatically.
# <security> is the minimum security level needed to have one's own
# Personal Directory.
#
# The following sample (commented out) would create Personal Directories
# for users with a security level of 7 or greater, and store them in the
# C:\TINYHOST\BIN\PERSONAL subdirectory (which *must* already exist).
#PERSONAL:C:\TINYHOST\BIN\PERSONAL,7
# # # # # # # # # #
#
# TIMEOUT permits setting the length of time that TinyHost Plus is to
# run after it's started. After that time has elapsed, TinyHost Plus
# will quit and return to DOS. The descriptor format is:
#
# TIMEOUT:<hhmm>
#
# where <hhmm> is the number of hours and minutes (from 0000-2359) that
# are to elapse. Set TIMEOUT like one would set a digital timer: hh can
# be a value from 00-23, and mm can be a value from 00-59. The following
# sample descriptor (commented out) would allow TinyHost Plus to run for
# 1 hour and 30 minutes before exiting.
#TIMEOUT:0130
# # # # # # # # # #
#
# CALL defines a Call Out event or function. This descriptor *must*
# appear before a RECEIVE or SEND descriptor. CALL format is:
#
# CALL:<hhmm>,<dial>,<first>,<last>,<password>,<retries>
#
# <hhmm> - Time that the event is to be run (in 24-hour military
# format, 0000-2359 with 0000 being midnight). All four digits
# must be present. An hour value of 99 will cause the CALL event
# to execut immediately.
# <dial> - The modem dialing string which includes the phone number.
# <first> - First name of logon account
# <last> - Last name of logon account
# <password> - Password of logon account
# <retries> - Number of times to call out to attempt connection
#
# The following sample CALL event (commented out) would call the TinyHost
# Support BBS at 1:30 AM, logon with the name Fred Mbogo, password FOOBAR,
# and would try calling 3 times for a connection.
#CALL:0130,ATDT17169244193,Fred,Mbogo,FOOBAR,3
# # # # # # # # # #
#
# RECEIVE is the descriptor used to specify a file to be downloaded from
# the remote system. RECEIVE *must* follow a valid CALL descriptor. The
# descriptor format for RECEIVE is:
#
# RECEIVE:<path>,<filename>,<protocol>
#
# <path> - the remote system's directory path to the file to be downloaded
# <filename> - is the name of the file to download
# <protocol> - is the number of the protocol to be used - 1 for XModem;
# 2 for 1K/XModem.
#
# The following sample download (commented out) would move to the
# C:\TINYHOST directory of the remote system and download ZORKMID.TXT
# using XModem.
#RECEIVE:C:\TINYHOST,ZORKMID.TXT,1
# # # # # # # # # #
#
# SEND is the descriptor used to specify a file to be uploaded to the
# remote system. SEND *must* follow a valid CALL descriptor. The descriptor
# format for SEND is:
#
# SEND:<path>,<filename>,<protocol>,<overwrite>
#
# <path> - the remote system's directory path where the file is to be placed
# <filename> - is the filename (with an optional path) to be uploaded from
# from the calling (local) system to the remote system
# <protocol> - is the number of the file transfer protocol to be used - 1
# for XModem/CRC; 2 for 1K/XModem.
# <overwrite> - specifies whether or not an existing remote file of the same
# name is to be overwritten (if permitted). <overwrite> expects a
# 'Y' or 'N', and is optional.
#
# The following sample descriptor (commented out) would upload the file
# ZORKMID.TXT to the remote system's C:\TINYHOST directory using 1K/XModem.
# If security permitted, an existing file of the same name would be over-
# written.
#SEND:C:\TINYHOST,ZORKMID.TXT,2,Y
# # # # # # # # # #
#
# As mentioned in the READ.ME file, a problem was found in the code
# at the last minute, so the following descriptor is undocumented.
#
# NOPRIME should be added if there are problems either initializing
# TinyHost or getting an incoming call answered. Simply remove the
# comment character (#) from the line below.
#NOPRIME