Index: trunk/Ohana/src/opihi/pclient/pclient.c
===================================================================
--- trunk/Ohana/src/opihi/pclient/pclient.c	(revision 3211)
+++ trunk/Ohana/src/opihi/pclient/pclient.c	(revision 4689)
@@ -7,22 +7,7 @@
 # define opihi_rcfile ".pcontrolrc"
 
-void InitPclient ();
-void InitBasic ();
-
-void welcome () {
-  fprintf (stderr, "\n");
-  fprintf (stderr, "Welcome to %s - %s\n\n", opihi_name, opihi_description);
-}
-
-void gotsignal (int signum) {
-  fprintf (stderr, "got signal : %d\n", signum);
-  return;
-}
-
 /* program-dependent initialization */
 void initialize (int argc, char **argv) {
   
-  FILE *f;
-
   auto_break = TRUE;
 
@@ -44,4 +29,5 @@
   /* load the commands used by this implementation */
   InitBasic ();
+  InitData ();
   InitOutfile ();
   InitPclient ();
@@ -55,4 +41,7 @@
   set_str_variable ("PROMPT", opihi_prompt);
   set_str_variable ("RCFILE", opihi_rcfile);
+# ifdef HELPDIR_DEFAULT
+  set_str_variable ("HELPDIR", MACRO_NAME(HELPDIR_DEFAULT));
+# endif
 
   /* ignore the history file.  to change this, see, eg, mana.c */
@@ -64,6 +53,18 @@
 }
 
+/* standard welcome message */
+void welcome () {
+  fprintf (stderr, "\n");
+  fprintf (stderr, "Welcome to %s - %s\n\n", opihi_name, opihi_description);
+}
+
 /* add program-dependent exit functions here */
 void cleanup () {
   return;
 }
+
+void gotsignal (int signum) {
+  fprintf (stderr, "got signal : %d\n", signum);
+  return;
+}
+
