Index: trunk/BNC/bncgetthread.cpp
===================================================================
--- trunk/BNC/bncgetthread.cpp	(revision 2053)
+++ trunk/BNC/bncgetthread.cpp	(revision 2054)
@@ -292,4 +292,6 @@
     connect(((bncApp*)qApp), SIGNAL(newCorrections(QList<QString>)),
 	    _PPPclient, SLOT(slotNewCorrections(QList<QString>)));
+    connect(_PPPclient, SIGNAL(newMessage(QByteArray,bool)), 
+            ((bncApp*)qApp), SLOT(slotMessage(const QByteArray,bool)));
   }
 
Index: trunk/BNC/bncpppclient.cpp
===================================================================
--- trunk/BNC/bncpppclient.cpp	(revision 2053)
+++ trunk/BNC/bncpppclient.cpp	(revision 2054)
@@ -41,4 +41,5 @@
 #include <iomanip>
 #include <newmatio.h>
+#include <sstream>
 
 #include "bncpppclient.h"
@@ -328,12 +329,13 @@
   bancroft(BB, pos);
 
-  cout.setf(ios::fixed);
-
-  cout << _epoData->tt.timestr(1) << " " << _epoData->size() << " " 
-       << setw(14) << setprecision(3) << pos(1)              << "  "
-       << setw(14) << setprecision(3) << pos(2)              << "  "
-       << setw(14) << setprecision(3) << pos(3)              << endl;
-
-  cout.flush();
-}
-
+  ostringstream str;
+  str.setf(ios::fixed);
+  str << "PPP "
+      << _epoData->tt.timestr(1) << " " << _epoData->size() << " " 
+      << setw(14) << setprecision(3) << pos(1)              << "  "
+      << setw(14) << setprecision(3) << pos(2)              << "  "
+      << setw(14) << setprecision(3) << pos(3)              << endl;
+
+  emit newMessage(QString(str.str().c_str()).toAscii(), true);
+}
+
