Index: trunk/Ohana/src/kii/event/CheckPipe.c
===================================================================
--- trunk/Ohana/src/kii/event/CheckPipe.c	(revision 2888)
+++ trunk/Ohana/src/kii/event/CheckPipe.c	(revision 2906)
@@ -7,11 +7,11 @@
 int CheckPipe (Graphic *graphic, Layout *layout) {
 
-  int status;
+  int status, c;
   char buffer[20];
 
+  /* attempt to read 4 bytes from stdin */
   bzero (buffer, 20);
-
-  /* attempt to read 4 bytes from stdin */
   status = read (layout[0].Ximage, buffer, 4);
+  buffer[4] = 0;
 
   switch (status) {
@@ -42,8 +42,9 @@
       return (2);
     }
-    fprintf (stderr, "unknown signal %s\n", buffer);
+    fprintf (stderr, "unknown signal (AC) %s\n", buffer);
     return (TRUE);
   }
 
+  /* If Active Cursor mode is off, we can receive other signal */
   if (!strcmp (buffer, "QUIT")) {
     if (DEBUG) fprintf (stderr, "Goodbye!\n");
