Index: /branches/BNC_2.12/src/bncmain.cpp
===================================================================
--- /branches/BNC_2.12/src/bncmain.cpp	(revision 9156)
+++ /branches/BNC_2.12/src/bncmain.cpp	(revision 9157)
@@ -57,5 +57,5 @@
 using namespace std;
 
-void catch_signal(int) {
+void catch_SIGINT(int) {
   cout << "Program Interrupted by Ctrl-C" << endl;
   BNC_CORE->sigintReceived = 1;
@@ -63,4 +63,8 @@
   BNC_CORE->stopPPP();
   qApp->quit();
+}
+
+void catch_SIGPIPE(int signum) {
+  cout << "Caught signal SIGPIPE " << signum << endl;
 }
 
@@ -395,5 +399,5 @@
   bncGetThread*       getThread = 0;
 
-  signal(SIGPIPE, SIG_IGN);
+  signal(SIGPIPE, catch_SIGPIPE);
 
   // Interactive Mode - open the main window
@@ -455,5 +459,5 @@
   else {
 
-    signal(SIGINT, catch_signal);
+    signal(SIGINT, catch_SIGINT);
 
     casterEph = new bncEphUploadCaster(); (void) casterEph;
