PATCH: amaya 0.8c

	Hi.  I have a small patch to Amaya 0.8c.  This patch was
integrated in 0.8c after I mailed in a patch to 0.8, but it is placed
too far into the script.  Since xset is an X application, it fails
since DISPLAY is not set properly when the -display is used.  The
patch I am including moves the code before the xset call and thus
allows the amaya script to function properly.

			yours,
				Larry Schwimmer
				schwim@cyclone.stanford.edu
				Distributed Computing Operations

--- amaya.orig	Tue Sep  3 01:24:17 1996
+++ amaya	Sat Nov  9 04:41:38 1996
@@ -25,6 +25,15 @@
  
 # --------------------------------
 
+# Add support for -display hostname
+if [ $# -gt 1 -a x"$1" = x-display ]; then
+    DISPLAY="$2"
+    shift 2
+    export DISPLAY
+fi
+
+# --------------------------------
+
 BIN=${THOTDIR}/bin
 Machine=`${BIN}/MachineType`;			export Machine
 THOTFONTTMP=`xset q | grep thot`
@@ -44,13 +53,6 @@
 fi
 DICOPAR=${THOTDIR}/dicopar;			export DICOPAR
 #THOTCONFIG=Debug;				export THOTCONFIG
-
-# Add support for -display hostname
-if [ $# -gt 1 -a x"$1" = x-display ]; then
-    DISPLAY="$2"
-    shift 2
-    export DISPLAY
-fi
 
 if [ "$1" = "" ]
 then

Received on Saturday, 9 November 1996 13:48:09 UTC