Index: trunk/Ohana/src/tools/src/ftable.c
===================================================================
--- trunk/Ohana/src/tools/src/ftable.c	(revision 39532)
+++ trunk/Ohana/src/tools/src/ftable.c	(revision 39533)
@@ -289,5 +289,5 @@
   }
 
-  fprintf (stdout, "%-30s %-15s NAXIS NAXIS(i)...\n", "extname", "datatype"); 
+  fprintf (stdout, "%-30s  %-15s NAXIS NAXIS(i)...\n", "extname", "datatype"); 
 
   Ncomp = 0;
@@ -304,4 +304,6 @@
     fprintf (stdout, "%-30s ", extname);
 
+    int IsCompressed = gfits_extension_is_compressed_table (&header);
+
     /* extract the datatype for this component (IMAGE for 0th component) */
     if (Ncomp == 0) {
@@ -313,5 +315,9 @@
       }
     }
-    fprintf (stdout, "%-15s ", exttype);
+    if (IsCompressed) {
+      fprintf (stdout, "*%-15s ", exttype);
+    } else {
+      fprintf (stdout, " %-15s ", exttype);
+    }
 
     /* extract the rank of the component */
@@ -326,5 +332,9 @@
     /* extract the individual axes */
     for (i = 0; i < Naxis; i++) {
-      sprintf (axisname, "NAXIS%d", i+1);
+      if (IsCompressed) {
+	sprintf (axisname, "ZNAXIS%d", i+1);
+      } else {
+	sprintf (axisname, "NAXIS%d", i+1);
+      }
       status = gfits_scan (&header, axisname,  OFF_T_FMT, 1,  &Nelem);
       if (!status) {
