+ if [ ! -d "$GENERATED_STORE" ]; then
+ mkdir -p "$GENERATED_STORE"
+ fi
+ # set up our effluent outsourcing valves.
+ if [ -z "$TEMPORARIES_PILE" ]; then
+ define_yeti_variable TEMPORARIES_PILE="$GENERATED_STORE/temporaries"
+ fi
+ if [ ! -d "$TEMPORARIES_PILE" ]; then
+ mkdir -p "$TEMPORARIES_PILE"
+ fi
+
+ # similarly, make sure we have someplace to look for our generated files, if
+ # we were not handed a value.
+ if [ -z "$FEISTY_MEOW_LOADING_DOCK" ]; then
+ # The generated scripts directory is where automatically generated files live.
+ # It is separate from the main body of the shell scripts in order to keep things from
+ # exploding.
+ define_yeti_variable FEISTY_MEOW_LOADING_DOCK=$HOME/.zz_feisty_loading
+ fi
+
+ ##############
+
+ # umask sets a permission mask for all file creations.
+ # this mask disallows writes by "group" and "others".
+ umask 022
+ # this mask disallows writes by the "group" and disallows "others" completely.
+ #umask 027
+
+ # ulimit sets user limits. we set the maximum allowed core dump file size
+ # to zero, because it is obnoxious to see the core dumps from crashed
+ # programs lying around everywhere.
+ ulimit -c 0
+
+ ##############
+
+ # user variables, sort of... if they haven't given themselves a name yet,
+ # then we will make one up for them.
+
+ # define a default name, if one wasn't already set.
+ if [ -z "$NAME" ]; then
+ define_yeti_variable NAME='Unset Q. Namington, Fixley Your Name III'
+ fi
+
+ ##############
+
+ # variables for perl.
+
+ define_yeti_variable PERLLIB+="/usr/lib/perl5"
+ define_yeti_variable PERL5LIB+="/usr/lib/perl5"
+ if [ "$OS" == "Windows_NT" ]; then
+ define_yeti_variable PERLIO=:perlio
+ # choose perl's IO over the ms-windows version so we can handle file
+ # bytes properly.
+ fi
+
+ # iterate across our sub-directories and find the perl scripts.
+ # this currently only looks one level down.
+ for i in $FEISTY_MEOW_SCRIPTS/*; do
+ if [ -d "$i" ]; then
+ # check if there is a perl file present; add the folder to PERLLIB if so.
+ ls $i/*.pl &>/dev/null
+ if [ $? -eq 0 ]; then
+ PERLLIB+=":$(dos_to_unix_path $i)"
+ PERL5LIB+=":$(dos_to_unix_path $i)"
+ fi
+ fi
+ done
+ #echo PERLLIB is now $PERLLIB
+
+ ##############
+
+ # set this so nechung can find its data.
+ define_yeti_variable NECHUNG=$FEISTY_MEOW_APEX/infobase/fortunes.dat
+
+## # establish a pipe for less to see our beloved syntax highlighting.
+## define_yeti_variable LESSOPEN="| source-highlight -f esc -o STDOUT -i %s"