minor formatting tweak
[feisty_meow.git] / scripts / core / functions.sh
index ff9fec400ecd37a31028677dca5ee32087c591a5..32fb378237063265ae69a7ad16b29092d5110356 100644 (file)
@@ -932,7 +932,23 @@ return 0
 
   ##############
 
-  # site avenger aliases
+  # tty relevant functions...
+
+  # keep_awake: sends a message to the screen from the background.
+  function keep_awake()
+  {
+    # blank line to get off previous command line before job prints.
+    echo
+    # just starts the keep_awake process in the background.
+    bash $FEISTY_MEOW_SCRIPTS/tty/keep_awake_process.sh &
+      # this should leave the job running as %1 or a higher number if there
+      # are pre-existing background jobs.
+  }
+
+  ##############
+
+  # site avenger functions...
+
   function switchto()
   {
     THISDIR="$FEISTY_MEOW_SCRIPTS/site_avenger"