Index: trunk/BNC/bncapp.cpp
===================================================================
--- trunk/BNC/bncapp.cpp	(revision 519)
+++ trunk/BNC/bncapp.cpp	(revision 520)
@@ -210,12 +210,22 @@
                    ep->clock_drift, ep->clock_driftrate);
     }
+    *_ephStream << line << endl;
+
     line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n", (double)ep->IODE,
-    ep->Crs, ep->Delta_n, ep->M0);
+                 ep->Crs, ep->Delta_n, ep->M0);
+    *_ephStream << line << endl;
+    
     line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n", ep->Cuc,
-    ep->e, ep->Cus, ep->sqrt_A);
+                 ep->e, ep->Cus, ep->sqrt_A);
+    *_ephStream << line << endl;
+
     line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n",
-    (double) ep->TOE, ep->Cic, ep->OMEGA0, ep->Cis);
+                 (double) ep->TOE, ep->Cic, ep->OMEGA0, ep->Cis);
+    *_ephStream << line << endl;
+    
     line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n", ep->i0,
-    ep->Crc, ep->omega, ep->OMEGADOT);
+                 ep->Crc, ep->omega, ep->OMEGADOT);
+    *_ephStream << line << endl;
+
     double dd = 0;
     unsigned long ii = ep->flags;
@@ -225,5 +235,7 @@
       dd += 1.0;
     line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n", ep->IDOT, dd,
-    (double) ep->GPSweek, ii & GPSEPHF_L2PCODEDATA ? 1.0 : 0.0);
+                 (double) ep->GPSweek, ii & GPSEPHF_L2PCODEDATA ? 1.0 : 0.0);
+    *_ephStream << line << endl;
+
     if(ep->URAindex <= 6) /* URA index */
       dd = ceil(10.0*pow(2.0, 1.0+((double)ep->URAindex)/2.0))/10.0;
@@ -233,7 +245,9 @@
        case, so we create a high "non"-accuracy value. */
     line.sprintf("   %19.12e%19.12e%19.12e%19.12e\n", dd,
-    ((double) ep->SVhealth), ep->TGD, ((double) ep->IODC));
+                 ((double) ep->SVhealth), ep->TGD, ((double) ep->IODC));
+    *_ephStream << line << endl;
 
     line.sprintf("   %19.12e%19.12e\n", ((double)ep->TOW), 0.0);
+    *_ephStream << line << endl;
 
     _ephStream->flush();
