auto_status_file to use set_term_options

Also changed tee default to 1.

Change-Id: I6a00f1b7b4467029c787de492835448f57509710
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/bin/auto_status_file.py b/bin/auto_status_file.py
index 774903a..1a372f7 100755
--- a/bin/auto_status_file.py
+++ b/bin/auto_status_file.py
@@ -63,7 +63,7 @@
 
 parser.add_argument(
     '--tee',
-    default=0,
+    default=1,
     type=int,
     choices=[1, 0],
     help="Indicates that \"tee\" rather than \"script\" should be used.")
@@ -190,6 +190,8 @@
 
     gen_setup()
 
+    set_term_options(term_requests={'pgm_names': [command_string.split(" ")[0]]})
+
     global ret_code_str
     ret_code_str = re.sub("\\.py$", "", pgm_name) + "_ret_code"