Index: trunk/BNS/bns.cpp
===================================================================
--- trunk/BNS/bns.cpp	(revision 922)
+++ trunk/BNS/bns.cpp	(revision 923)
@@ -365,5 +365,5 @@
           }
           if (sd) {
-            processSatellite(ep, GPSweek, GPSweeks, prn, xx, sd);
+            processSatellite(oldEph, ep, GPSweek, GPSweeks, prn, xx, sd);
           }
         }
@@ -385,5 +385,5 @@
 // 
 ////////////////////////////////////////////////////////////////////////////
-void t_bns::processSatellite(t_eph* ep, int GPSweek, double GPSweeks, 
+void t_bns::processSatellite(int oldEph, t_eph* ep, int GPSweek, double GPSweeks, 
                              const QString& prn, const ColumnVector& xx, 
                              struct ClockOrbit::SatData* sd) {
@@ -411,15 +411,18 @@
   if (_outStream) {
     QString line;
-    line.sprintf("%d %.1f %s   %3d   %8.3f   %8.3f %8.3f %8.3f\n", 
-                 GPSweek, GPSweeks, ep->prn().toAscii().data(),
+    char oldCh = (oldEph ? '!' : ' ');
+    line.sprintf("%c %d %.1f %s  %3d  %10.3f  %8.3f %8.3f %8.3f\n", 
+                 oldCh, GPSweek, GPSweeks, ep->prn().toAscii().data(),
                  ep->IOD(), dClk, rsw(1), rsw(2), rsw(3));
     *_outStream << line;
     _outStream->flush();
   }
-  if (_rnx) {
-    _rnx->write(GPSweek, GPSweeks, prn, xx);
-  }
-  if (_sp3) {
-    _sp3->write(GPSweek, GPSweeks, prn, xx);
+  if (!oldEph) {
+    if (_rnx) {
+      _rnx->write(GPSweek, GPSweeks, prn, xx);
+    }
+    if (_sp3) {
+      _sp3->write(GPSweek, GPSweeks, prn, xx);
+    }
   }
 }
Index: trunk/BNS/bns.h
===================================================================
--- trunk/BNS/bns.h	(revision 922)
+++ trunk/BNS/bns.h	(revision 923)
@@ -55,5 +55,5 @@
   void openCaster();
   void readEpoch();
-  void processSatellite(t_eph* ep, int GPSweek, double GPSweeks, 
+  void processSatellite(int oldEph, t_eph* ep, int GPSweek, double GPSweeks, 
                         const QString& prn, const ColumnVector& xx, 
                         struct ClockOrbit::SatData* sd);
