Index: trunk/Ohana/src/opihi/pcontrol/pcontrol.c
===================================================================
--- trunk/Ohana/src/opihi/pcontrol/pcontrol.c	(revision 8424)
+++ trunk/Ohana/src/opihi/pcontrol/pcontrol.c	(revision 8546)
@@ -25,7 +25,13 @@
   InitHostStacks ();
 
+  /* set global signal masks (these apply to all threads launched below) */
+  signal (SIGPIPE, gotsignal);
+  signal (SIGTSTP, gotsignal);
+  signal (SIGTTIN, gotsignal);
+
   rl_readline_name = opihi_name;
   rl_attempted_completion_function = command_completer;
 # ifdef THREADED
+  SetRunSystem (TRUE);
   pthread_create (&clientsThread, NULL, &CheckSystem_Threaded, NULL);
   rl_event_hook = NULL;
@@ -45,7 +51,4 @@
 
   /* ignore the history file.  to change this, see, eg, mana.c */
-  signal (SIGPIPE, gotsignal);
-  signal (SIGTSTP, gotsignal);
-  signal (SIGTTIN, gotsignal);
   return;
 }
