#!/bin/sh
#
# file to execute prior to starting main bbs program
#


# some security holes can be used through use of IFS
# setting to NULL closes many holes
IFS=""

# generic path
PATH=/bin:/usr/bin:/usr/games:/usr/local/bin:/usr/ucb
export PATH

# path and sysop
BBSDIR=/bbs
SYSOP=shaw

# generic preferences
VISUAL=pico
EDITOR=pico

export BBSDIR SYSOP VISUAL EDITOR IFS

# set shell environment variable
SHELL=$BBSDIR/rocat
export SHELL

# setup defaults (like ctrl-h as backspace)

stty erase "^H" kill "^U" intr "^C" eof "^D" 
stty hupcl ixon ixoff 

exec $SHELL
