 +    key_t key;
 +    int shmid;
 +
-+    /* allow for header, text, attributes, and trailer
++    /* allow for the header, text, attributes, and auxiliary data
 +     * (assuming no screen will be bigger than 132x66)
 +     */
 +    size_t size = 18000; /*  */

+        }
+#endif /* COLOR */
+
+      *d++ = p->w_number;                       /* window number */
+    }
+  else
+    {

 	timeoutev = calctimo();
       if (timeoutev)
--- window.c.orig	2003-12-05 08:45:41.000000000 -0500
+++ window.c	2006-07-25 10:36:10.000000000 -0400
@@ -1993,6 +1993,113 @@
     }
 }
 
