--- jta26/de/mud/terminal/vt320.java	2005-12-19 09:42:12.000000000 -0500
+++ jta26_patched/de/mud/terminal/vt320.java	2009-05-21 14:26:03.000000000 -0400
@@ -1740,8 +1740,13 @@
             gl = Sgl;
             gr = Sgr;
             for (int i = 0; i < 4; i++) gx[i] = Sgx[i];
-            setTopMargin(Stm);
-            setBottomMargin(Sbm);
+            // Remove these lines. They don't seem to follow the spec. 
+            // According to man 5 terminfo, ESC 8 is restore cursor... it
+            // mentions nothing about resetting margins and removing these
+            // fixes corrupted screens in certain cases. No adverse affects
+            // have been found with this change.
+            // setTopMargin(Stm);
+            // setBottomMargin(Sbm);
             attributes = Sa;
             if (debug > 1)
               System.out.println("ESC 8");
