cleaned up many variable usages, etc.
authorChris Koeritz <fred@gruntose.com>
Sat, 28 Jan 2012 20:56:50 +0000 (15:56 -0500)
committerChris Koeritz <fred@gruntose.com>
Sat, 28 Jan 2012 20:56:50 +0000 (15:56 -0500)
60 files changed:
docs/clam_manual/clam_docs.html
docs/perl_tools.html
scripts/archival/pack_yeti.sh
scripts/archival/shared_snarfer.pl
scripts/archival/snarf_yeti.pl
scripts/buildor/buildor_strip_code.sh
scripts/buildor/buildor_writable_code.sh
scripts/buildor/find_one_word_comments.sh
scripts/buildor/manifester.sh
scripts/buildor/stdbuild.sh
scripts/clam/variables.def
scripts/core/bootstrap_shells.sh
scripts/core/byejob.sh
scripts/core/common.alias
scripts/core/create_tempdir.sh
scripts/core/functions.sh
scripts/core/generate_aliases.pl
scripts/core/goodbye.sh
scripts/core/i.sh
scripts/core/lightweight_unix_login.sh
scripts/core/profile.sh
scripts/core/sh_aliases.txt [deleted file]
scripts/core/unix_login.sh
scripts/core/unter_alia.sh
scripts/core/variables.sh
scripts/database/backup_mysql_dbs.sh
scripts/email/move_spams_and_check.sh
scripts/examples/custom_overrides/fred/c_variables.sh [deleted file]
scripts/examples/custom_overrides/fred/fred_common.alias [new file with mode: 0644]
scripts/examples/custom_overrides/fred/fred_common.aliases [deleted file]
scripts/examples/custom_overrides/fred/fred_variables.sh [new file with mode: 0644]
scripts/examples/custom_overrides/readme.txt
scripts/files/find_bad_protection.sh
scripts/files/recursive_renlower.sh
scripts/files/recursive_whack_dupes.sh
scripts/makefile
scripts/multimedia/play_random.sh
scripts/multimedia/randomly_play.sh
scripts/multimedia/sound_play.sh
scripts/opensim/backup_opensim.sh
scripts/opensim/backup_osgrid.sh
scripts/opensim/maybe_restart_opensim.sh
scripts/opensim/run_opensim.sh
scripts/opensim/run_osgrid.sh
scripts/opensim/stop_opensim.sh
scripts/opensim/stop_osgrid.sh
scripts/processes/pskill.sh
scripts/rev_control/checkin.sh
scripts/rev_control/getme.sh
scripts/schedule/start_calendar.sh
scripts/security/start_tunnels.sh
scripts/security/tell_zooty_our_ip.sh
scripts/system/osx_cd_mounter.sh
scripts/text/smoove_lists.sh
scripts/tty/keep_awake.sh
scripts/tty/keep_awake_process.sh
scripts/tty/label_terminal_with_infos.sh
scripts/tty/lockup.sh
scripts/tty/ssh.sh
scripts/users/findme.sh

index 8bfa888bf451e932c21f4fab5bfd2dbe98ea65ee..7e052a2c63c74c04178c76053c9b63f6bbd806b3 100644 (file)
@@ -165,7 +165,7 @@ CLAM</big></h2>
   <li><big>Setting environment variables for clam:</big></li>
   <small> </small><big> </big><small> </small>
   <ol>
   <li><big>Setting environment variables for clam:</big></li>
   <small> </small><big> </big><small> </small>
   <ol>
-    <li><big>YETI_DIR:</big></li>
+    <li><big>FEISTY_MEOW_DIR:</big></li>
     <small> </small><big> </big><small> </small>
     <ol>
       <small> </small><big> </big><small> </small>
     <small> </small><big> </big><small> </small>
     <ol>
       <small> </small><big> </big><small> </small>
@@ -175,7 +175,7 @@ CLAM</big></h2>
 This variable has been needed since clam became
 part of the YETIcode project (at <a href="http://yeticode.org/">http://yeticode.org</a>).</big></li>
       <small> </small>
 This variable has been needed since clam became
 part of the YETIcode project (at <a href="http://yeticode.org/">http://yeticode.org</a>).</big></li>
       <small> </small>
-      <li><big>The default location for clam is under the YETI_DIR
+      <li><big>The default location for clam is under the FEISTY_MEOW_DIR
 in a
 folder named clam, although the version of clam shipped with the HOOPLE
 code (http://hoople.org) actually lives under the root of the hoople
 in a
 folder named clam, although the version of clam shipped with the HOOPLE
 code (http://hoople.org) actually lives under the root of the hoople
@@ -184,7 +184,7 @@ hierarchy.<br>
       <small> </small><big> </big><small> </small>
       <li><big>If the yeti root directory is in $HOME/yeti
 already, then the
       <small> </small><big> </big><small> </small>
       <li><big>If the yeti root directory is in $HOME/yeti
 already, then the
-default for YETI_DIR will work and it doesn't need to be declared.</big></li>
+default for FEISTY_MEOW_DIR will work and it doesn't need to be declared.</big></li>
       <li><big>Setting the variable:<br>
         </big></li>
       <small> </small><big> </big><small> </small>
       <li><big>Setting the variable:<br>
         </big></li>
       <small> </small><big> </big><small> </small>
@@ -221,10 +221,10 @@ to find the clam definitions and scripts.</big></li>
       <ol>
         <small> </small><big> </big><small> </small>
         <li><big>On Unix (assuming bash as shell): <span
       <ol>
         <small> </small><big> </big><small> </small>
         <li><big>On Unix (assuming bash as shell): <span
- style="font-weight: bold;">export MAKEFLAGS="-I $YETI_DIR/clam"</span></big></li>
+ style="font-weight: bold;">export MAKEFLAGS="-I $FEISTY_MEOW_DIR/clam"</span></big></li>
         <small> </small><big> </big><small> </small>
         <li><big>On win32: <span style="font-weight: bold;">set
         <small> </small><big> </big><small> </small>
         <li><big>On win32: <span style="font-weight: bold;">set
-MAKEFLAGS="-I %YETI_DIR%/clam"</span></big></li>
+MAKEFLAGS="-I %FEISTY_MEOW_DIR%/clam"</span></big></li>
         <small> </small><big> </big><small> </small>
         <li><big>This variable also requires forward slashes
 instead of
         <small> </small><big> </big><small> </small>
         <li><big>This variable also requires forward slashes
 instead of
index 6a14c438ae7b81dfd501fc4393af06422ac940b4..4349555f6e06d5b5e6b2e3df91d05cbaceeb3e8b 100644 (file)
@@ -43,7 +43,7 @@ License</a> for details of licensing.<span style="font-style: italic;"></span><b
 these files.&nbsp; If you destroy your life by running one of them, I
 will have sympathy, but that's about it.</li>
         <li>Some of these shell scripts depend on environment variables.&nbsp;
 these files.&nbsp; If you destroy your life by running one of them, I
 will have sympathy, but that's about it.</li>
         <li>Some of these shell scripts depend on environment variables.&nbsp;
-The most frequent case of this is YETI_DIR, which should point to the
+The most frequent case of this is FEISTY_MEOW_DIR, which should point to the
 top-level
 directory where the YETIcode scripts are stored on your
 machine. &nbsp; This variable is set by default when the scripts are in
 top-level
 directory where the YETIcode scripts are stored on your
 machine. &nbsp; This variable is set by default when the scripts are in
@@ -210,7 +210,7 @@ passed on the command line into one gigundo stream which is passed to
 standard output. The output can be piped into another file as desired.</blockquote>
         <h3> <a href="../core/generate_aliases.pl">generate_aliases.pl</a></h3>
         <blockquote>Performs some useful activities for the YETI shell
 standard output. The output can be piped into another file as desired.</blockquote>
         <h3> <a href="../core/generate_aliases.pl">generate_aliases.pl</a></h3>
         <blockquote>Performs some useful activities for the YETI shell
-environment.&nbsp; Using the environment variable for SHELLDIR (which
+environment.&nbsp; Using the environment variable for FEISTY_MEOW_SCRIPTS (which
 is set in the appropriate startup files to be the shell scripts
 directory, where all this stuff lives), generate_aliases will create
 all of the aliases files for the combinations of operating systems and
 is set in the appropriate startup files to be the shell scripts
 directory, where all this stuff lives), generate_aliases will create
 all of the aliases files for the combinations of operating systems and
index d6932200dc502711f26fb5376b52f533b0ecbea9..71080e600c0d993d78cb8fa4e38f8b4276f16e85 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
 #!/bin/bash
 
-cd $YETI_DIR
+cd $FEISTY_MEOW_DIR
   # change to the yeti root.
 
 cd ..
   # change to the yeti root.
 
 cd ..
index 4a3d51d1aa36acc1d1083e708cd54d07d16421af..783a80d21781218d67fc33f4c4e3fa3457b7e7ac 100644 (file)
@@ -449,7 +449,7 @@ sub restore_archive {
   if ($outcome) { die("failure to undo archive"); }
 
   local($outcome) =
   if ($outcome) { die("failure to undo archive"); }
 
   local($outcome) =
-      0xff & system "bash", "$SHELLDIR/files/normal_perm.sh", ".";
+      0xff & system "bash", "$FEISTY_MEOW_SCRIPTS/files/normal_perm.sh", ".";
   if ($outcome) { die("failure to normalize permissions"); }
 
   # remove any links that might have crept in; these can cause mischief.
   if ($outcome) { die("failure to normalize permissions"); }
 
   # remove any links that might have crept in; these can cause mischief.
index 61ffff08f6b13d16db833bacb4a74fd7d77b5638..0510b2f26fa84baa4f542c56e0dca26f9f46579a 100644 (file)
@@ -27,7 +27,7 @@ require "shared_snarfer.pl";
 local($number) = &retrieve_number("aa_backup");
 
 # variables for directory location to backup and the file to dump it in.
 local($number) = &retrieve_number("aa_backup");
 
 # variables for directory location to backup and the file to dump it in.
-local($root) = $YETI_DIR;
+local($root) = $FEISTY_MEOW_DIR;
 local($base) = &snarf_prefix("yeti");
 local($snarf_file) = &snarf_name($base, $number);
 
 local($base) = &snarf_prefix("yeti");
 local($snarf_file) = &snarf_name($base, $number);
 
index c7190c68cc2a3cea7985cb727354f61848257278..eb5c6d4784c029aa3bca5fee64cdc05e06be76d3 100644 (file)
@@ -1,10 +1,10 @@
 #!/bin/bash
 
 #!/bin/bash
 
-source "$YETI_DIR/scripts/build/seek_all_source.sh"
+source "$FEISTY_MEOW_DIR/scripts/build/seek_all_source.sh"
 
 function strip_file {
   file="$1"
 
 function strip_file {
   file="$1"
-  perl $SHELLDIR/text/strip_cr.pl "$file"
+  perl $FEISTY_MEOW_SCRIPTS/text/strip_cr.pl "$file"
 }
 
 #echo tempfile is $SOURCES_FOUND_LIST
 }
 
 #echo tempfile is $SOURCES_FOUND_LIST
index ad5e1a94439ffaacc4af0b0c1dabd22470b208b7..de92db09d8a3cb36b1a29d3f16142272ceb5f748 100644 (file)
@@ -4,7 +4,7 @@ source $REPOSITORY_DIR/bin/seek_all_source.sh
 
 function strip_file {
   file=$1
 
 function strip_file {
   file=$1
-  perl $SHELLDIR/strip_cr.pl $file
+  perl $FEISTY_MEOW_SCRIPTS/strip_cr.pl $file
 }
 
 #echo tempfile is $SOURCES_FOUND_LIST
 }
 
 #echo tempfile is $SOURCES_FOUND_LIST
index c131878fc841be5627f5ad67308cc5a1099bf95c..3b686f79d4c0641ea46e55b6444b79d9684eb58d 100644 (file)
@@ -8,7 +8,7 @@
 
 SOURCES_FOUND_LIST="$(mktemp "$TMP/sources_found.XXXXXX")"
 
 
 SOURCES_FOUND_LIST="$(mktemp "$TMP/sources_found.XXXXXX")"
 
-source $SHELLDIR/build/seek_all_source.sh $*
+source $FEISTY_MEOW_SCRIPTS/build/seek_all_source.sh $*
   # got a list of source files now.
 
 function examine_file {
   # got a list of source files now.
 
 function examine_file {
index 75a52bbf9359b91821644f93920e0823c0b74af5..805db54eeae6587209868655595b2ff21d402947 100644 (file)
@@ -7,6 +7,6 @@ if [ -z "$dir" ]; then
 fi
 
 for i in $dir/*.exe; do
 fi
 
 for i in $dir/*.exe; do
-  mt -manifest $SHELLDIR/clam/cpp/security_manifest.txt -outputresource:$i\;\#1
+  mt -manifest $FEISTY_MEOW_SCRIPTS/clam/cpp/security_manifest.txt -outputresource:$i\;\#1
 done 
 
 done 
 
index 92e4b8a7ee1d46f4e95e1f9e38f39cd58e31876c..7708469a2c3cac9649f48d8009c72cb8407bf36c 100644 (file)
@@ -5,7 +5,7 @@
 #
 # go to the main folder of the project you're building before you run this.
 
 #
 # go to the main folder of the project you're building before you run this.
 
-source $SHELLDIR/core/date_stringer.sh
+source $FEISTY_MEOW_SCRIPTS/core/date_stringer.sh
 
 echo "$(date_stringer)"
 echo "Building application from $(\pwd)"
 
 echo "$(date_stringer)"
 echo "Building application from $(\pwd)"
index 9699504f98e0df7bc7328ce3c55735e5ce9dd251..96f4f91f3989b381495e67a326eeda94e9cb64c0 100644 (file)
@@ -76,7 +76,7 @@ endif
 # standard CLAM location, then modify this appropriately.
 export CLAM_DIR
 # must be set externally!
 # standard CLAM location, then modify this appropriately.
 export CLAM_DIR
 # must be set externally!
-#export CLAM_DIR := $(SHELLDIR)/clam
+#export CLAM_DIR := $(FEISTY_MEOW_SCRIPTS)/clam
 
 # "TARGETS_DIR" is where all generated files will end up.  Usually the
 # files are put in a subdirectory named after their file type, such as
 
 # "TARGETS_DIR" is where all generated files will end up.  Usually the
 # files are put in a subdirectory named after their file type, such as
index c8e4a3cda83a42952a89a40657f9e13b22fb91ff..5ce180c199664cff299c494c59f96c3b01883933 100644 (file)
@@ -23,36 +23,35 @@ THIS_TOOL_NAME="$(basename "$0")"
 #fi
 #popd &>/dev/null
 
 #fi
 #popd &>/dev/null
 
-# set up the yeti dir.
+# set up the feisty_meow dir.
 pushd "$YETI_CORE_SCRIPTS_DIR/../.." &>/dev/null
 pushd "$YETI_CORE_SCRIPTS_DIR/../.." &>/dev/null
-export YETI_DIR="$(pwd)"
+export FEISTY_MEOW_DIR="$(pwd)"
 popd &>/dev/null
 popd &>/dev/null
-#echo yeti is $YETI_DIR
+#echo feisty_meow is $FEISTY_MEOW_DIR
 
 
-export YETI_SCRIPTS="$YETI_DIR/scripts"
-export SHELLDIR="$YETI_SCRIPTS"
+export FEISTY_MEOW_SCRIPTS="$FEISTY_MEOW_DIR/scripts"
 
 
-# GENERADIR is where the generated files yeti uses are located.
-export GENERADIR="$HOME/.zz_auto_gen"
+# FEISTY_MEOW_GENERATED is where the generated files feisty_meow uses are located.
+export FEISTY_MEOW_GENERATED="$HOME/.zz_auto_gen"
 if [ ! -z "$WINDIR" -o ! -z "$windir" ]; then
   # assume they are using windoze.
 if [ ! -z "$WINDIR" -o ! -z "$windir" ]; then
   # assume they are using windoze.
-  export GENERADIR="$TMP/zz_auto_gen"
+  export FEISTY_MEOW_GENERATED="$TMP/zz_auto_gen"
 fi
 fi
-if [ ! -d "$GENERADIR" ]; then
-  mkdir "$GENERADIR"
+if [ ! -d "$FEISTY_MEOW_GENERATED" ]; then
+  mkdir "$FEISTY_MEOW_GENERATED"
 fi
 
 fi
 
-YETIVARS="$GENERADIR/yeti_variables.sh"
-echo >"$YETIVARS"
-for i in YETI_DIR YETI_SCRIPTS SHELLDIR GENERADIR; do
-  echo "export $i=${!i}" >>"$YETIVARS"
+GENERATED_FEISTY_MEOW_VARIABLES="$FEISTY_MEOW_GENERATED/feisty_meow_variables.sh"
+echo >"$GENERATED_FEISTY_MEOW_VARIABLES"
+for i in FEISTY_MEOW_DIR FEISTY_MEOW_SCRIPTS FEISTY_MEOW_GENERATED; do
+  echo "export $i=${!i}" >>"$GENERATED_FEISTY_MEOW_VARIABLES"
 done
 
 # create our common aliases.
 done
 
 # create our common aliases.
-perl "$YETI_SCRIPTS/core/generate_aliases.pl"
+perl "$FEISTY_MEOW_SCRIPTS/core/generate_aliases.pl"
 
 
-echo -e '\n\n'
-echo Established this set of variables to describe how to find yeti assets:
-cat "$YETIVARS"
-echo -e '\n'
+echo ==========================================
+echo Established this set of variables to describe how to find feisty_meow assets:
+cat "$GENERATED_FEISTY_MEOW_VARIABLES"
+echo ==========================================
 
 
index 64c33de02cba99803229c15b282c09f9c07b2d25..f210e20a2cd3a6012ad5c376b526a8e78ce549e6 100644 (file)
@@ -6,7 +6,7 @@ export LIGHTWEIGHT_INIT=true  # make sure we just get our variables.
 source $HOME/yeti/scripts/profile.sh
 export host=$(hostname)
 
 source $HOME/yeti/scripts/profile.sh
 export host=$(hostname)
 
-source $SHELLDIR/core/date_stringer.sh
+source $FEISTY_MEOW_SCRIPTS/core/date_stringer.sh
 
 # use this to always print the message.
 #  export hostlist=$host
 
 # use this to always print the message.
 #  export hostlist=$host
@@ -36,7 +36,7 @@ for i in $hostlist; do
   if [ "$host" = "$i" -o "$host" = "$i.$DOMAIN_NAME" ]; then
 #    echo $(date_stringer)": $host matched." >>$HOME/host_matched_in_byejob.txt
     ( /bin/bash <<end
   if [ "$host" = "$i" -o "$host" = "$i.$DOMAIN_NAME" ]; then
 #    echo $(date_stringer)": $host matched." >>$HOME/host_matched_in_byejob.txt
     ( /bin/bash <<end
-      sleep 7; bash $SHELLDIR/byemessage.sh /dev/console
+      sleep 7; bash $FEISTY_MEOW_SCRIPTS/byemessage.sh /dev/console
 end
     )&
 jobs
 end
     )&
 jobs
index b3b738ef5e23d4fbbd41ac78db62ac73999dbd5b..914843caeafc0007684f854efbc2099c032a34a0 100644 (file)
@@ -9,14 +9,14 @@ alias cd....='\cd ../../..'
 alias cd.....='\cd ../../../..'
 alias copy='\cp -i -v '
 alias cp='\cp -i -v '
 alias cd.....='\cd ../../../..'
 alias copy='\cp -i -v '
 alias cp='\cp -i -v '
-alias cvs='perl $SHELLDIR/rev_control/cvs_fix.pl'
-alias del='perl $SHELLDIR/files/safedel.pl'
-alias deltree='perl $SHELLDIR/files/safedel.pl'
+alias cvs='perl $FEISTY_MEOW_SCRIPTS/rev_control/cvs_fix.pl'
+alias del='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl'
+alias deltree='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl'
 alias df='\df -m'
 alias df='\df -m'
-alias dir='perl $SHELLDIR/files/summing_dir.pl'
+alias dir='perl $FEISTY_MEOW_SCRIPTS/files/summing_dir.pl'
 alias du='\du -h'
 alias dvd_rip='vobcopy -m'
 alias du='\du -h'
 alias dvd_rip='vobcopy -m'
-alias erase='perl $SHELLDIR/files/safedel.pl'
+alias erase='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl'
 alias l='\ls -FC $color_add'
 alias ls='\ls -FC $color_add'
 alias lsd='ls -l'
 alias l='\ls -FC $color_add'
 alias ls='\ls -FC $color_add'
 alias lsd='ls -l'
@@ -28,13 +28,13 @@ alias mplayer='\mplayer -ao arts'
 alias mv='\mv -i -v '
 alias np='gvim'
 alias path='echo $PATH'
 alias mv='\mv -i -v '
 alias np='gvim'
 alias path='echo $PATH'
-alias play='bash $SHELLDIR/multimedia/sound_play.sh'
-alias rmdir='perl $SHELLDIR/files/zapdirs.pl'
-alias rd='perl $SHELLDIR/files/zapdirs.pl'
+alias play='bash $FEISTY_MEOW_SCRIPTS/multimedia/sound_play.sh'
+alias rmdir='perl $FEISTY_MEOW_SCRIPTS/files/zapdirs.pl'
+alias rd='perl $FEISTY_MEOW_SCRIPTS/files/zapdirs.pl'
 #regen-- this might be better as a function.
 #regen-- this might be better as a function.
-alias regenerate='bash $SHELLDIR/core/bootstrap_shells.sh ; perl $SHELLDIR/core/generate_aliases.pl ; echo ; nechung'
+alias regenerate='bash $FEISTY_MEOW_SCRIPTS/core/bootstrap_shells.sh ; perl $FEISTY_MEOW_SCRIPTS/core/generate_aliases.pl ; echo ; nechung'
 alias reroot='chown -R root:root /root'
 alias reroot='chown -R root:root /root'
-alias rm='perl $SHELLDIR/files/safedel.pl'
+alias rm='perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl'
 alias ren='\mv -v -i '
 alias up='cd ..'
 alias whence=which
 alias ren='\mv -v -i '
 alias up='cd ..'
 alias whence=which
@@ -43,7 +43,7 @@ alias xtroff='xtroff $myxflags'
 
 #hmmm: move these to the custom area?
 # Standard CAK aliases that add to or extend Unix commands.
 
 #hmmm: move these to the custom area?
 # Standard CAK aliases that add to or extend Unix commands.
-alias bye='. $SHELLDIR/core/goodbye.sh'
+alias bye='. $FEISTY_MEOW_SCRIPTS/core/goodbye.sh'
 alias calc='kcalc'
 alias cls='clear_colormap; clear'
 if [ "$OS" != "Windows_NT" ]; then
 alias calc='kcalc'
 alias cls='clear_colormap; clear'
 if [ "$OS" != "Windows_NT" ]; then
@@ -57,8 +57,8 @@ if [ "$OS" != "Windows_NT" ]; then
     alias exp='konqueror'
   fi
 else
     alias exp='konqueror'
   fi
 else
-  alias explorer="bash $SHELLDIR/winders/exploder.sh"
-  alias exp="bash $SHELLDIR/winders/exploder.sh"
+  alias explorer="bash $FEISTY_MEOW_SCRIPTS/winders/exploder.sh"
+  alias exp="bash $FEISTY_MEOW_SCRIPTS/winders/exploder.sh"
 fi
 alias pwd="/bin/pwd|sed -e 's/^\/home\/$USER/~/'"
 alias notepad='gedit'
 fi
 alias pwd="/bin/pwd|sed -e 's/^\/home\/$USER/~/'"
 alias notepad='gedit'
@@ -70,9 +70,9 @@ alias whereami='echo whoa dude, try not to think about it...'
 alias why='echo just because.'
 
 # call the generated aliases file, if it exists.
 alias why='echo just because.'
 
 # call the generated aliases file, if it exists.
-if [ -f "$GENERADIR/p_alias.sh" ]; then 
+if [ -f "$FEISTY_MEOW_GENERATED/p_alias.sh" ]; then 
   if [ ! -z "$SHELL_DEBUG" ]; then echo launching generated aliases.; fi
   if [ ! -z "$SHELL_DEBUG" ]; then echo launching generated aliases.; fi
-  source $GENERADIR/p_alias.sh
+  source $FEISTY_MEOW_GENERATED/p_alias.sh
   if [ ! -z "$SHELL_DEBUG" ]; then echo done with generated aliases.; fi
 fi
 
   if [ ! -z "$SHELL_DEBUG" ]; then echo done with generated aliases.; fi
 fi
 
index 4ef9ebe236418c8b9221a8b63505b2e0e4382864..07241b6059615ccf6183bfdb8753939a2e63205c 100644 (file)
@@ -5,7 +5,7 @@
 # This creates a temporary directory for transient files if such a directory
 # does not already exist.
 
 # This creates a temporary directory for transient files if such a directory
 # does not already exist.
 
-source $SHELLDIR/core/date_stringer.sh
+source $FEISTY_MEOW_SCRIPTS/core/date_stringer.sh
 
 if [ ! -z "$SHELL_DEBUG" ]; then echo creating temporary directory...; fi
 
 
 if [ ! -z "$SHELL_DEBUG" ]; then echo creating temporary directory...; fi
 
index 45cc1b88884eb985c6b8a58a22ea34c3f03f20ff..55a77d193ba62c7775272913c069040427c79a54 100644 (file)
@@ -115,7 +115,7 @@ function su {
     # information for su.
 
     # get the x authority info for our current user.
     # information for su.
 
     # get the x authority info for our current user.
-    source $SHELLDIR/x_win/get_x_auth.sh
+    source $FEISTY_MEOW_SCRIPTS/x_win/get_x_auth.sh
 
     if [ -z "$X_auth_info" ]; then
       # if there's no authentication info to pass along, we just do a normal su.
 
     if [ -z "$X_auth_info" ]; then
       # if there's no authentication info to pass along, we just do a normal su.
@@ -132,7 +132,7 @@ function su {
   fi
 
   # relabel the console after returning.
   fi
 
   # relabel the console after returning.
-  bash $SHELLDIR/tty/label_terminal_with_infos.sh
+  bash $FEISTY_MEOW_SCRIPTS/tty/label_terminal_with_infos.sh
 }
 
 # sudo function wraps the normal sudo by ensuring we replace the terminal
 }
 
 # sudo function wraps the normal sudo by ensuring we replace the terminal
@@ -142,7 +142,7 @@ function sudo {
   /usr/bin/sudo $*
   if [ "$first_command" == "su" ]; then
     # yep, they were doing an su, but they're back now.
   /usr/bin/sudo $*
   if [ "$first_command" == "su" ]; then
     # yep, they were doing an su, but they're back now.
-    bash $SHELLDIR/tty/label_terminal_with_infos.sh
+    bash $FEISTY_MEOW_SCRIPTS/tty/label_terminal_with_infos.sh
   fi
 }
 
   fi
 }
 
@@ -170,7 +170,7 @@ function buntar {
 # this kind of assumes you've already checked them for any salient facts.
 function clean_cvs_junk {
   for i in $*; do
 # this kind of assumes you've already checked them for any salient facts.
 function clean_cvs_junk {
   for i in $*; do
-    find $i -follow -type f -iname ".#*" -exec perl $SHELLDIR/files/safedel.pl {} ";" 
+    find $i -follow -type f -iname ".#*" -exec perl $FEISTY_MEOW_SCRIPTS/files/safedel.pl {} ";" 
   done
 }
 
   done
 }
 
index ab1f6d954d32f582e3a3a53615c35e3cab4bd63b..e8ef595f7b8916b4a4a3e0c762d7d0d105f4eb21 100644 (file)
@@ -70,9 +70,9 @@ sub load_file_names {
 ##############
 
 # make sure we know where to store the files we're creating.
 ##############
 
 # make sure we know where to store the files we're creating.
-if ( ! length("$GENERADIR") ) {
+if ( ! length("$FEISTY_MEOW_GENERATED") ) {
   print "\
   print "\
-The GENERADIR variable is not defined.  This must point to the location where\n\
+The FEISTY_MEOW_GENERATED variable is not defined.  This must point to the location where\n\
 the generated scripts are stored.  Perhaps you still need to run\n\
 bootstrap_shells.sh and set up some environment variables.  Please see\n\
 http://yeticode.org for more details.\n";
 the generated scripts are stored.  Perhaps you still need to run\n\
 bootstrap_shells.sh and set up some environment variables.  Please see\n\
 http://yeticode.org for more details.\n";
@@ -80,13 +80,13 @@ http://yeticode.org for more details.\n";
 #really need to use better exit codes.
 }
 
 #really need to use better exit codes.
 }
 
-$GENERADIR =~ s/\\/\//g;
-$SHELLDIR =~ s/\\/\//g;
-$YETI_DIR =~ s/\\/\//g;
+$FEISTY_MEOW_GENERATED =~ s/\\/\//g;
+$FEISTY_MEOW_SCRIPTS =~ s/\\/\//g;
+$FEISTY_MEOW_DIR =~ s/\\/\//g;
 
 # create our generated shells directory if it's not already there.
 
 # create our generated shells directory if it's not already there.
-if (! -d $GENERADIR) {
-  mkdir $GENERADIR;
+if (! -d $FEISTY_MEOW_GENERATED) {
+  mkdir $FEISTY_MEOW_GENERATED;
 }
 
 ##############
 }
 
 ##############
@@ -98,28 +98,28 @@ if (-d $BINDIR) {
 
 ##############
 
 
 ##############
 
-system("bash \"$SHELLDIR\"/core/unter_alia.sh");
+system("bash \"$FEISTY_MEOW_SCRIPTS\"/core/unter_alia.sh");
   # generate the first set of alias files; these are the root files used
   # by the shell.  each of them will be written to in turn invoke the
   # generate the first set of alias files; these are the root files used
   # by the shell.  each of them will be written to in turn invoke the
-  # p_alias files which are made from the set of scripts in YETI_SCRIPTS
+  # p_alias files which are made from the set of scripts in FEISTY_MEOW_SCRIPTS
   # (see below).
 
 # trash the old versions.
   # (see below).
 
 # trash the old versions.
-unlink("$GENERADIR/p_alias.sh");
+unlink("$FEISTY_MEOW_GENERATED/p_alias.sh");
 
 
-printf "writing $GENERADIR/p_alias.sh...\n";
+printf "writing $FEISTY_MEOW_GENERATED/p_alias.sh...\n";
 
 # open the alias files to be created.
 
 # open the alias files to be created.
-open(she, ">> $GENERADIR/p_alias.sh");
+open(she, ">> $FEISTY_MEOW_GENERATED/p_alias.sh");
 
 #print "os is $OS\n";
 
 # find the list of files in the scripts directory.
 
 #print "os is $OS\n";
 
 # find the list of files in the scripts directory.
-#opendir(scripts, "$SHELLDIR");
+#opendir(scripts, "$FEISTY_MEOW_SCRIPTS");
 #@shell_files = sort(readdir(scripts));
 #print "yeti scripts: @shell_files\n";
 
 #@shell_files = sort(readdir(scripts));
 #print "yeti scripts: @shell_files\n";
 
-@shell_files = &load_file_names("$SHELLDIR");
+@shell_files = &load_file_names("$FEISTY_MEOW_SCRIPTS");
 
 # construct aliases for items in the scripts directory.
 foreach $file (@shell_files) {
 
 # construct aliases for items in the scripts directory.
 foreach $file (@shell_files) {
@@ -127,14 +127,17 @@ foreach $file (@shell_files) {
   if ($file =~ '^\.$'
       || $file =~ '^\.\.$'
       || $file =~ '^.svn$'
   if ($file =~ '^\.$'
       || $file =~ '^\.\.$'
       || $file =~ '^.svn$'
+      || $file =~ '^.git$'
       || $file =~ /\/\.$/
       || $file =~ /\/\.\.$/
       || $file =~ /\/\.$/
       || $file =~ /\/\.\.$/
-      || $file =~ /\/\.svn$/) {
+      || $file =~ /\/\.svn$/
+      || $file =~ /\/\.git$/
+      ) {
     # just skip this item; it's a special directory.
     # just skip this item; it's a special directory.
-  } elsif (-d "$SHELLDIR/$file") {
+  } elsif (-d "$FEISTY_MEOW_SCRIPTS/$file") {
     # if we see a subdirectory in the scripts folder, we add all the
     # scripts in it as aliases.  we recurse only one level.
     # if we see a subdirectory in the scripts folder, we add all the
     # scripts in it as aliases.  we recurse only one level.
-    opendir(subdir, "$SHELLDIR/$file");
+    opendir(subdir, "$FEISTY_MEOW_SCRIPTS/$file");
     @subdir_files = sort(readdir(subdir));
     foreach $subfile (@subdir_files) {
       push(@shell_files, "$file/$subfile");
     @subdir_files = sort(readdir(subdir));
     foreach $subfile (@subdir_files) {
       push(@shell_files, "$file/$subfile");
@@ -142,7 +145,7 @@ foreach $file (@shell_files) {
   } else {
     # if it's a regular file, we'll try to make an alias for it.  the function
     # will only fire if the ending is appropriate for the script languages we use.
   } else {
     # if it's a regular file, we'll try to make an alias for it.  the function
     # will only fire if the ending is appropriate for the script languages we use.
-    &make_alias($file, "$SHELLDIR");
+    &make_alias($file, "$FEISTY_MEOW_SCRIPTS");
   }
 }
 
   }
 }
 
index 9d0cd243db801933f8e865df5b819b71be36ad67..c16ac4b62ec20801857d6e900b3f31d8d7bd91fb 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/bash
 #!/bin/bash
-bash $SHELLDIR/byemessage.sh
+bash $FEISTY_MEOW_SCRIPTS/byemessage.sh
 
 
-nohup bash $SHELLDIR/byejob.sh >/dev/null 2>&1
+nohup bash $FEISTY_MEOW_SCRIPTS/byejob.sh >/dev/null 2>&1
 
 if [ -f $TMP/trash.last_keep_awake_process ]; then
   kill -9 $(cat $TMP/trash.last_keep_awake_process)
 
 if [ -f $TMP/trash.last_keep_awake_process ]; then
   kill -9 $(cat $TMP/trash.last_keep_awake_process)
index 18460d3d1a390664d7162d48b0442e65d93cc279..90edb2a5af29e340957186b614574fa7595cff77 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 (
 #!/bin/bash
 
 (
-source $SHELLDIR/core/date_stringer.sh
+source $FEISTY_MEOW_SCRIPTS/core/date_stringer.sh
 
 echo '###############################################################################'
 echo
 
 echo '###############################################################################'
 echo
@@ -22,7 +22,7 @@ echo
 echo '###############################################################################'
 echo
 echo You are running the following processes:
 echo '###############################################################################'
 echo
 echo You are running the following processes:
-. $SHELLDIR/users/findme.sh
+. $FEISTY_MEOW_SCRIPTS/users/findme.sh
 echo
 echo '###############################################################################'
 ) | less
 echo
 echo '###############################################################################'
 ) | less
index 34b22415caa8bb19073729f1a2dcbec36df96409..99afe94e975716a1d922f6f89b231a47f405f386 100644 (file)
@@ -4,5 +4,5 @@
 # lightweight version of unix login script.
 #
 
 # lightweight version of unix login script.
 #
 
-source $SHELLDIR/core/variables.sh
-source $SHELLDIR/core/create_tempdir.sh
+source $FEISTY_MEOW_SCRIPTS/core/variables.sh
+source $FEISTY_MEOW_SCRIPTS/core/create_tempdir.sh
index 54f9b5ce2a8ccdee2cfc7d3f18c9a4f187f65c12..7f03bf890c8416a2b094b89680404b93b1797e6c 100644 (file)
@@ -9,16 +9,16 @@ export SHELL_DEBUG=true
   # when they run.
 
 ####fault--repeated code from bootstrap.  isolate to shared location.
   # when they run.
 
 ####fault--repeated code from bootstrap.  isolate to shared location.
-# GENERADIR is where the generated files yeti uses are located.
-export GENERADIR="$HOME/.zz_auto_gen"
+# FEISTY_MEOW_GENERATED is where the generated files yeti uses are located.
+export FEISTY_MEOW_GENERATED="$HOME/.zz_auto_gen"
 if [ ! -z "$WINDIR" -o ! -z "$windir" ]; then
   # assume they are using windoze.
 if [ ! -z "$WINDIR" -o ! -z "$windir" ]; then
   # assume they are using windoze.
-  export GENERADIR="$TMP/zz_auto_gen"
+  export FEISTY_MEOW_GENERATED="$TMP/zz_auto_gen"
 fi
 
 # make sure our main variables are established.
 fi
 
 # make sure our main variables are established.
-YETIVARS="$GENERADIR/yeti_variables.sh"
-if [ ! -f "$YETIVARS" ]; then
+GENERATED_FEISTY_MEOW_VARIABLES="$FEISTY_MEOW_GENERATED/feisty_meow_variables.sh"
+if [ ! -f "$GENERATED_FEISTY_MEOW_VARIABLES" ]; then
   echo -e '\n\n'
   echo "The yeti scripts need to be initialized via the bootstrap process, e.g.:"
   echo "  bash $HOME/feisty_meow/scripts/core/bootstrap_shells.sh"
   echo -e '\n\n'
   echo "The yeti scripts need to be initialized via the bootstrap process, e.g.:"
   echo "  bash $HOME/feisty_meow/scripts/core/bootstrap_shells.sh"
@@ -26,7 +26,7 @@ if [ ! -f "$YETIVARS" ]; then
 fi
 
 # pull in our variable set.
 fi
 
 # pull in our variable set.
-source "$YETIVARS"
+source "$GENERATED_FEISTY_MEOW_VARIABLES"
 
 # define a default name, if one wasn't already set.
 if [ -z "$NAME" ]; then
 
 # define a default name, if one wasn't already set.
 if [ -z "$NAME" ]; then
@@ -41,14 +41,14 @@ if [ "$OS" == "Windows_NT" ]; then
     export HOME=/c/home
   fi
   if [ ! -d "$HOME" ]; then mkdir $HOME; fi
     export HOME=/c/home
   fi
   if [ ! -d "$HOME" ]; then mkdir $HOME; fi
-##  export GENERADIR=$TMP/zz_auto_gen
+##  export FEISTY_MEOW_GENERATED=$TMP/zz_auto_gen
 fi
 
 if [ -z "$LIGHTWEIGHT_INIT" ]; then
   # perform the bulk of the login.
 fi
 
 if [ -z "$LIGHTWEIGHT_INIT" ]; then
   # perform the bulk of the login.
-  source $SHELLDIR/core/unix_login.sh
+  source $FEISTY_MEOW_SCRIPTS/core/unix_login.sh
 else
   # this is the lightweight login that just wants variables set.
 else
   # this is the lightweight login that just wants variables set.
-  source $SHELLDIR/core/lightweight_unix_login.sh
+  source $FEISTY_MEOW_SCRIPTS/core/lightweight_unix_login.sh
 fi
 
 fi
 
diff --git a/scripts/core/sh_aliases.txt b/scripts/core/sh_aliases.txt
deleted file mode 100644 (file)
index d1652be..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-# This file contains aliases that extend the set of commands available
-# to the interactive shell user in Unix.  They are personally tailored.
-
-if [ ! -z "$SHELL_DEBUG" ]; then
-  echo specialized alias initialization begins...
-fi
-
-# define our functions for use in the shell.
-source "$SHELLDIR/core/functions.sh"
-
-# Standard CAK aliases that add to or extend Unix commands.
-alias bye='. $SHELLDIR/core/goodbye.sh'
-alias calc='kcalc'
-alias cls='clear_colormap; clear'
-if [ "$OS" != "Windows_NT" ]; then
-  if [ -n "$IS_DARWIN" ]; then
-    # case for mac os x.
-    alias exp='open'
-  elif [ ! -z "$(which nautilus)" ]; then
-    alias exp='nautilus'
-  else
-#check if konqueror exists also?  fall back to uhhh midnight cmdr?
-    alias exp='konqueror'
-  fi
-else
-  alias explorer="bash $SHELLDIR/winders/exploder.sh"
-  alias exp="bash $SHELLDIR/winders/exploder.sh"
-fi
-
-alias pwd="/bin/pwd|sed -e 's/^\/home\/$USER/~/'"
-alias notepad='gedit'
-if [ "$OS" = "Windows_NT" ]; then
-  # aliases we only use on the winders side.
-  alias vi='gvim'
-fi
-
-# su function: makes su perform a login.
-# for some OSes, this transfers the X authority information to the new login.
-function su {
-  # decide if we think this is debian or ubuntu or a variant.
-  DEBIAN_LIKE=$(if [ ! -z "$(grep -i debian /etc/issue)" \
-      -o ! -z "$(grep -i ubuntu /etc/issue)" ]; then echo 1; else echo 0; fi)
-
-  if [ $DEBIAN_LIKE -eq 1 ]; then
-    # debian currently requires the full version which imports X authority
-    # information for su.
-
-    # get the x authority info for our current user.
-    source $SHELLDIR/x_win/get_x_auth.sh
-
-    if [ -z "$X_auth_info" ]; then
-      # if there's no authentication info to pass along, we just do a normal su.
-      /bin/su -l $*
-    else
-      # under X, we update the new login's authority info with the previous
-      # user's info.
-      (unset XAUTHORITY; /bin/su -l $* -c "$X_auth_info ; export DISPLAY=$DISPLAY ; bash")
-    fi
-  else
-    # non-debian supposedly doesn't need the extra overhead any more.
-    # or at least suse doesn't, which is the other one we've tested on.
-    /bin/su -l $*
-  fi
-
-  # relabel the console after returning.
-  bash $SHELLDIR/tty/label_terminal_with_infos.sh
-}
-
-# sudo function wraps the normal sudo by ensuring we replace the terminal
-# label if they're doing an su with the sudo.
-function sudo {
-  local first_command="$1"
-  /usr/bin/sudo $*
-  if [ "$first_command" == "su" ]; then
-    # yep, they were doing an su, but they're back now.
-    bash $SHELLDIR/tty/label_terminal_with_infos.sh
-  fi
-}
-
-alias whereami='echo whoa dude, try not to think about it...'
-
-# buntar is a long needed uncompressing macro that feeds into tar -x.
-# it takes a list of bz2 file names and extracts their contents into
-# sequentially numbered directories.
-function buntar {
-  index=1
-  for i in $*; do
-    mkdir buntar_$index
-    pushd buntar_$index &>/dev/null
-    file=$i
-    # if the filename has no directory component, we will assume it used to
-    # be above our unzipping directory here.
-    if [ "$(basename $file)" = $file ]; then
-      file=../$file
-    fi
-    bunzip2 -d -c $file | tar -xf -
-    popd &>/dev/null
-    index=$(expr $index + 1)
-  done
-}
-
-# trashes the .#blah files that cvs and svn leave behind when finding conflicts.
-# this kind of assumes you've already checked them for any salient facts.
-function clean_cvs_junk {
-  for i in $*; do
-    find $i -follow -type f -iname ".#*" -exec perl $SHELLDIR/files/safedel.pl {} ";" 
-  done
-}
-
-# call the generated aliases file, if it exists.
-if [ -f "$GENERADIR/p_alias.sh" ]; then 
-  if [ ! -z "$SHELL_DEBUG" ]; then echo launching generated aliases.; fi
-  source $GENERADIR/p_alias.sh
-  if [ ! -z "$SHELL_DEBUG" ]; then echo done with generated aliases.; fi
-fi
-
-# remove the fredization macro if it was defined, helping to avoid running
-# the shell scripts twice for users like root that don't always load this
-# stuff.
-unalias fredme >/dev/null 2>&1
-
-if [ ! -z "$SHELL_DEBUG" ]; then echo aliases initialization ends....; fi
-
index 4d5c47688f14b1a39e4af9f2839ca18848827265..418677f3c3a5a065a0649355d39d534eb2d37e28 100644 (file)
@@ -6,16 +6,16 @@
 
 if [ ! -z "$SHELL_DEBUG" ]; then echo unix login begins...; fi
 
 
 if [ ! -z "$SHELL_DEBUG" ]; then echo unix login begins...; fi
 
-GENERADIR=$(echo $GENERADIR | sed -e 's/\\/\//g')
-YETI_SCRIPTS="$(echo $YETI_SCRIPTS | sed -e 's/\\/\//g')"
-SHELLDIR="$YETI_SCRIPTS"
+FEISTY_MEOW_GENERATED=$(echo $FEISTY_MEOW_GENERATED | sed -e 's/\\/\//g')
+FEISTY_MEOW_SCRIPTS="$(echo $FEISTY_MEOW_SCRIPTS | sed -e 's/\\/\//g')"
+FEISTY_MEOW_SCRIPTS="$FEISTY_MEOW_SCRIPTS"
 
 # Set up all of the environment's system variables.  This is the first step
 # in the majestic plan we have for this shell's initialization.
 
 # Set up all of the environment's system variables.  This is the first step
 # in the majestic plan we have for this shell's initialization.
-source $YETI_SCRIPTS/core/variables.sh
+source $FEISTY_MEOW_SCRIPTS/core/variables.sh
 
 # Also set up the temporary directory...
 
 # Also set up the temporary directory...
-source $YETI_SCRIPTS/core/create_tempdir.sh
+source $FEISTY_MEOW_SCRIPTS/core/create_tempdir.sh
 
 # ulimit and umask.  umask sets a permission mask for all file
 # creations.  The mask shown here disallows writing by the "group" and
 
 # ulimit and umask.  umask sets a permission mask for all file
 # creations.  The mask shown here disallows writing by the "group" and
@@ -32,7 +32,7 @@ if [ $? -ne 0 ]; then
   if [ ! -z "$SHELL_DEBUG" ]; then
     echo the aliases were missing, now they are added...
   fi
   if [ ! -z "$SHELL_DEBUG" ]; then
     echo the aliases were missing, now they are added...
   fi
-  source $GENERADIR/aliases.sh
+  source $FEISTY_MEOW_GENERATED/aliases.sh
 fi
 
 # allow connections to our x server from the local host.
 fi
 
 # allow connections to our x server from the local host.
@@ -44,7 +44,7 @@ if [ ! -z "$DISPLAY" ]; then
 fi
 
 # a minor tickle of the title of the terminal, in case there is one.
 fi
 
 # a minor tickle of the title of the terminal, in case there is one.
-bash $YETI_SCRIPTS/tty/label_terminal_with_infos.sh
+bash $FEISTY_MEOW_SCRIPTS/tty/label_terminal_with_infos.sh
 
 if [ ! -z "$SHELL_DEBUG" ]; then echo unix login ends....; fi
 
 
 if [ ! -z "$SHELL_DEBUG" ]; then echo unix login ends....; fi
 
index 644ca2989e8fa8271f93f53f1f3cf7eaac149065..43c414cb5a26d1dc412db640f2cd218cf368ceb1 100644 (file)
@@ -1,74 +1,59 @@
 #!/bin/bash
 
 # generates alias files for different operating systems and shell scripts.
 #!/bin/bash
 
 # generates alias files for different operating systems and shell scripts.
+# or really, mainly for bash these days, on linux.  but we also run under
+# msys and cygwin to some degree.
 #
 #
-# This script generates command alias definitions for a variety of different
-# shells.  The "common.alias" file is used in all of the generated
-# files as a base set of generally useful aliases.  Then the appropriate
-# shell's specific aliases are added in; these are named after the shell that
-# they support, e.g. "sh_aliases.txt" is used with the sh and bash shells.
-# The third component of the file is a set of aliases generated automatically
-# from the names of all the shell scripts in SHELLDIR.
+# The "common.alias" file is used in the generated aliases file as a base
+# set of generally useful aliases.  Shorter aliases based on any scripts
+# we can find in the feisty meow script hierarchy are added in as well.
 #
 #
-# Additionally, if a file named "c_common_aliases.txt" is found in the
-# $SHELLDIR/custom directory, then it is added in after the other alias files
-# and can override any existing aliases or provide additional local aliases.
-# This file is not included with the YETIcode scripts, since it is intended
-# to be provided by individual users.
-#
-# Further, if any other shell-specific alias files are found mirrored under
-# the custom folder, they are pulled in as overrides for that kind of shell.
-# For example, there is a sh_aliases.txt in the scripts directory for sh,
-# but if there's also scripts/custom/c_sh_aliases.txt, then that will be
-# plugged in as well.
+# If any other alias files are found in the scripts/custom folder, they
+# are pulled in as additions and overrides for the basic feisty meow command
+# set.
+
+if [ ! -z "$SHELL_DEBUG" ]; then echo rebuiling generated aliases file...; fi
 
 # create our generated shells directory if it's not already.
 
 # create our generated shells directory if it's not already.
-if [ ! -d $GENERADIR ]; then mkdir $GENERADIR; fi
+if [ ! -d $FEISTY_MEOW_GENERATED ]; then mkdir $FEISTY_MEOW_GENERATED; fi
 
 # test if we can use color in ls...
 test_color=$(ls --help 2>&1 | grep -i color)
 
 
 # test if we can use color in ls...
 test_color=$(ls --help 2>&1 | grep -i color)
 
-export COMMON_FILES=$SHELLDIR/core/common_aliases.txt
+ALIAS_DEFINITION_FILES=("$FEISTY_MEOW_SCRIPTS/core/common.alias")
 # if custom aliases files exist, add them to the list.
 # if custom aliases files exist, add them to the list.
-for i in "$SHELLDIR/custom/*.txt"; do
-  COMMON_FILES+=" $i"
+for i in "$FEISTY_MEOW_SCRIPTS/custom/*.alias"; do
+echo adding $i
+  ALIAS_DEFINITION_FILES+=("$i")
+done
+echo "alias files:"
+for i in "${ALIAS_DEFINITION_FILES[@]}"; do
+  echo "  $(basename $(dirname $i))/$(basename $i)"
 done
 done
-echo -e "Found alias files:\n$COMMON_FILES"
 
 # write the aliases for sh and bash scripts.
 
 
 # write the aliases for sh and bash scripts.
 
-export ALIASES_FILE="$GENERADIR/aliases.sh"
-echo "writing $ALIASES_FILE..."
+GENERATED_ALIAS_FILE="$FEISTY_MEOW_GENERATED/aliases.sh"
+echo "writing $GENERATED_ALIAS_FILE..."
 
 #hmmm: perhaps a good place for a function to create the header,
 #      given the appropriate comment code.
 
 
 #hmmm: perhaps a good place for a function to create the header,
 #      given the appropriate comment code.
 
-echo "##" >$ALIASES_FILE
-echo "## generated file: $ALIASES_FILE" >>$ALIASES_FILE
-echo "## please do not edit." >>$ALIASES_FILE
-echo "##" >>$ALIASES_FILE
+echo "##" >$GENERATED_ALIAS_FILE
+echo "## generated file: $GENERATED_ALIAS_FILE" >>$GENERATED_ALIAS_FILE
+echo "## please do not edit." >>$GENERATED_ALIAS_FILE
+echo "##" >>$GENERATED_ALIAS_FILE
 
 if [ ! -z "$test_color" ]; then
 
 if [ ! -z "$test_color" ]; then
-  echo "color_add=--color=auto" >>$ALIASES_FILE
+  echo "color_add=--color=auto" >>$GENERATED_ALIAS_FILE
 else
 else
-  echo "color_add=" >>$ALIASES_FILE
+  echo "color_add=" >>$GENERATED_ALIAS_FILE
 fi
 
 fi
 
-# we process the alias file to add the word "alias" to the first of every
-# line that's not a comment.
-#cat $COMMON_FILES | sed -e 's/^\([^#]\)/alias \1/' >>$ALIASES_FILE 
-#nope: we no longer do that.
-
-cat $COMMON_FILES >>$ALIASES_FILE 
-
-#echo "##" >>$ALIASES_FILE
-#echo "## now including shell specific additions..." >>$ALIASES_FILE
-#echo "##" >>$ALIASES_FILE
-## then just dump the sh specific alias stuff into the file.
-#cat $SHELLDIR/core/sh_aliases.txt >>$ALIASES_FILE 
-# add in customized sh aliases if they exist.
-#if [ -f "$SHELLDIR/custom/c_sh_aliases.txt" ]; then
-#  cat $SHELLDIR/custom/c_sh_aliases.txt >>$ALIASES_FILE 
-#fi
+# plow in the full set of aliases into the file.
+for i in "${ALIAS_DEFINITION_FILES[@]}"; do
+  cat $i >>$GENERATED_ALIAS_FILE 
+done
 
 
+if [ ! -z "$SHELL_DEBUG" ]; then echo done rebuiling generated aliases file.; fi
 
 
index 07e03ee65d0d8d6314fa42e1cdd81faf01206b0c..65c896f6548691457908ad2eaeef7fe5dffae68c 100644 (file)
@@ -41,21 +41,21 @@ fi
 # configuration examples, javascript code, and other stuff.
 export SCRIPT_SYSTEM=feisty_meow
 
 # configuration examples, javascript code, and other stuff.
 export SCRIPT_SYSTEM=feisty_meow
 
-#if [ -z "$YETI_DIR" ]; then export YETI_DIR="$HOME/$SCRIPT_SYSTEM"; fi
-#if [ -z "$YETI_SCRIPTS" ]; then export YETI_SCRIPTS="$YETI_DIR/scripts"; fi
-#if [ -z "$SHELLDIR" ]; then export SHELLDIR="$YETI_SCRIPTS"; fi
+#if [ -z "$FEISTY_MEOW_DIR" ]; then export FEISTY_MEOW_DIR="$HOME/$SCRIPT_SYSTEM"; fi
+#if [ -z "$FEISTY_MEOW_SCRIPTS" ]; then export FEISTY_MEOW_SCRIPTS="$FEISTY_MEOW_DIR/scripts"; fi
+#if [ -z "$FEISTY_MEOW_SCRIPTS" ]; then export FEISTY_MEOW_SCRIPTS="$FEISTY_MEOW_SCRIPTS"; fi
 
 # include helpful functions.
 
 # include helpful functions.
-source "$YETI_SCRIPTS/core/functions.sh"
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
 
 # LIBDIR is an older variable that points at the root of the yeti code.
 
 # LIBDIR is an older variable that points at the root of the yeti code.
-export LIBDIR=$YETI_DIR
+export LIBDIR=$FEISTY_MEOW_DIR
 
 
-if [ -z "$GENERADIR" ]; then
+if [ -z "$FEISTY_MEOW_GENERATED" ]; 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.
   # 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.
-  export GENERADIR=$HOME/.zz_auto_gen
+  export FEISTY_MEOW_GENERATED=$HOME/.zz_auto_gen
 fi
 
 ##############################################################################
 fi
 
 ##############################################################################
@@ -63,8 +63,10 @@ fi
 ##############################################################################
 
 # pull in the custom overrides for feisty_meow scripts.
 ##############################################################################
 
 # pull in the custom overrides for feisty_meow scripts.
-for i in $YETI_SCRIPTS/custom/*.sh; do
-  echo "Sourcing custom file: $i"
+for i in $FEISTY_MEOW_SCRIPTS/custom/*.sh; do
+  if [ ! -z "$SHELL_DEBUG" ]; then
+    echo "loading customization: $(basename $(dirname $i))/$(basename $i)"
+  fi
   source $i
 done
 
   source $i
 done
 
@@ -79,16 +81,16 @@ export PERLLIB
 if [ "$OS" != "Windows_NT" ]; then
   PERLLIB+="/usr/lib/perl5"
 else
 if [ "$OS" != "Windows_NT" ]; then
   PERLLIB+="/usr/lib/perl5"
 else
-#echo "the scripts dir is $YETI_SCRIPTS"
-  YETI_SCRIPTS="$(echo $YETI_SCRIPTS | sed -e 's/\\/\//g')"
-  SHELLDIR="$YETI_SCRIPTS"
-#echo "the scripts dir is now $SHELLDIR"
+#echo "the scripts dir is $FEISTY_MEOW_SCRIPTS"
+  FEISTY_MEOW_SCRIPTS="$(echo $FEISTY_MEOW_SCRIPTS | sed -e 's/\\/\//g')"
+  FEISTY_MEOW_SCRIPTS="$FEISTY_MEOW_SCRIPTS"
+#echo "the scripts dir is now $FEISTY_MEOW_SCRIPTS"
   export PERLIO=:perlio
     # choose perl's IO over the system's so we can handle file bytes exactly.
 fi
 
 #make this automatic!
   export PERLIO=:perlio
     # choose perl's IO over the system's so we can handle file bytes exactly.
 fi
 
 #make this automatic!
-PERLLIB+=":$YETI_SCRIPTS/core:$YETI_SCRIPTS/text:$YETI_SCRIPTS/files:$YETI_SCRIPTS/archival"
+PERLLIB+=":$FEISTY_MEOW_SCRIPTS/core:$FEISTY_MEOW_SCRIPTS/text:$FEISTY_MEOW_SCRIPTS/files:$FEISTY_MEOW_SCRIPTS/archival"
 
 # set this so nechung can find its data.
 export NECHUNG=$LIBDIR/database/fortunes.dat
 
 # set this so nechung can find its data.
 export NECHUNG=$LIBDIR/database/fortunes.dat
@@ -164,7 +166,7 @@ if [ $found_build_vars == 1 ]; then
 fi
 
 # Set the path for locating applications.
 fi
 
 # Set the path for locating applications.
-export PATH="$(dos_to_msys_path $BINDIR):$(dos_to_msys_path $GENERADIR):$PATH:/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/lib:/usr/games:/usr/bin:."
+export PATH="$(dos_to_msys_path $BINDIR):$(dos_to_msys_path $FEISTY_MEOW_GENERATED):$PATH:/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/lib:/usr/games:/usr/bin:."
 
 if [ ! -z "$SHELL_DEBUG" ]; then echo variables initialization ends....; fi
 
 
 if [ ! -z "$SHELL_DEBUG" ]; then echo variables initialization ends....; fi
 
index 2f21f49a67e626246afc3405f0f056ccab089c33..3b1888dcc3faf34add63be4f6d0622ac7ba7f6eb 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/bash
 #!/bin/bash
-source $SHELLDIR/core/date_stringer.sh
+source $FEISTY_MEOW_SCRIPTS/core/date_stringer.sh
 
 temphost=$(hostname | sed -e 's/\([^.]*\)\..*/\1/')
 tar -czf /z/stuffing/archives/backup_dbs_${temphost}_$(date_stringer).tar.gz /home/archives/mysql_dbs/*
 
 temphost=$(hostname | sed -e 's/\([^.]*\)\..*/\1/')
 tar -czf /z/stuffing/archives/backup_dbs_${temphost}_$(date_stringer).tar.gz /home/archives/mysql_dbs/*
index b7b4b8b21ba710e1e5db38b5b464badb518574cf..9c69c9bef6aeec3ba9f1c1ae59c00bd9340d3515 100644 (file)
@@ -29,7 +29,7 @@ echo "Setting the directory back to user's ownership..."
 sudo chown -R $USER "$SPAM_HOLD" 
 sudo chgrp -R $USER "$SPAM_HOLD" 
 echo "Running checker for false-positive spams..."
 sudo chown -R $USER "$SPAM_HOLD" 
 sudo chgrp -R $USER "$SPAM_HOLD" 
 echo "Running checker for false-positive spams..."
-bash "$SHELLDIR/email/scan_spam.sh" "$SPAM_HOLD" "$EMAIL_WHITE_LIST" 2>&1 \
+bash "$FEISTY_MEOW_SCRIPTS/email/scan_spam.sh" "$SPAM_HOLD" "$EMAIL_WHITE_LIST" 2>&1 \
   | tee "$REPORT_FILE"
 
 
   | tee "$REPORT_FILE"
 
 
diff --git a/scripts/examples/custom_overrides/fred/c_variables.sh b/scripts/examples/custom_overrides/fred/c_variables.sh
deleted file mode 100644 (file)
index 2b196b8..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-
-# these are my personal overrides.  --fred.
-
-# The quartz directory has *really* personalized items.
-export QUARTZDIR=$HOME/quartz
-
-# The gruntose web site is expected to reside below, if it exists at all.
-export WEB_DIR=$HOME/web
-if [ "$(hostname)" = "zooty.koeritz.com" ]; then
-  export WEB_DIR=/var/www
-fi
-
-# point to our local certificate for ssh usage.
-export SVN_SSH="ssh -i $HOME/.ssh/id_dsa_sourceforge"
-
-# Error and success noises for CLAM.
-export CLAM_ERROR_SOUND='/z/walrus/media/sounds/effects/bwaaang.wav /z/walrus/media/sounds/cartoons/doh4.wav'
-export CLAM_FINISH_SOUND='/z/walrus/media/sounds/cartoons/meepmeep.wav'
-
-# Setup for nethack adventure.
-export NETHACKOPTIONS='name:Manjusri-W,dogname:Fred,catname:Zonker'
-
-# mail setup for home machines.
-export REPLYTO=fred@gruntose.com
-export from="Fred T. Hamster <fred@gruntose.com>"
-
-# set our browser for seti and others that use the variable.
-export BROWSER=/usr/bin/firefox
-
-# editor and other mixed settings...
-export VISUAL=$(which vim)
-
-#hmmm: move these to the uva profile,
-#      rename uva profile to java profile,
-#      get them doing the right thing per OS.
-#  export JAVA_HOME="c:/Program Files/java/jdk1.6.0_11"
-
-# special settings for win32 and svn.
-if [ "$OS" == "Windows_NT" ]; then
-  export EDITOR=$(which gvim)
-fi
-
-# this hideous mess is necessitated by our not having found the source of the
-# settings yet.  we override a few colors that look bad on a dark background.
-export LS_COLORS='no=00:fi=00:di=01;37:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;35:*.rpm=00;33:*.deb=00;33:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;35:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;35:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:'
-
-# we set this to avoid paying for slow app signing on win32.
-export NO_SIGNING=true
-
diff --git a/scripts/examples/custom_overrides/fred/fred_common.alias b/scripts/examples/custom_overrides/fred/fred_common.alias
new file mode 100644 (file)
index 0000000..94fbaf1
--- /dev/null
@@ -0,0 +1,10 @@
+
+# some aliases that i don't expect very many people to ever want.  they are
+# based on some of the mount configurations available at home or abroad.
+
+alias moo='check_mount /z/stuffing ; check_mount /z/walrus ; check_mount /z/chunky '
+alias unmoo='umount /z/stuffing ; umount /z/walrus ; umount /z/chunky '
+
+alias refred='(chown -R fred:fred /home/fred /usr/local/games /home/archives /fatty /clutterato /var/spool/mail/fred ; normal_perm /var/log )'
+
+
diff --git a/scripts/examples/custom_overrides/fred/fred_common.aliases b/scripts/examples/custom_overrides/fred/fred_common.aliases
deleted file mode 100644 (file)
index 94fbaf1..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-
-# some aliases that i don't expect very many people to ever want.  they are
-# based on some of the mount configurations available at home or abroad.
-
-alias moo='check_mount /z/stuffing ; check_mount /z/walrus ; check_mount /z/chunky '
-alias unmoo='umount /z/stuffing ; umount /z/walrus ; umount /z/chunky '
-
-alias refred='(chown -R fred:fred /home/fred /usr/local/games /home/archives /fatty /clutterato /var/spool/mail/fred ; normal_perm /var/log )'
-
-
diff --git a/scripts/examples/custom_overrides/fred/fred_variables.sh b/scripts/examples/custom_overrides/fred/fred_variables.sh
new file mode 100644 (file)
index 0000000..2b196b8
--- /dev/null
@@ -0,0 +1,49 @@
+
+# these are my personal overrides.  --fred.
+
+# The quartz directory has *really* personalized items.
+export QUARTZDIR=$HOME/quartz
+
+# The gruntose web site is expected to reside below, if it exists at all.
+export WEB_DIR=$HOME/web
+if [ "$(hostname)" = "zooty.koeritz.com" ]; then
+  export WEB_DIR=/var/www
+fi
+
+# point to our local certificate for ssh usage.
+export SVN_SSH="ssh -i $HOME/.ssh/id_dsa_sourceforge"
+
+# Error and success noises for CLAM.
+export CLAM_ERROR_SOUND='/z/walrus/media/sounds/effects/bwaaang.wav /z/walrus/media/sounds/cartoons/doh4.wav'
+export CLAM_FINISH_SOUND='/z/walrus/media/sounds/cartoons/meepmeep.wav'
+
+# Setup for nethack adventure.
+export NETHACKOPTIONS='name:Manjusri-W,dogname:Fred,catname:Zonker'
+
+# mail setup for home machines.
+export REPLYTO=fred@gruntose.com
+export from="Fred T. Hamster <fred@gruntose.com>"
+
+# set our browser for seti and others that use the variable.
+export BROWSER=/usr/bin/firefox
+
+# editor and other mixed settings...
+export VISUAL=$(which vim)
+
+#hmmm: move these to the uva profile,
+#      rename uva profile to java profile,
+#      get them doing the right thing per OS.
+#  export JAVA_HOME="c:/Program Files/java/jdk1.6.0_11"
+
+# special settings for win32 and svn.
+if [ "$OS" == "Windows_NT" ]; then
+  export EDITOR=$(which gvim)
+fi
+
+# this hideous mess is necessitated by our not having found the source of the
+# settings yet.  we override a few colors that look bad on a dark background.
+export LS_COLORS='no=00:fi=00:di=01;37:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=41;33;01:ex=00;32:*.cmd=00;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;35:*.rpm=00;33:*.deb=00;33:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;35:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;35:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.wmv=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32:'
+
+# we set this to avoid paying for slow app signing on win32.
+export NO_SIGNING=true
+
index d7ab4c646344db354934c8b5b1a7439cab0993e3..92bb30237f2b6db3705c136d92d73649765dbb32 100644 (file)
@@ -1,13 +1,10 @@
 
 
-
 this folder has some examples of how various people (or one person right now)
 do their custom scripts.
 
 this folder has some examples of how various people (or one person right now)
 do their custom scripts.
 
-the scripts often have the same name as the main script's name, but with
-a "c_" in front.  ones understood currently are:
-  c_common_aliases.txt
-  c_sh_aliases.txt
-  c_variables.sh
+the folder can have alias files (ending in .alias) that are written in bash,
+and it can also have shell scripts that are sourced into the main-line of
+script initialization (any files ending in .sh).
 
 when you have some custom scripts you want to use, copy them from your own
 folder to the scripts/custom directory.  be careful though, because they
 
 when you have some custom scripts you want to use, copy them from your own
 folder to the scripts/custom directory.  be careful though, because they
index 4fd19e6e2bf89defff2538cde88de0510878a399..761362f2ac35f7a6fa1f2e3551fee9492be92ca4 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
 #!/bin/bash
 
-source $SHELLDIR/core/date_stringer.sh
+source $FEISTY_MEOW_SCRIPTS/core/date_stringer.sh
 
 bad_file="$HOME/bad_protections.txt"
 if [ $# = 0 ]; then dirname=$HOME; export dirname;
 
 bad_file="$HOME/bad_protections.txt"
 if [ $# = 0 ]; then dirname=$HOME; export dirname;
@@ -41,7 +41,7 @@ rm $outfile
 
 echo "Searching for Files Not Owned by the User in $HOME...."
 echo "" >>$bad_file
 
 echo "Searching for Files Not Owned by the User in $HOME...."
 echo "" >>$bad_file
-bash $SHELLDIR/find_non_owned.sh $HOME >>$bad_file
+bash $FEISTY_MEOW_SCRIPTS/find_non_owned.sh $HOME >>$bad_file
 
 echo "" >>$bad_file
 echo "" >>$bad_file
 
 echo "" >>$bad_file
 echo "" >>$bad_file
index c79d99308fb59702a47b110a7324957077458d27..4d3f68deab81778fbde5c3e3c360838db7ec6a88 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/bash
 #need to support multiple names.
 for i; do
 #!/bin/bash
 #need to support multiple names.
 for i; do
-#old  find "$1" -type d -depth -print -exec perl $SHELLDIR/renlower.pl {}/* ';'
-  find "$i" -depth -exec perl $SHELLDIR/renlower.pl "{}" ';'
+#old  find "$1" -type d -depth -print -exec perl $FEISTY_MEOW_SCRIPTS/renlower.pl {}/* ';'
+  find "$i" -depth -exec perl $FEISTY_MEOW_SCRIPTS/renlower.pl "{}" ';'
 done
 
 done
 
index a972e6d298faf27327c194862197491adff081f3..3978f3fe8cbb7388d20fa312734b26e8cd208a8d 100644 (file)
@@ -43,7 +43,7 @@ pushd $whack_dir &>/dev/null
 
 for i in $(find . -depth -mindepth 1 -type d \
     -exec echo {} ';' | sed -e 's/^.\///'); do
 
 for i in $(find . -depth -mindepth 1 -type d \
     -exec echo {} ';' | sed -e 's/^.\///'); do
-  bash $SHELLDIR/whack_dupes_dir.sh $exemplar_dir/$i $i
+  bash $FEISTY_MEOW_SCRIPTS/whack_dupes_dir.sh $exemplar_dir/$i $i
 done
 
 # get back to where we started.
 done
 
 # get back to where we started.
index 629a551da4ffe7cfe5e15ccdb764aefee85a27a5..f06b08043e5bead5f2a96ba15f8d535f16ee9346 100644 (file)
@@ -4,19 +4,19 @@ PROJECT = Shells
 TARGETS += regenerate 
 OTHER_CLEANS += clean_generated 
 # override setting from clam.
 TARGETS += regenerate 
 OTHER_CLEANS += clean_generated 
 # override setting from clam.
-export SHELLDIR = $(YETI_DIR)/scripts
+export FEISTY_MEOW_SCRIPTS = $(FEISTY_MEOW_DIR)/scripts
 
 include rules.def
 
 regenerate:
        @echo regenerating aliases.
 
 include rules.def
 
 regenerate:
        @echo regenerating aliases.
-       echo "SHELLDIR = $(SHELLDIR)"
-       echo "GENERADIR = $(GENERADIR)"
-       $(CATCHER)'if [ ! -d $(GENERADIR) ]; then mkdir $(GENERADIR); fi'
-       $(CATCHER)perl $(SHELLDIR)/core/generate_aliases.pl
-       $(CATCHER)'(export LIGHTWEIGHT_INIT=true; source $(SHELLDIR)/core/profile.sh; perl $(SHELLDIR)/text/new_sig.pl)'
+       echo "FEISTY_MEOW_SCRIPTS = $(FEISTY_MEOW_SCRIPTS)"
+       echo "FEISTY_MEOW_GENERATED = $(FEISTY_MEOW_GENERATED)"
+       $(CATCHER)'if [ ! -d $(FEISTY_MEOW_GENERATED) ]; then mkdir $(FEISTY_MEOW_GENERATED); fi'
+       $(CATCHER)perl $(FEISTY_MEOW_SCRIPTS)/core/generate_aliases.pl
+       $(CATCHER)'(export LIGHTWEIGHT_INIT=true; source $(FEISTY_MEOW_SCRIPTS)/core/profile.sh; perl $(FEISTY_MEOW_SCRIPTS)/text/new_sig.pl)'
 
 clean_generated:
        @echo removing generated aliases.
 
 clean_generated:
        @echo removing generated aliases.
-       $(CATCHER)'if [ -d $(GENERADIR) ]; then \rm -rf $(GENERADIR); fi'
+       $(CATCHER)'if [ -d $(FEISTY_MEOW_GENERATED) ]; then \rm -rf $(FEISTY_MEOW_GENERATED); fi'
 
 
index 700dff51eb7ed22328c05e9773243e67f54bd91b..b2e824fc19216bb203b3a01c0330ae98498215d5 100644 (file)
@@ -25,7 +25,7 @@ if [ ! -z "$grunty" ]; then
   done
 
   # now play the file
   done
 
   # now play the file
-  bash $SHELLDIR/sound_play.sh $TO_PLAY
+  bash $FEISTY_MEOW_SCRIPTS/sound_play.sh $TO_PLAY
 
 fi
 
 
 fi
 
index de7837d48abed95093faf27cd2464fba05970363..0003ded1e20e547c1fe4e85980ba0b7426c336e6 100644 (file)
@@ -6,6 +6,6 @@ NOISE_IT_UP=$(expr $RANDOM / 91)
 #echo noise lev is $NOISE_IT_UP
 if [ $NOISE_IT_UP -gt 108 -a $NOISE_IT_UP -le 128 ]; then
   # we hit our percentage.
 #echo noise lev is $NOISE_IT_UP
 if [ $NOISE_IT_UP -gt 108 -a $NOISE_IT_UP -le 128 ]; then
   # we hit our percentage.
-  bash $SHELLDIR/play_random.sh
+  bash $FEISTY_MEOW_SCRIPTS/play_random.sh
 fi
 
 fi
 
index 36652ff2b42e2ddf5b093e3608a5178e78240de8..72054185cd0e5e8a741b021464062e234bc57761 100644 (file)
@@ -2,7 +2,7 @@
 
 # play the sound files specified.
 
 
 # play the sound files specified.
 
-source "$SHELLDIR/core/functions.sh"  # provides psfind.
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"  # provides psfind.
 
 if [ $# -lt 1 ]; then
   #echo no sound file specified.
 
 if [ $# -lt 1 ]; then
   #echo no sound file specified.
index 030e372c7b6df9d4f41e7f3d60c210901a8d8478..5c18e55b90e233c2c41b47bd7fa732b7421e21f9 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/bash
 # a simple script that backs up the opensim database assets.
 
 #!/bin/bash
 # a simple script that backs up the opensim database assets.
 
-source $SHELLDIR/core/date_stringer.sh
+source $FEISTY_MEOW_SCRIPTS/core/date_stringer.sh
 
 host=$(echo $(hostname) | sed -e 's/\([^.]*\)\..*/\1/')
 
 
 host=$(echo $(hostname) | sed -e 's/\([^.]*\)\..*/\1/')
 
index 72212f11da7ad92e8222dbf018f080d365dd5d9e..88d5652655b6eb2f5cc85e585162b7be282e5c32 100644 (file)
@@ -1,7 +1,7 @@
 #!/bin/bash
 # a simple script that backs up the opensim database assets.
 
 #!/bin/bash
 # a simple script that backs up the opensim database assets.
 
-source $SHELLDIR/core/date_stringer.sh
+source $FEISTY_MEOW_SCRIPTS/core/date_stringer.sh
 
 host=$(echo $(hostname) | sed -e 's/\([^.]*\)\..*/\1/')
 
 
 host=$(echo $(hostname) | sed -e 's/\([^.]*\)\..*/\1/')
 
index a6abe6358f296818a03746227d56cbeacc11eebd..10ee9bb3f44d465c8db25e023f8c0f8a480c342f 100644 (file)
@@ -2,7 +2,7 @@
 # this locates the main opensim process if possible.  if we cannot find it,
 # then the process is restarted.
 
 # this locates the main opensim process if possible.  if we cannot find it,
 # then the process is restarted.
 
-source $SHELLDIR/opensim/opensim_utils.sh
+source $FEISTY_MEOW_SCRIPTS/opensim/opensim_utils.sh
 
 # see if the process is findable.
 # (this approach will not work if the process actually freezes up but
 
 # see if the process is findable.
 # (this approach will not work if the process actually freezes up but
index 2ab0d9e7c97f7c09b7a012f1b7d8b6db36713352..04499bdb39db5dcaca90d582c7d74ca4184bb8cb 100644 (file)
@@ -3,7 +3,7 @@
 # utility.  then the processes can all be accessed when desired, rather than
 # needing to be started in 5 or so separate windows.
 
 # utility.  then the processes can all be accessed when desired, rather than
 # needing to be started in 5 or so separate windows.
 
-source $SHELLDIR/opensim/opensim_utils.sh
+source $FEISTY_MEOW_SCRIPTS/opensim/opensim_utils.sh
 
 # jump into the opensim binaries directory so we can run stuff.
 pushd $HOME/opensim/bin &>/dev/null
 
 # jump into the opensim binaries directory so we can run stuff.
 pushd $HOME/opensim/bin &>/dev/null
index d4c201a4032407b2e939e3e26d69d4b4614960b8..52a38b87af6ea9cbc26471c262c3372d4c5561e5 100644 (file)
@@ -3,7 +3,7 @@
 # screen utility.  note that this will only be useful for an osgrid-attached
 # sim server.
 
 # screen utility.  note that this will only be useful for an osgrid-attached
 # sim server.
 
-source $SHELLDIR/opensim/opensim_utils.sh
+source $FEISTY_MEOW_SCRIPTS/opensim/opensim_utils.sh
 
 # jump into the opensim binaries directory so we can run stuff.
 pushd $HOME/opensim/bin &>/dev/null
 
 # jump into the opensim binaries directory so we can run stuff.
 pushd $HOME/opensim/bin &>/dev/null
index 11a3398031696bbccc1fdc03f30775f326332c06..7bdad6f3a8c050097f16bcd35fb4c567bc515470 100644 (file)
@@ -2,7 +2,7 @@
 # this script stops a 0.6.9 era opensimulator system that was started by
 # the run_opensim or run_osgrid script.  this will work for either case.
 
 # this script stops a 0.6.9 era opensimulator system that was started by
 # the run_opensim or run_osgrid script.  this will work for either case.
 
-source $SHELLDIR/opensim/opensim_utils.sh
+source $FEISTY_MEOW_SCRIPTS/opensim/opensim_utils.sh
 
 # the brains for the script is the screen and process names we need to control.
 close_application opensim OpenSim.exe
 
 # the brains for the script is the screen and process names we need to control.
 close_application opensim OpenSim.exe
index e15ac755c1f73ca5a6090f4356837183d38075f0..8a3cf900b6e575c62badcab7715ff013b1f01216 100644 (file)
@@ -2,7 +2,7 @@
 # this script stops a 0.6.9 era opensimulator system that was started by
 # the run_opensim or run_osgrid script.  this will work for either case.
 
 # this script stops a 0.6.9 era opensimulator system that was started by
 # the run_opensim or run_osgrid script.  this will work for either case.
 
-source $SHELLDIR/opensim/opensim_utils.sh
+source $FEISTY_MEOW_SCRIPTS/opensim/opensim_utils.sh
 
 # the brains for the script is the screen and process names we need to control.
 close_application opensim OpenSim.exe
 
 # the brains for the script is the screen and process names we need to control.
 close_application opensim OpenSim.exe
index 52deaec8ee3db87db1ec64d54f8905c6c011f77d..a9fb3815b7ce52e97baaf9a611ad49d9db93ba0c 100644 (file)
@@ -4,7 +4,7 @@ if [ -z "$1" ]; then
   exit 2
 fi
 
   exit 2
 fi
 
-source "$SHELLDIR/functions.sh"  # provides psfind.
+source "$FEISTY_MEOW_SCRIPTS/functions.sh"  # provides psfind.
 
 PIDLIST=$(psfind $1)
 #echo "PIDS are $PIDLIST"
 
 PIDLIST=$(psfind $1)
 #echo "PIDS are $PIDLIST"
index 23532985e5046ae4615ad33fad4580be4608383a..4a747e76e399e4f2fb24ddd32d88f414038c1f12 100644 (file)
@@ -3,7 +3,7 @@
 # checks in all our commonly used folders.
 # note: fred specific.
 
 # checks in all our commonly used folders.
 # note: fred specific.
 
-source "$SHELLDIR/rev_control/rev_control.sh"
+source "$FEISTY_MEOW_SCRIPTS/rev_control/rev_control.sh"
 
 # selects the method for check-in based on where we are.
 function do_checkin()
 
 # selects the method for check-in based on where we are.
 function do_checkin()
index bd1edc4a8496564340a9021cb5cb0c9160f27cc4..da38c6294befda8fb44bbc0f2072296a3c9cdbc6 100644 (file)
@@ -2,7 +2,7 @@
 
 # gets all of fred's revision control folders out.
 
 
 # gets all of fred's revision control folders out.
 
-source "$SHELLDIR/rev_control/rev_control.sh"
+source "$FEISTY_MEOW_SCRIPTS/rev_control/rev_control.sh"
 
 if [ "$(pwd)" != "$TMP" ]; then
 #  echo "Moving to the TMP directory to avoid file access conflicts..."
 
 if [ "$(pwd)" != "$TMP" ]; then
 #  echo "Moving to the TMP directory to avoid file access conflicts..."
@@ -65,8 +65,8 @@ fi
 less $TMPO_CHK
 
 # we now regenerate the scripts after getme, to ensure it's done automatically.
 less $TMPO_CHK
 
 # we now regenerate the scripts after getme, to ensure it's done automatically.
-bash "$SHELLDIR/core/bootstrap_shells.sh"
-perl "$SHELLDIR/core/generate_aliases.pl"
+bash "$FEISTY_MEOW_SCRIPTS/core/bootstrap_shells.sh"
+perl "$FEISTY_MEOW_SCRIPTS/core/generate_aliases.pl"
 echo
 nechung
 
 echo
 nechung
 
index f58262da052bd5b47a39764c84abb987fee90ee3..cd263b90aa9d1f46a07c5a562503b6917a636ca6 100644 (file)
@@ -1,4 +1,4 @@
 #!/bin/bash
 #!/bin/bash
-perl $SHELLDIR/schedule/generate_reminders.pl
-echo '(export LIBDIR=$LIBDIR; bash $SHELLDIR/schedule/start_calendar.sh) &>/dev/null' | at 4:20am
+perl $FEISTY_MEOW_SCRIPTS/schedule/generate_reminders.pl
+echo '(export LIBDIR=$LIBDIR; bash $FEISTY_MEOW_SCRIPTS/schedule/start_calendar.sh) &>/dev/null' | at 4:20am
 
 
index 242a6432aecc12834624f50bf013f03220889e87..b1250b530aea8746e207effd92095adb19d281cc 100644 (file)
@@ -9,7 +9,7 @@
 
 #source $HOME/yeti/scripts/profile.sh
 
 
 #source $HOME/yeti/scripts/profile.sh
 
-soundfile=$YETI_DIR/database/sounds/woouoo.wav
+soundfile=$FEISTY_MEOW_DIR/database/sounds/woouoo.wav
 if [ ! -z "$1" ]; then
   soundfile=$1
 fi
 if [ ! -z "$1" ]; then
   soundfile=$1
 fi
@@ -17,7 +17,7 @@ fi
 while true; do
   echo Connecting sendmail and proxy servers via zooty.
   ssh -i $HOME/.ssh/id_dsa_fred -2 -N -v -L 14008:localhost:25 fred@zooty.koeritz.com
 while true; do
   echo Connecting sendmail and proxy servers via zooty.
   ssh -i $HOME/.ssh/id_dsa_fred -2 -N -v -L 14008:localhost:25 fred@zooty.koeritz.com
-  bash $SHELLDIR/multimedia/sound_play.sh $soundfile
+  bash $FEISTY_MEOW_SCRIPTS/multimedia/sound_play.sh $soundfile
 #hmmm: parameterize this for the sound to be played.  doofus.
   echo "Got dumped from tunnels; re-establishing connection."
   echo "Note: if you're being asked for a password, you haven't set up an RSA key yet."
 #hmmm: parameterize this for the sound to be played.  doofus.
   echo "Got dumped from tunnels; re-establishing connection."
   echo "Note: if you're being asked for a password, you haven't set up an RSA key yet."
index 73b7b22b144a96c442910dd519222750af2b5f2d..28107a249a54deb4d1c19a9d69a3a173cd9b8791 100644 (file)
@@ -12,7 +12,7 @@ tempdir=/tmp  # where we generate our files.
 
 source $HOME/yeti/scripts/core/profile.sh
 
 
 source $HOME/yeti/scripts/core/profile.sh
 
-soundfile=$YETI_DIR/database/sounds/woouoo.wav
+soundfile=$FEISTY_MEOW_DIR/database/sounds/woouoo.wav
 if [ ! -z "$1" ]; then
   soundfile=$1
 fi
 if [ ! -z "$1" ]; then
   soundfile=$1
 fi
index 91034b43f61c227aa04a78e5df4d9d67b94776e4..a83aa871b72f53802a6b703aefa17af78f2cc19a 100644 (file)
@@ -3,7 +3,7 @@
 # keeps trying to mount the cd on a mac mini to overcome
 # a new bug in itunes seen as of osx leopard upgrade.
 
 # keeps trying to mount the cd on a mac mini to overcome
 # a new bug in itunes seen as of osx leopard upgrade.
 
-source $SHELLDIR/core/date_stringer.sh
+source $FEISTY_MEOW_SCRIPTS/core/date_stringer.sh
 
 mountpoint=/Volumes/mounty_cd
 
 
 mountpoint=/Volumes/mounty_cd
 
index ab212c11ede1cebad17256dc7c215826fc4e3fc5..aea57995790a68498f3b8f8419dba67f3a39a609 100644 (file)
@@ -52,7 +52,7 @@ done <"$tempfile"
 rm "$tempfile"
 
 # clean out any directories that we managed to move everything out of.
 rm "$tempfile"
 
 # clean out any directories that we managed to move everything out of.
-perl "$SHELLDIR/files/zapdirs.pl" $source
+perl "$FEISTY_MEOW_SCRIPTS/files/zapdirs.pl" $source
 
 popd &>/dev/null
 
 
 popd &>/dev/null
 
index ee6f5cf07ba478ef0d419a8f97aaf28642733b8e..13c6571542c75cd88eecf7bdf6d7163429d3ae33 100644 (file)
@@ -6,4 +6,4 @@
 # kind of snafu with the ksh environment variable $$ where it would always
 # record the previous shell's number and not the current one or something....
 #
 # kind of snafu with the ksh environment variable $$ where it would always
 # record the previous shell's number and not the current one or something....
 #
-(bash $SHELLDIR/keep_awake_process.sh) &
+(bash $FEISTY_MEOW_SCRIPTS/keep_awake_process.sh) &
index 93041d8162a7b81836ea53d5749b91dfe0e931e8..9303fcb556d87d9403f0ac1be4e63fb31f214aa9 100644 (file)
@@ -2,7 +2,7 @@
 # This program is meant to be started by the program keep_awake and has
 # the basic guts that are meant to execute inside of a semi-perpetual loop.
 
 # This program is meant to be started by the program keep_awake and has
 # the basic guts that are meant to execute inside of a semi-perpetual loop.
 
-source $SHELLDIR/core/date_stringer.sh
+source $FEISTY_MEOW_SCRIPTS/core/date_stringer.sh
 
 # save the process id for the bye bye program to deal with.
 #echo $$ >>$TMP/trash.last_keep_awake_process
 
 # save the process id for the bye bye program to deal with.
 #echo $$ >>$TMP/trash.last_keep_awake_process
index 6997079628c0141f3c947fbbfead192f79eb1e17..9918c9f025ac691fa8cbc97a0f8546910363c2c0 100644 (file)
@@ -14,4 +14,4 @@ fi
 
 new_title="-- $user@$pruned_host -- [$date_string]"
 
 
 new_title="-- $user@$pruned_host -- [$date_string]"
 
-bash "$SHELLDIR/tty/set_term_title.sh" "$new_title"
+bash "$FEISTY_MEOW_SCRIPTS/tty/set_term_title.sh" "$new_title"
index 201ce44f96a322ff583bebd1a2560b9bccf6248d..e31357dbcace55c40ee6699c64573aa8db358547 100644 (file)
@@ -2,7 +2,7 @@
 
 # Thanks to Kevin Wika for this shell.
 
 
 # Thanks to Kevin Wika for this shell.
 
-source $SHELLDIR/core/date_stringer.sh
+source $FEISTY_MEOW_SCRIPTS/core/date_stringer.sh
 
 trap '' HUP
 trap '' INT
 
 trap '' HUP
 trap '' INT
index 896afa4d2bf5e30c60ca869059a127cfa8a6d793..89bc923aa4565de2b31b9d111c821027f4e285cc 100644 (file)
@@ -7,6 +7,6 @@
 \ssh -i $HOME/.ssh/id_dsa_fred -X $*
 
 # re-run our terminal labeller.
 \ssh -i $HOME/.ssh/id_dsa_fred -X $*
 
 # re-run our terminal labeller.
-bash $SHELLDIR/tty/label_terminal_with_infos.sh
+bash $FEISTY_MEOW_SCRIPTS/tty/label_terminal_with_infos.sh
 
 
 
 
index 76f14eed52b9017ef35d3ce6ee7e0d6a87d0f160..95487b13728c3563ea4f69475bc0d3e8b88b371e 100644 (file)
@@ -3,4 +3,4 @@
 snuser=$USER
 if [ -z "$snuser" ]; then snuser=$USERNAME; fi
 # more checks?  what else would we get it from, REPLYTO?
 snuser=$USER
 if [ -z "$snuser" ]; then snuser=$USERNAME; fi
 # more checks?  what else would we get it from, REPLYTO?
-bash "$SHELLDIR/users/find_user.sh" $snuser
+bash "$FEISTY_MEOW_SCRIPTS/users/find_user.sh" $snuser