Switch out Eterm for pterm.
[profile] / xinitrc
diff --git a/xinitrc b/xinitrc
index 4e52f4b..e2674c6 100755 (executable)
--- a/xinitrc
+++ b/xinitrc
@@ -44,10 +44,10 @@ emacs="noip emacs"
 
 # --- Xterm window measurements ---
 #
-# Window width is 504 (fixed).
+# Window width is 503 (fixed).
 # Vertical line pixel height = 13; misc overhead = 23
 
-xterm="Eterm" xgeom=-geometry
+xterm="pterm" xgeom=geometry
 
 # --- GNOME stuff measurements ---
 #
@@ -64,7 +64,7 @@ declare -i xbound="XWIDTH - 113"
 # and the toolbar, so we add on some rows which are later mysteriously
 # subtracted.
 
-declare -i ecols="(xbound - 504 - 34)/492"
+declare -i ecols="(xbound - 503 - 34)/492"
 if (( ecols < 2 && xbound > 492 * 2 + 34 )); then
   ecols=2
 elif (( ecols < 1 )); then
@@ -87,7 +87,7 @@ $emacs -geometry $((ecols * 82 - 2))x$(((XHEIGHT - 52)/13))+0+0&
 declare -i n=0 pgx=0 l h y ht
 declare -i hstd="35 * 13 + 23" hmin="25 * 13 + 23"
 while true; do
-  if ((x + 504 > xbound)); then
+  if ((x + 503 > xbound)); then
     if ((n >= 3)); then break; fi
     x="pgx + XWIDTH" pgx="pgx + XWIDTH" xbound="xbound + XWIDTH"
   fi
@@ -104,7 +104,7 @@ while true; do
     $xterm -$xgeom 80x25+$x+$y&
     n="n + 1"
   fi
-  x="x + 504"
+  x="x + 503"
 done
 
 # --- Wait for the world to end ---